hyatt%netscape.com
6ce653cd9d
Fix for 83642. r=jag, sr=blake, a=tor
...
git-svn-id: svn://10.0.0.236/trunk@96393 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 01:08:31 +00:00
dbaron%fas.harvard.edu
d1140fa5b3
Miscellaneous performance fixes related to selector matching:
...
* cut in half the number of (expensive, universally hashed) selectors needed for many UA-stylesheet :link and :visited rules by implementing :-moz-any-link (bug 83484)
* remove most of EnumerateTagRules since most of it does no useful work (bug 83506)
* avoid refcounting of atoms for stack-based hash keys (bug 83511)
* add logging (turned off, except for me) to evaluate effectiveness of RuleHash
* add a namespace hash, which will be a big win once bug 35847 is fixed (bug 83497)
* avoid repeated reallocation of mEnumList by setting the initial length to a minimum of 8
* remove an unneeded variable in the beginning of SelectorMatches
* fix one case in CSS error reporting (bug 65469), not part of default build
b=83482 r=attinasi@netscape.com sr=waterson@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@96389 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 01:00:11 +00:00
hyatt%netscape.com
e43fd22c5a
Fixes for 83027, 83892, and 80512. r/sr=blake,alecf,pink, sr=hewitt,blake, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@96347 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:23:35 +00:00
hyatt%netscape.com
fda213e89d
Fixes for 80512 and 83707. r=blake, sr=waterson, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@96284 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 00:22:43 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
waterson%netscape.com
b73ee26ce0
Bug 58674. If |ContentAppended()| ends up appending frames to the anonymous block frame, we don't need to |ReframeContainingBlock()|. r=karnaze, sr=attinasi, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@96107 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 04:28:50 +00:00
waterson%netscape.com
e57ce0d980
Remove vestigial cruft.
...
git-svn-id: svn://10.0.0.236/trunk@96106 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 04:23:22 +00:00
waterson%netscape.com
54b88739a0
Bug 58674. Add regression tests. Not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@96105 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 03:23:37 +00:00
waterson%netscape.com
9d3b95e313
Add regression test for bug 82221. Not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@96088 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 00:15:42 +00:00
rods%netscape.com
28bdc74953
makes sure the views for the pages that are not being printed are completely hidden
...
Bug 83138 r=kmclusk sr=attinasi a=dbaron
git-svn-id: svn://10.0.0.236/trunk@96069 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 21:19:46 +00:00
waterson%netscape.com
edbc021037
Bug 81905. Process 'timeout' reflows before calling |DoneRemovingReflowCommands()|. r=karnaze, sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@96066 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 19:28:37 +00:00
pollmann%netscape.com
161f586d22
Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
...
git-svn-id: svn://10.0.0.236/trunk@96057 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 11:26:21 +00:00
attinasi%netscape.com
224a80eebc
Fixed crash when mouse move event is handled by image frame and the baseURI is null (after traversing to the link'd document). b=81728 r=pavlov@netscape.com sr=hyatt2netscape.com a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@95951 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-26 05:46:33 +00:00
mjudge%netscape.com
585cb11267
80937, null check for out of bounds on arrowing. r=cmanske sr=kin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@95925 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 20:27:41 +00:00
roc+%cs.cmu.edu
4404d25a96
Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@95913 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 15:00:51 +00:00
kin%netscape.com
63f8e85d79
Fix for bug #82566 (hang in nsTextFrame::GetPosition in BIDI code)
...
Fix for bug #81078 (UMR: nsTextFrame::GetPosition() when selecting text.)
Subtract mContentOffset from the index returned by the ip[] array, and
make sure this index is <= textLength.
r=mjudge sr=sfraser a=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@95907 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 13:20:38 +00:00
waterson%netscape.com
7d7d743d99
Bug 73291. Handle case where paint arrives before reflow for modified content. r=karnaze, sr=attinasi, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@95877 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-24 18:40:45 +00:00
ftang%netscape.com
3b651f68c9
fix 81957. return error code when error happen when we do not get a good frame result to stop a selection crash
...
in a page which have bidi/table/image
proposed by yokoyama r=ftang/mjudge/attinasi sr=kin a=blizzard
git-svn-id: svn://10.0.0.236/trunk@95849 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-24 01:10:19 +00:00
mkaply%us.ibm.com
6db7288d9c
#81078
...
r=simon@softel.co.il , sr=sfraser, a=blizzard
Fix UMR and bounds checking
git-svn-id: svn://10.0.0.236/trunk@95832 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 22:05:30 +00:00
pavlov%netscape.com
926828ec42
changing baseURI to an nsCOMPtr r=jst
...
git-svn-id: svn://10.0.0.236/trunk@95822 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 07:00:37 +00:00
waterson%netscape.com
212b96a815
Bug 79508. If the computed style change is going to cause a reflow (or worse), then don't touch any continuing frames. This keeps us from queuing an incremental reflow to a continuation, but is not ideal (e.g., there may be cases where we don't properly recompute the style contexts for continuations). r=rbs, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@95817 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 06:39:34 +00:00
waterson%netscape.com
849a5e592b
Add regression tests for bugs 4831, 59200, and 69960. Not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@95753 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 00:33:07 +00:00
rods%netscape.com
882b0d68a5
adding pane/frameset/frame/iframe navigation
...
Bug 24423 r=joki,saari a=hyatt
git-svn-id: svn://10.0.0.236/trunk@95734 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 23:52:17 +00:00
waterson%netscape.com
e26708f220
Bug 59200. Merge floater reflow and placement into FlowAndPlaceFloater() to deal with the fact that a floater may need to be reflowed as its 'pushed' to a new location. For auto-width floaters, ensure that the floater is not flowed at a width less than its max-element-size. Enforce CSS2 section 9.5.1 rule [2] by maintaining mLastFloaterY in the reflow state. r=rbs, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@95630 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:03:46 +00:00
valeski%netscape.com
e2736d6096
sr=vidur/shaver@mozilla.org on the content policy callsite and implementation mods (81260). Update of the nsIContentPolicy interface to provide more generic context, a nsIURI instead of a URI wstring, and a nsIDOMWindow for window level context. Existing Callsites have been updated to reflect the new changes, and nsIDOMWindows are now passed into the new API.
...
git-svn-id: svn://10.0.0.236/trunk@95620 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:40:10 +00:00
ftang%netscape.com
8eda2d6ee1
temp fix 75026 r/sr=sfraser. add stop-bleeding code for bidi code to reduce crash
...
Buy more time for simon@softel.co.il to produce the real fix.
git-svn-id: svn://10.0.0.236/trunk@95619 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:38:26 +00:00
mkaply%us.ibm.com
8f9de3b761
More IRIX bustage - CRLF
...
git-svn-id: svn://10.0.0.236/trunk@95577 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 00:02:10 +00:00
mkaply%us.ibm.com
c64a38f6d1
IRIX bustage
...
More CR/LF bustage, this time from pavlov.
Something is going horribly wrong (dougt, peterl and now pavlov)
git-svn-id: svn://10.0.0.236/trunk@95574 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-20 22:38:29 +00:00
pavlov%netscape.com
b31666bd9f
fixing bug 32269 r=bryner sr=scc
...
git-svn-id: svn://10.0.0.236/trunk@95570 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-20 21:21:44 +00:00
rbs%maths.uq.edu.au
d5d3b2a77b
Correct a leaky code-path in my earlier check-in
...
git-svn-id: svn://10.0.0.236/trunk@95532 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:26:46 +00:00
rbs%maths.uq.edu.au
3273195790
Wrap table in a protective block frame when used in the mathml context. b=78389 r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@95529 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 10:02:11 +00:00
rbs%maths.uq.edu.au
645dc9bd87
Change the place where the ascent is grabbed in the case where the first line is a block. Needed to fix bug=78389 r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@95526 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 09:53:59 +00:00
jst%netscape.com
e064067a1f
Cheking in change that shuts down annoying warnings from addreffing and releasing nsFrameFrame (which is not refcounted). r=pavlov@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@95516 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 07:29:25 +00:00
mkaply%us.ibm.com
76c1d6e5a6
senna REQUIRES bustage
...
git-svn-id: svn://10.0.0.236/trunk@95513 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 05:12:56 +00:00
bryner%uiuc.edu
6b1d4a0f99
Views aren't refcounted! r=dbaron, sr=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@95508 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 04:40:01 +00:00
karnaze%netscape.com
58b9b2c478
bug 64645 - process children of <object> during frame construction and reflow child if alternate is needed. sr=attinasi, r=peterl
...
git-svn-id: svn://10.0.0.236/trunk@95504 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:45:21 +00:00
mstoltz%netscape.com
a8b60368de
Re-checking-in my fix for 47905, which was backed out last night because of a bug in some other code that was checked in along with it. This checkin was not causing the crasher and is unchanged. See earlier checkin comment - in short, this adds same-origin to XMLHttpRequest and cleans up some function calls in caps, removes some unnecessary parameters. r=vidur, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@95481 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 00:33:51 +00:00
jst%netscape.com
840888ef95
Checking in support for onload handlers for frame and iframe elements, and fixing .ownerDocument of orphan elements, fixes bug 60173, and also fixes part of bug 27382. r=pollmann@netscape.com, sr=vidur@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@95479 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 00:17:01 +00:00
joki%netscape.com
4b4f626afa
Fix for 77321, don't fire resize event at initial page load. r:vidur,sr:jst
...
git-svn-id: svn://10.0.0.236/trunk@95472 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 23:42:54 +00:00
dbaron%fas.harvard.edu
f620372b65
Fix typo that was causing some blocks within tables (and also some resize cases without tables) to be too wide. b=77920 r=waterson sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@95461 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 23:14:36 +00:00
dbaron%fas.harvard.edu
7e35584730
Simplify implementation of quirk for DD not in DL using :not() to improve performance (since we handle |content: ""| differently from the default). b=77954 r=hixie sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@95456 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 23:09:54 +00:00
vidur%netscape.com
0f2762b474
Partial fix for bug 78976. Rather than dropping events that are targeted at the canvas frame, we pass them down to the first frame child. r=joki, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@95455 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 23:08:00 +00:00
waterson%netscape.com
e495599366
Add new tests to cover regressions I'd caused earlier with bug 43914. Not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@95435 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 22:26:07 +00:00
waterson%netscape.com
effac6d6d3
Remove errant line in script. Not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@95432 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 22:18:18 +00:00
ftang%netscape.com
ad0685af07
fix 79653. check in for simon@softel.co.il
...
r=ftang sr=attanasi
remove unnecessary code in IBMBIDI due to previous check in
git-svn-id: svn://10.0.0.236/trunk@95406 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 20:33:08 +00:00
rbs%maths.uq.edu.au
f7ba9f0ee1
Optimize the reflow of multiple break-after lines (e.g., avoid to unnecessarily reflow clean lines during plaintext editing in mailcompose or textarea). This is an iteration on waterson's earlier patch. b=43914 r=waterson sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@95380 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 07:00:46 +00:00
evaughan%netscape.com
a4d0ce6ac8
Fix for bug #80902
...
-r jeff@tcbnetworks.com -sr waterson
Fix for bug #80505
-r aaronl, jgaunt -sr brendan
git-svn-id: svn://10.0.0.236/trunk@95337 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 23:52:32 +00:00
karnaze%netscape.com
982e96c5e6
bug 62811 - ensure that <form>s are always display:block, sr=attinasi, r=pollmann
...
git-svn-id: svn://10.0.0.236/trunk@95333 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 23:15:22 +00:00
dcone%netscape.com
f4fc3facf5
b=71976 r=rods sr=attinasi. Don't compare the url with title, especially since its been destroyed.
...
git-svn-id: svn://10.0.0.236/trunk@95303 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 20:54:05 +00:00
pinkerton%netscape.com
50bcb65c7f
add support for context menu key. use focussed element as the target, not the mouse coordinates. r=roc,dean_tessman@hotmail.com/sr=hyatt. bug#74410, 36665.
...
git-svn-id: svn://10.0.0.236/trunk@95274 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 18:37:50 +00:00