bzbarsky%mit.edu
d901244f37
The nsBlockFrame.h include is needed for debug builds. Bustage fix, original
...
bug is 241833
git-svn-id: svn://10.0.0.236/trunk@155962 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 01:46:15 +00:00
dbaron%dbaron.org
39913966e5
Remove hacks no longer needed since text inputs became reflow roots (instead of using the IncrementalDamageConstrained hack. b=241833 r+sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@155945 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 23:56:25 +00:00
bzbarsky%mit.edu
7f1f8aacd3
Change mCBReflowState to mean the containing block of _this_ reflow state
...
instead of the containing block of kids. Fix the containing block calculations
for various cases of absolutely positioned descendants of relatively positioned
inlines (eg make "right" and "bottom" work in those situations). Bug 135082,
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155456 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-24 17:56:23 +00:00
gerv%gerv.net
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
bryner%brianryner.com
2359d2f7c4
More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@154743 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:28:44 +00:00
roc+%cs.cmu.edu
d5959dbbe6
Bug 237343. Adjust inline frame PerFrameData mCombinedArea to account for width increase due to justification.
...
git-svn-id: svn://10.0.0.236/trunk@154021 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-16 06:58:01 +00:00
dbaron%dbaron.org
693eed6a2d
Backing out my checkin from yesterday. b=199673
...
git-svn-id: svn://10.0.0.236/trunk@153837 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 17:13:39 +00:00
dbaron%dbaron.org
2cefb8b1dd
In almost-standards mode, standards-mode text decorations and quirks-mode inline box model have to interact -- so make standards-mode text-decorations (when text-decorations are present) cause the standards-mode inline box model. b=199673 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@153794 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 00:28:17 +00:00
scott%scott-macgregor.org
de903528ff
Back out Bug #132561 until we can figure out how to fix the regression it causes in HTML composer with spaces
...
(See Bug #235223 ).
a=brendan
git-svn-id: svn://10.0.0.236/trunk@153416 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 01:23:13 +00:00
roc+%cs.cmu.edu
cc468b71ce
Bug 235778. Overflow area of relatively positioned inlines must be preserved by line layout. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@153351 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 02:55:58 +00:00
bryner%brianryner.com
3191a1feaa
Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153018 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 17:49:01 +00:00
bzbarsky%mit.edu
812532152c
Fix comment. Bug 132561, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152978 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 22:16:00 +00:00
bzbarsky%mit.edu
fed1bb3ece
Trim whitespace that comes right before a <br> when trimming whitespace. Bug
...
132561, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152976 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 22:12:38 +00:00
bzbarsky%mit.edu
e94a4a8364
Collapse trailing whitespace even if there is a placeholder after it. Bug
...
233451, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152533 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 01:01:06 +00:00
roc+%cs.cmu.edu
35c266025d
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
4cca78120d
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@150720 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 21:51:50 +00:00
dbaron%dbaron.org
1de11fe101
Fix percentage widths on inlines within inlines. b=97695 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@150481 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 05:41:35 +00:00
dbaron%dbaron.org
a8191642ef
Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
...
git-svn-id: svn://10.0.0.236/trunk@149687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-24 19:46:25 +00:00
jst%mozilla.jstenback.com
2affc5b4f0
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
dbaron%dbaron.org
6ab19b722c
Removed unused LineIsEmpty function.
...
git-svn-id: svn://10.0.0.236/trunk@149158 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-11 19:25:49 +00:00
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
dbaron%dbaron.org
33601224e0
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147924 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:51:02 +00:00
dbaron%dbaron.org
1253348a57
Remove LL_TEXTSTARTSWITHNBSP, since it's a partial and broken solution to the problem, and it's in the wrong place. b=187899 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@147413 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 22:56:08 +00:00
dbaron%dbaron.org
c0b1458980
Fix view positioning logic in RelativePositionFrames so that widgets are positioned correctly. b=214623 r+sr=roc a=asa
...
git-svn-id: svn://10.0.0.236/trunk@145679 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 23:59:10 +00:00
dbaron%dbaron.org
59659d62eb
Correct fix for bug 213591 - make sure to call SyncFrameViewAfterReflow for leaf frames as well. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@145436 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 22:03:26 +00:00
caillon%returnzero.com
c8612ff038
Bug 38370.
...
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@145375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 08:13:07 +00:00
dbaron%dbaron.org
2a36650bb6
Back out part of checkin from yesterday due to regressions. b=79315
...
git-svn-id: svn://10.0.0.236/trunk@145127 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-23 22:46:48 +00:00
dbaron%dbaron.org
75df55b0bf
Make sure we include the overflow area in the size of views, for blocks and inlines, at least. b=79315 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@145090 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-23 00:14:16 +00:00
roc+%cs.cmu.edu
0b21d50264
Ongoing deCOMtamination. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144258 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 10:46:59 +00:00
dbaron%dbaron.org
519cf3b3d3
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
caillon%returnzero.com
0a6d1ae509
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
dbaron%dbaron.org
69da9d4a19
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
d88c07597f
Oops, wrong tree. Backing out.
...
git-svn-id: svn://10.0.0.236/trunk@142487 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:36:05 +00:00
dbaron%dbaron.org
85e28181ee
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@142486 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:32:08 +00:00
smontagu%netscape.com
1a3bb57385
Remove nsITextFrame. Bug 188618, r/sr=roc+moz.
...
git-svn-id: svn://10.0.0.236/trunk@138398 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 00:44:04 +00:00
bryner%netscape.com
c44337949a
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
dbaron%dbaron.org
a569c670f5
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
dbaron%fas.harvard.edu
ffb8d9cca7
Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
...
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00
roc+%cs.cmu.edu
55be3c1d27
Backing out fix for bug 170330... againr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@135565 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu
7683fc0475
Tp experiment... See if the extra view sync is causing the Tp regression. Pardon me.
...
git-svn-id: svn://10.0.0.236/trunk@135561 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 02:12:13 +00:00
roc+%cs.cmu.edu
b997358c68
Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@135555 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 23:25:38 +00:00
dbaron%fas.harvard.edu
dba21402ff
Remove test assertion that I added two days ago. DEBUG-only, r=me
...
git-svn-id: svn://10.0.0.236/trunk@135534 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 01:36:58 +00:00
dbaron%fas.harvard.edu
c73090b5b6
Make quirks-mode vertical alignment correctly consider only non-collapsed whitespace. b=155333 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@135477 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 00:21:07 +00:00
dbaron%fas.harvard.edu
10a7236c6a
Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777
...
git-svn-id: svn://10.0.0.236/trunk@135099 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 04:00:18 +00:00
dbaron%fas.harvard.edu
0da606ffe7
Clean up twisty maze of IBMBIDI ifdefs related to HorizontalAlignFrames and fix an RTL alignment bug. b=131023 r=smontagu sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@135094 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 02:38:33 +00:00
roc+%cs.cmu.edu
4d55566a79
Backing out fix for bug 170330 due to Tp regression
...
git-svn-id: svn://10.0.0.236/trunk@134882 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu
30ffe3fbf2
Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@134861 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 22:29:08 +00:00
karnaze%netscape.com
7e2beae782
bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone
...
git-svn-id: svn://10.0.0.236/trunk@131456 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 20:35:26 +00:00
karnaze%netscape.com
b70e7f9f22
bug 169620 - don't pass in negative avail widths, don't add/subtract from NS_UNCONSTRAINEDSIZE, make HR's desired width at least as big as its me width. sr=kin, r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@130371 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 21:02:20 +00:00
dbaron%fas.harvard.edu
87f1ec1ab2
Back out most of patch for bug 154910 to fix crash, since nsLineLayout need not do all its allocation without other things lower on the stack. b=162516
...
git-svn-id: svn://10.0.0.236/trunk@127257 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 13:00:16 +00:00