Граф коммитов

3399 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org e7ddb04af2 Fix incremental reflow bugs by being consistent about max-element-width for percentage widths whether or not the reflow is an unconstrained width (as initial always is when we care about max-element-width) or constrained width (as some incremental reflows are). b=215857 r=bernd sr=bzbarsky a=brendan 2003-11-24 19:48:25 +00:00
dbaron%dbaron.org a012b34247 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
roc+%cs.cmu.edu 8ab11f1a38 Bug 30579. Add a skinnable 'scrollcorner' element to fill in the gap when there are two scrollbars. r+sr=bryner,a=asa 2003-11-21 10:45:24 +00:00
bzbarsky%mit.edu 03359fa12a Fix printing of plugins in absolutely positioned divs to use the right
coordinates.  Bug 225832, r+sr=roc
2003-11-19 02:00:51 +00:00
jst%mozilla.jstenback.com 4183787fa9 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. 2003-11-19 01:20:56 +00:00
neil%parkwaycc.co.uk 917932cb34 Bug 225952 nsObjectFrame.cpp abuses nsXPIDLCString r/sr=bz 2003-11-17 19:26:24 +00:00
dbaron%dbaron.org e852c24b41 Turn DetermineFrameType into InitFrameType. b=225911 r+sr=bzbarsky 2003-11-17 00:35:17 +00:00
dbaron%dbaron.org 02b14dd0ce Remove unneeded mIsTable member variable. r+sr=bzbarsky b=225902 2003-11-16 21:12:17 +00:00
dbaron%dbaron.org 2e72ac7775 Add comments connecting two quirks. 2003-11-16 18:49:00 +00:00
bzbarsky%mit.edu 852fbd43f7 Be a little smarter about handling the mess that is broken images. Only look
for a frame if we've had a frame at some point in the past; this should keep us
from calling GetPrimaryFrameFor quite so much during pageload.  Bug 225848,
r+sr=jst
2003-11-16 07:34:25 +00:00
blizzard%redhat.com f01bca0a21 Bug #225357. Plugins that specify coordinates that exceed maximum X coordinates cause X errors. Limit the size of plugins on this platform to the maximum size for X windows. r=bz, sr=roc 2003-11-13 16:33:52 +00:00
bzbarsky%mit.edu 625796c41e Clarify when ReParentStyleContext should be called and remove more bogus style
parentage warnings.  Bug 217225, r+sr=dbaron
2003-11-13 04:31:04 +00:00
dbaron%dbaron.org b743b23ea2 Removed unused LineIsEmpty function. 2003-11-11 19:25:49 +00:00
dbaron%dbaron.org 1457f87876 Remove BRS_NOWRAP. b=191699 r+sr=roc 2003-11-11 19:24:01 +00:00
dbaron%dbaron.org 0cf3066822 Comment was backwards (thanks bz). b=191699 2003-11-10 23:55:53 +00:00
dbaron%dbaron.org 8856db0238 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
bzbarsky%mit.edu 9269dd2002 Bail out early if we have no area to invalidate anyway. Bug 224871, r+sr=roc 2003-11-07 03:00:30 +00:00
bzbarsky%mit.edu 6b9af2f572 Only paint the image if its computed width or height is nonzero. Otherwise, we
may divide by zero when computing the transform matrix.  Bug 221975, r+sr=roc
2003-11-06 16:03:34 +00:00
bryner%brianryner.com 78f1cb532a Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst. 2003-11-05 05:17:07 +00:00
tor%cs.brown.edu 7a1a7ec1d4 Bug 224628 - backout part of 212366 so that scrolling=no works. r+sr=roc 2003-11-04 15:50:09 +00:00
uid502 91e2869af8 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
peter%propagandism.org f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
uid502 2de14973bc Bug 212366. Make nsFrameInnerFrame be a moz-anonymous-box pseudoelement. This stops style on an IFRAME from being applied to both the outerframe and the innerframe. r+sr=dbaron 2003-11-01 01:34:06 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bzbarsky%mit.edu 99faa8a63a 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
bzbarsky%mit.edu b07d633d7d Fix crash bug 223064. Patch by mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky 2003-10-22 07:01:35 +00:00
bryner%brianryner.com 605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
caillon%returnzero.com 66caced69a Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu af287cfe97 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
bzbarsky%mit.edu e62eff588a 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
bzbarsky%mit.edu cf629db257 Undoing last change now that I have perf data. 2003-10-18 07:13:30 +00:00
bzbarsky%mit.edu 88517f3ebd 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
bzbarsky%mit.edu 2cb729ce47 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
bzbarsky%mit.edu c9d4d38519 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 d521946094 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
bzbarsky%mit.edu f384166efa Create a mozAutoDocUpdate class to handle automatically calling
BeginUpdate/EndUpdate on documents.  Use this in a bunch of places to make sure
that EndUpdate is called in the face of early returns.  Bug 131775, also fixes
bug 211022, r=caillon, sr=jst
2003-10-16 18:14:25 +00:00
uid502 2b19fe5b64 Bug 217604. Ensure out-of-flow frames are ordered in content order. Ensure views are maintained in frame/content order. 2003-10-15 00:49:03 +00:00
dbaron%dbaron.org 3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
uid502 7eecd9a0ef Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron 2003-10-11 12:00:05 +00:00
bzbarsky%mit.edu dc2a9b8f46 Use UnionRect instead of reimplementing it in the block code. Bug 220741,
r+sr=dbaron
2003-10-10 01:12:55 +00:00
dbaron%dbaron.org 269402178c Add comments. 2003-10-08 20:04:20 +00:00
bzbarsky%mit.edu 3bfbfe8dce Relanding fix for bug Bug 219693, r+sr=dbaron 2003-10-06 13:13:37 +00:00
bzbarsky%mit.edu 556fd116db Backing out for now, till fallout from tree redness settles. 2003-10-06 04:23:56 +00:00
bzbarsky%mit.edu 666475ba65 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
dbaron%dbaron.org 7cbbfcd12f Remove duplication at the end of a comment. 2003-10-03 20:12:53 +00:00
bzbarsky%mit.edu a972a3e501 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org 5cce92dc2a Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
dbaron%dbaron.org 693a674a5b 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 2003-09-28 22:56:08 +00:00
jst%mozilla.jstenback.com 5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu dc0b10f8fd Remove bogus 1px adjustment that harkens back to imagelib1. Bug 220174,
r=pavlov, sr=tor
2003-09-26 16:43:19 +00:00