[email protected]
482350e82b
Use the direction of the abs pos box, not its containing block, when deciding
...
which offset to use the static position for. Bug 247287, r+sr=dbaron
2004-07-15 06:10:53 +00:00
[email protected]
041d6d3a01
Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron.
2004-06-08 23:53:59 +00:00
[email protected]
91aa65c204
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. [email protected] , [email protected]
2004-04-29 23:34:19 +00:00
[email protected]
9fe40dbd60
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
2004-04-24 17:56:23 +00:00
[email protected]
771e8572b7
Don't allow negative line-heights to make it past the CSS parser. Bug 240900,
...
r+sr=dbaron
2004-04-18 20:10:09 +00:00
[email protected]
a1ec040a65
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
[email protected]
5ddc9f91a1
More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
2004-04-13 00:28:44 +00:00
[email protected]
92743fad12
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
2004-03-12 04:40:17 +00:00
[email protected]
9a3c56b36f
Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
2004-02-20 17:49:01 +00:00
[email protected]
b48da76c7b
Change the way we handle auto margins on blocks with outer width (excluding auto margins) wider than their containing block. Use rules equivalent to overconstraint handling (margins non-auto) so that we depend on 'direction' rather than on which margins are 'auto'. b=185411 r=roc sr=bzbarsky
2004-02-04 05:18:37 +00:00
[email protected]
e86546e42b
Remove code that munges block widths inside table cells. Bug 232754,
...
r+sr=dbaron
2004-02-03 16:49:38 +00:00
[email protected]
68131e3072
Remove unneeded casts and extra shadowing variable.
2004-01-18 07:13:40 +00:00
[email protected]
60355c93f5
Fix elements with max-width overlapping floats due to initial incorrect position by reflow state. b=52916 Patch by Chris Waterson. r=dbaron sr=bzbarsky
2004-01-18 06:06:13 +00:00
[email protected]
404878514e
Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
2004-01-10 05:36:32 +00:00
[email protected]
12ab216641
Make sure to not compute negative widths for blocks. Bug 230249, r+sr=dbaron
2004-01-08 03:38:25 +00:00
[email protected]
6b298f53ea
Make AdjustComputedWidth/Height take a boolean that tells it whether to account
...
for box-sizing; sometimes we don't want to. Also fix parsing of
max-width/height and min-width/height to error on negative values (per spec).
Bug 227819, r+sr=dbaron
2004-01-05 23:59:25 +00:00
[email protected]
13e65f30bf
Calculate the relative offsets after we've done whatever corrections we need to
...
do to the CB height (eg in quirks mode). Bug 226954, r+sr=dbaron
2004-01-05 23:48:57 +00:00
[email protected]
01533e488c
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
[email protected]
640685cbe9
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
[email protected]
8891f27a52
Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
2003-11-24 19:46:25 +00:00
[email protected]
d47517f6dc
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(). [email protected] , [email protected] .
2003-11-19 01:20:56 +00:00
[email protected]
eac47355a2
Turn DetermineFrameType into InitFrameType. b=225911 r+sr=bzbarsky
2003-11-17 00:35:17 +00:00
[email protected]
3696673382
Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc
2003-11-10 23:36:06 +00:00
uid502
4fc4723244
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
[email protected]
8a9dd087f1
Fix regression bug 223394 -- percent-height replaced inlines that only have
...
auto-height ancestors should get intrinsic height instead of 0, even in quirks
mode. r+sr=roc, a=asa
2003-10-24 07:31:50 +00:00
[email protected]
09b63f65b8
Fix crash bug 223064. Patch by [email protected] (Mats Palmgren), r+sr=bzbarsky
2003-10-22 07:01:35 +00:00
[email protected]
1e72304d45
Remove limiting of the quirk containing block search to only one level. Bug
...
222730, also fixes bug 88035, r+sr=dbaron
2003-10-18 20:22:22 +00:00
[email protected]
1a1ea560c3
Line up the hypothetical box for positioned frames with the _top_ of the line
...
box if there is nothing in the line before the positioned frame's placeholder.
When that happens, it means that the positioned frame's content actually came
before whatever content lives in the line box and thus the frame should not be
lined up with the line box's bottom. Bug 94468, r+sr=roc
2003-10-18 08:04:37 +00:00
[email protected]
50212c4cdc
Undoing last change now that I have perf data.
2003-10-18 07:13:30 +00:00
[email protected]
fc7a1f41fb
Test performance impact of not limiting to the first level now that bug 222730
...
is fixed. r=dbaron
2003-10-18 06:08:39 +00:00
[email protected]
e7ca4b1fb7
Only calc a quirk containing block if we have a percentage height. Bug 222730,
...
r+sr=dbaron
2003-10-18 05:09:42 +00:00
[email protected]
964588c97e
Stop walking up the tree looking for something to size against if we hit a
...
positioned frame. Bug 221784, r+sr=roc
2003-10-18 00:24:28 +00:00
uid502
308b50e2e9
Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
2003-10-17 02:38:37 +00:00
[email protected]
24c4747139
Relanding fix for bug Bug 219693, r+sr=dbaron
2003-10-06 13:13:37 +00:00
[email protected]
0da2e50df9
Backing out for now, till fallout from tree redness settles.
2003-10-06 04:23:56 +00:00
[email protected]
e23f980665
Make quirks %-heights on kids of scrolling parents work the same way as for
...
non-scrolling parents. Bug 219693, r+sr=dbaron
2003-10-06 02:58:19 +00:00
[email protected]
c11c6bf27e
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. [email protected] , [email protected] .
2003-09-27 04:18:26 +00:00
[email protected]
5beb813475
Bug 219908 Remove some layout warnings
...
r=bz sr=dbaron
2003-09-22 21:40:12 +00:00
[email protected]
80787ace8c
Let ComputeHorizontalValue handle unconstrained width, since unconstrained width only means the vertical margin is unknown in some cases. Patch by Mats Palmgren <[email protected] >. r+sr=dbaron a=asa b=209066
2003-09-06 04:01:33 +00:00
[email protected]
634c6e9bdc
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
[email protected]
dc58ced898
Ongoing deCOMtamination. r+sr=dbaron
2003-06-29 03:43:05 +00:00
[email protected]
c8a200d763
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected]
f98e358469
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
2003-05-15 03:42:21 +00:00
[email protected]
20d5a05ab6
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
[email protected]
ba58162e96
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.
2003-02-22 00:32:13 +00:00
[email protected]
c2ba4187b1
Removing a redeclaration of a variable that sould've been removed with the last change to this file. Bug 181644, [email protected] , [email protected] , [email protected]
2003-02-06 23:10:20 +00:00
[email protected]
7999e91921
Fix abs pos positioning regression. Bug 181644 redux, patch by
...
[email protected] , r=bzbarsky, sr=dbaron, a=asa
2003-01-29 11:35:10 +00:00
[email protected]
888b54c062
set the quirk height default to NS_AUTOHEIGHT if we are in a unconstrained container bug 189840 r/sr=roc+moz a=asa
2003-01-28 05:19:20 +00:00
[email protected]
db7f4d244e
bug 175455 - Added mTableDerivedComputedWidth to the reflow state to detect computed widths which exist only because of table cells. Limit percent width of descendants whose percentage base has such a computed width. sr=roc, r=bernd
2003-01-19 20:07:39 +00:00
[email protected]
747cbd27f4
bug 181644, patch by [email protected] , r=bz, sr=roc+moz
2002-12-23 06:01:14 +00:00