dbaron%fas.harvard.edu
b7194a0ea8
Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
bernd.mielke%snafu.de
d82d0e7dd4
bug 116577 avoid debug reflow access to Element(-1) r=jesup sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@111294 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 09:00:40 +00:00
rjesup%wgate.com
15d98882e8
Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
...
assertions for bad voidarray indexes. r=jst, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
mjudge%netscape.com
a4539a7841
smoketest fix 115791
...
git-svn-id: svn://10.0.0.236/trunk@110728 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 21:05:55 +00:00
mjudge%netscape.com
20a1185b2b
bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not
...
git-svn-id: svn://10.0.0.236/trunk@110680 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 01:29:49 +00:00
waterson%netscape.com
ac235050c2
Bug 115113, redux. Fix some whitespace botches.
...
git-svn-id: svn://10.0.0.236/trunk@110650 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:54:28 +00:00
waterson%netscape.com
b6978c3e09
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com
436d43f211
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
...
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
karnaze%netscape.com
d8577654db
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +00:00
bernd.mielke%snafu.de
7875c9ce3d
add hr frame to layout debugging logic, bug 110596 r=karnaze sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@109992 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 10:02:31 +00:00
karnaze%netscape.com
d537a4df3c
bug 103925 (3rd patch) - display changes in reflow parameters. sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@108959 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 01:45:46 +00:00
smontagu%netscape.com
1dc588ab2f
Fix crash when scrolling absolute positioned textarea by adding test to return value from |GetLine|. Bug 105004, r=rbs, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@108261 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 03:08:30 +00:00
karnaze%netscape.com
65fe290a5b
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@108053 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
068756d821
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
attinasi%netscape.com
dc30e5998c
Oops - check for empty damageRect in nsFrame::Invalidate should be DEBUG only. b=103266 r=rbs sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@107418 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 02:44:35 +00:00
attinasi%netscape.com
11481ea927
Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@107407 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:44:20 +00:00
karnaze%netscape.com
5d4ad94e7c
fix crash in display reflow debugging.
...
git-svn-id: svn://10.0.0.236/trunk@106973 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:53:57 +00:00
karnaze%netscape.com
b82075b237
bug 107403 - shannond's patch to cast debug code before deleting to satisfy HP-UX. r=karnaze
...
git-svn-id: svn://10.0.0.236/trunk@106827 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 14:45:12 +00:00
karnaze%netscape.com
4ff0e5cecb
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
dbaron%fas.harvard.edu
8b3489a026
Bug 86947:
...
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow). Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed. Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106224 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:40 +00:00
hyatt%netscape.com
ab0e4e56d4
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
dougt%netscape.com
62a8215278
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
...
git-svn-id: svn://10.0.0.236/trunk@106009 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:21 +00:00
dbaron%fas.harvard.edu
1382ac90eb
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
7bb7b59a69
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
bernd.mielke%snafu.de
bd8b619784
bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
...
r=dbaron sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105372 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 09:27:46 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
1540a4c12e
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
harishd%netscape.com
7c0676bf06
98261 - reconcile the difference between the ContentSink's notion of depth and Layout's notion of depth. r=heikki, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@102932 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:44:41 +00:00
dbaron%fas.harvard.edu
e5125b7d8c
Make middle-click pasting put things in the right place by uncommenting code that ensures Y coordinate is more important than X coordinate and by making sure the code does the right thing in case of overlap. b=57913 r=bryner sr=kin a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@101810 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-26 18:33:57 +00:00
hyatt%netscape.com
4f51638ef4
Fix for 95475. r=jag, sr=ben, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
bryner%netscape.com
bf9fa1fa2f
Bug 66617 - if tabbing scrolls page, focus outline doesn't leave first link (second try). r=saari, sr=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@101405 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 07:25:52 +00:00
bryner%netscape.com
7da361b479
Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
jgaunt%netscape.com
92c01c45b6
fix for bug 94768
...
r=smfr,leaf
sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@101271 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 03:13:07 +00:00
bryner%netscape.com
a7aca59370
Bug 66617 - When tabbing between links on a page, the focus outline on the
...
previously focused link would not be redrawn if the tab caused the page to
scroll. r=valeski, saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@100848 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 23:50:05 +00:00
pavlov%netscape.com
460155a537
fixing bug 78690. removing old imagelib. r=jst sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@100670 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 20:22:39 +00:00
waterson%netscape.com
b954a96c3a
Bug 92190. Add anonymous children to nsIContent::List() output, add gdb-callable routines for listing frame and content trees. r=hyatt, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@100283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-03 07:34:28 +00:00
waterson%netscape.com
f46181b77e
Bug 79486. Make sure that |MoveChildrenTo()| correctly updates the NS_FRAME_HAS_CHILD_WITH_VIEW flag when moving child frames into the new {ib} split frames. r=dbaron, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@100087 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 04:37:17 +00:00
jaggernaut%netscape.com
2b3b3b2586
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
mjudge%netscape.com
522605c07f
82993, 87662 fixes for caret going into generated content. adjusting the content snapping to the best X value not Y value for up/down clicking. This will not cause a problem with the different size text but it MAY cause a problem with inline positioned elements.
...
git-svn-id: svn://10.0.0.236/trunk@99609 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-19 23:32:07 +00:00
attinasi%netscape.com
7198e755f7
Misplaced #endif - fixed for opt builds
...
git-svn-id: svn://10.0.0.236/trunk@99444 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 22:02:11 +00:00
attinasi%netscape.com
476d3cb3e8
Checkin for alexsavulov@netscape.com: b=80396 r=rbs sr=attinasi new debug method added to dump frames
...
git-svn-id: svn://10.0.0.236/trunk@99440 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 21:30:17 +00:00
mjudge%netscape.com
47b55cced9
PDT+ 88164 backing out of bad bug for keyboard navigation.
...
git-svn-id: svn://10.0.0.236/trunk@98690 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 19:11:32 +00:00
anthonyd%netscape.com
116c1063b2
fix for 82151 -- Right arrow key at end of a TEXTAREA goes to the beginning
...
checking in for mjudge
r=cmanske, anthonyd
sr=kin
a=asa
git-svn-id: svn://10.0.0.236/trunk@97962 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 20:47:46 +00:00
anthonyd%netscape.com
119b3a1df3
backing out changes
...
a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@97958 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 19:35:21 +00:00
anthonyd%netscape.com
3d7ce4044e
fix for 82151 - checking in mjudges patch for right arrow key fix for textarea
...
r=cmanske@netscape.com , anthonyd@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@97953 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 18:01:10 +00:00
mjudge%netscape.com
d66b949240
86749 fix for "home key" scenario. we now search for 1st valid frame on a line. not just try the very first and fail. we now behave like "end key" does;. r=anthonyd sr=kin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@97779 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 14:52:48 +00:00
ftang%netscape.com
b5e1e05597
fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
...
fix GetBidiProperty
git-svn-id: svn://10.0.0.236/trunk@97676 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 12:35:48 +00:00
kin%netscape.com
5d7630f57c
Fix for bug #86492 Double click does not bring up object props dialog.
...
- Fixed 'if' statement in nsFrame::GetContentAndOffsetsFromPoint()
so that it checks contentOffset instead of the uninitialized aContentOffset.
r=jfrancis@netscape.com sr=attinasi@netscape.com a=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@97668 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 06:35:37 +00:00
mjudge%netscape.com
bf71c754f9
used false instead of PR_FALSE.
...
git-svn-id: svn://10.0.0.236/trunk@97576 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 06:40:48 +00:00
mjudge%netscape.com
9b06575b30
have to check for bidi on frame before executing bidi code. bug=39198 sr= kin, r=sfrasier a= asa
...
git-svn-id: svn://10.0.0.236/trunk@97547 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 04:40:17 +00:00