Boris Zbarsky
f3647c87f6
Bug 437142. Be a little more careful with GetPrimaryFrameFor to work around the mess that <area> elements cause. r+sr=roc
2008-11-25 20:49:14 -05:00
L. David Baron
ca761d4290
Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 15:22:39 -08:00
L. David Baron
454663f1a4
Back out 342b86dd79f48f11583e7b6526a5b78457d29a1c due to mac startup failures.
2008-11-25 14:38:17 -08:00
Robert O'Callahan
57bec6006e
Bug 460012. When recreating frames for a generated content node, reframe the nearest non-generated-content ancestor. r+sr=bzbarsky
2008-11-26 11:15:41 +13:00
Robert O'Callahan
b2b28bfe30
Bug 454751. Use a fresh nsFrameConstructorState when we construct new frames in ReconstructDocElementHierarchyInternal, so internal state pointing to deleted frames is flushed out. r+sr=bzbarsky
2008-11-26 11:12:06 +13:00
L. David Baron
df90903560
Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 13:27:54 -08:00
Mats Palmgren ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
8c3f1d62cd
Put the root element in the undisplayed map so that we reconstruct it when it has its 'display' changed from 'none' to something else. (Bug 283686) r+sr=bzbarsky
2009-01-10 08:28:15 -08:00
Benjamin Smedberg
73a6fab34b
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Blake Kaplan
5b956f68de
Bug 458440 - Attempt to work around speculative parsing crash. r+sr=dbaron
2008-11-11 13:38:54 -08:00
Benjamin Smedberg
802d1a10c7
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Robert O'Callahan
13ddb2b9d8
Bug 425981. Make first-letter frame wrapping build its own frame constructor state to ensure it's for the correct place in the frame tree. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 7dd5de3f6b2a9e83994d7023d4cfafce205e9376
2009-01-08 21:07:51 +13:00
Boris Zbarsky
5c1a90c2e7
Bug 472500. Allow generated content on XUL frames. r+sr=roc
2009-01-07 18:22:08 -05:00
Boris Zbarsky
a8affd2d83
Bug 472501. Add XUL namespace checks in some more places where they're needed, and make the XBL suppression of child frame processing work for all frames, not just XUL. r=enndeakin, sr=roc
2009-01-07 18:22:05 -05:00
Boris Zbarsky
c21dedd075
Bug 284320. Remove the contentParentFrame hack in subdocument frames, along with the no-longer-used arg it used to be used for. r+sr=roc
2009-01-06 17:29:50 -05:00
Boris Zbarsky
b03961dd17
Bug 472322. Don't treat non-XUL listboxbody/listitem specially in XUL frame construction. r=enndeakin, sr=roc
2009-01-06 14:18:04 -05:00
Boris Zbarsky
685363e49e
Bug 291854. Push float containing blocks inside ProcessChildren. r+sr=roc
2009-01-05 20:54:32 -05:00
Boris Zbarsky
1bdf9b466e
Bug 472138. Push CreateAnonymousFrames into ProcessChildren. r+sr=roc
2009-01-05 17:25:33 -05:00
Boris Zbarsky
b9ee4c8788
Bug 472138. Eliminate unused or unnecessary CreateAnonymousFrames args. r+sr=roc
2009-01-05 17:25:31 -05:00
L. David Baron
ad5d856ae6
Rename flags and methods from space manager to float manager. (Bug 191448) r+sr=roc
2009-01-04 19:39:54 -05:00
L. David Baron
4872871d0b
Fix some missed renames from bug 471356. r+sr=bzbarsky
2009-01-04 14:52:38 -05:00
Olli Pettay
252b14a591
Bug 436965, r+sr=sicking
2009-01-02 17:41:43 +02:00
Olli Pettay
fa80d4e86f
Back out bug 436965
2009-01-02 16:31:13 +02:00
Olli Pettay
29dcd98c48
Bug 436965, r+sr=sicking
2009-01-02 14:40:43 +02:00
L. David Baron
4690547534
Stop using nsAreaFrame for anything other than xul:label, which is the only thing for which it does anything different from nsBlockFrame, and rename it accordingly. (Bug 471356) r+sr=roc
...
--HG--
rename : layout/generic/nsAreaFrame.cpp => layout/xul/base/src/nsXULLabelFrame.cpp
rename : layout/generic/nsAreaFrame.h => layout/xul/base/src/nsXULLabelFrame.h
2008-12-29 10:07:38 -05:00
L. David Baron
3ca60a8cb6
Keep pres shell alive during ProcessRestyledFrames. (Bug 462392) r+sr=bzbarsky
2008-11-02 11:44:55 -08:00
Benjamin Smedberg
d79f9af814
Bug 461576 - nsListBoxBodyFrame shouldn't need to implement nsIListBoxObject - r=enn sr=roc
2008-10-28 00:47:19 -04:00
Bernd
0e01e613b1
bug 448543, video frame creation is tag based not display type based so this is special content r/sr=bzbarsky
2008-10-26 10:22:35 +01:00
Arpad Borsos
c72ef7d248
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Mats Palmgren
56de412294
Bug 455063. Make sure we don't lose track of our initial containing block. r+sr=roc
2008-10-08 09:07:04 -04:00
Boris Zbarsky
3d3ffffc5e
Bug 452964. Don't flag pseudo-frames wrapping generated content as themselves being generated content, since they might be shared with non-generated content. r+sr=roc.
2008-10-07 14:53:22 -04:00
Robert O'Callahan
fa9c29cdcd
Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats
2008-10-01 13:51:05 +13:00
Robert O'Callahan
4fc9cfd0c6
Backing out bug 455984 to see if it fixed Tp crashes
2008-10-01 00:28:20 +13:00
Robert O'Callahan
4fdd181cd0
Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats
2008-09-30 21:47:20 +13:00
Keith Schwarz
48a87265ac
Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc
2008-09-13 21:42:11 +12:00
Taras Glek
74132a5585
bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst
2008-09-12 15:32:18 -07:00
Mats Palmgren
f428c8c194
Don't create a frame for the root element if it's styled display:none. b=454361 r+sr=roc
2008-09-12 03:36:58 +02:00
Robert O'Callahan
b52d3794d5
Bug 450340. Support SVG mask/clip-path/filter CSS properties applied to non-SVG content. r=longsonr,sr=mats
2008-09-11 12:24:16 +12:00
Robert O'Callahan
311213e939
Bug 243519. Rework root element frame construction and the CanvasFrame so that the CanvasFrame is an abs-pos container and the root element frame can be positioned. r=fantasai,sr=dbaron
2008-09-08 20:13:17 +12:00
Zack Weinberg
1ebad2d826
Bug 441367 - reduce repetitive code in nsRuleNode.cpp with SetDiscrete() and SetFactor() helper functions. r+sr=dbaron
2008-09-06 06:56:23 -07:00
Robert O'Callahan
36e333a796
Backing out changesets 75919d3eb3d0 and 14ce7619e9c1 due to test failures
2008-09-07 00:35:20 +12:00
Robert O'Callahan
75d693298a
Bug 243519. Fix the crashtest so that it doesn't bomb out with a JS error without completing the actual test. And make it (and Acid3) actually pass without screwing up the frame tree.
2008-09-06 22:21:37 +12:00
Robert O'Callahan
c2ca6a7204
Bug 243519. Rework root element frame construction and the CanvasFrame so that the CanvasFrame is an abs-pos container and the root element frame can be positioned. r=fantasai,sr=dbaron
2008-09-06 21:35:05 +12:00
romaxa
c303931386
Bug 376533 - "uClibc strings/index and childiterator.index conficts" [r=dbaron]
...
Index: mozilla/layout/base/nsCSSFrameConstructor.cpp
===================================================================
RCS file: /cvsroot/mozilla/layout/base/nsCSSFrameConstructor.cpp,v
retrieving revision 1.1453
2008-08-20 01:15:26 -05:00
Robert O'Callahan
d1b609d2a5
Bug 451168 - "Borders around folder icons in directory listings (e.g. when viewing FTP sites)" [r+sr=bzbarsky]
2008-08-19 22:50:31 -05:00
Robert O'Callahan
edc33b1edc
Bug 238072. Make generated content take the normal frame construction path. Relanding with changes so that counter and quote nodes are initialized after their frames are available, more like the old code. r+sr=dbaron,bzbarsky
2008-08-18 13:16:42 +12:00
Robert Longson
d388bfe998
Bug 450495 - Make foreignObject a mandatory part of SVG. r+sr=roc
2008-08-17 12:18:21 +01:00
Robert O'Callahan
8ea6018a9d
Bug 438987. Propagate background color correctly when the root element is a table. Relanding with a crash fix. r+sr=dbaron
2008-08-08 20:21:13 +12:00
Robert O'Callahan
b52d1fcfd0
Bug 438987, backing out
2008-08-08 15:34:43 +12:00
Robert O'Callahan
3402e96123
Bug 438987. Propagate background color correctly when the root element is a table. r+sr=dbaron
2008-08-08 13:52:41 +12:00
Robert O'Callahan
e77bdf3d25
Bug 238072 backout
2008-08-07 22:22:08 +12:00
Robert O'Callahan
dcf51d2a34
Bug 238072. Rework generated content support to match CSS 2.1, making generated content take the normal frame construction path so supporting any style applied to it (including 'position', 'float', etc). r+sr=bz,r=dbaron
2008-08-07 13:18:24 +12:00
Robert O'Callahan
ab2b084996
Bug 447567. Instead of brutally wiping out effects properties whenever the style context changes for an SVG frame (which wouldn't work for non-SVG frames), create a new style change hint to handle it. r=longsonr,sr=dbaron
2008-08-06 12:55:07 +12:00
Robert Longson
2870a18b00
bug 445687 - Should not be able to nest text r+sr=roc
2008-08-05 14:07:03 +01:00
Robert O'Callahan
4370d37432
Bug 419285. nsCSSFrameConstructor should stop looking for first-letter content after a <br>. r+sr=dbaron
2008-07-29 22:02:00 -07:00
Boris Zbarsky
cf97a35f54
Bug 431520 followup. Actually return a value!
2008-07-29 01:17:28 -07:00
Boris Zbarsky
09d4442e30
Bug 431520. Don't do first-line styling on fieldsets, because it confuses the legend code, and it's not clear what it should even do. r+sr=dbaron
2008-07-28 23:08:57 -07:00
L. David Baron
4886266e3a
Don't restyle slow selectors for changes to anonymous content (non-native-anonymous). (Bug 436453) r+sr=bzbarsky
2008-07-22 21:50:20 -07:00
L. David Baron
1347910ac9
Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky
2008-07-22 21:50:20 -07:00
Robert O'Callahan
7644127121
Bug 444688. Use an IsFrameOfType check instead of a frame state bit to detect whether a frame excludes ignorable whitespace children. r+sr=dbaronlayout
2008-07-14 10:41:18 +12:00
Karuna (karunasagark@gmail.com)
0eb449dd2a
Bug 409331. Instead of QIing to nsBlockFrame in various places, call an nsLayoutUtils method to do it. r+sr=roc
2008-07-14 10:10:23 +12:00
Robert Longson
4f5be1e4c9
Bug 409383 - Make dynamic changes to switch children work and fix transient switch errors. r=jwatt,sr=roc
2008-07-13 12:30:48 +01:00
Chris Double
91826e2fd0
Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc
2008-07-09 20:22:20 +12:00
Benjamin Smedberg
556cf36dc9
Bug 442729 - Annotate stack-only classes in layout, r+sr=roc
2008-07-01 15:16:45 -04:00
Robert O'Callahan
2fbc888fb7
Bug 438997. DoApplyRenderingChangeToTree should not invalidate SVG frames. r+sr=dbaron.
2008-06-14 20:29:41 +12:00
L. David Baron
f86da081cc
Don't restyle slow selectors for changes to native anonymous content. (Bug 436453) r+sr=bzbarsky
2008-06-10 17:26:59 -07:00
dholbert@cs.stanford.edu
b7a5c89466
Bug 427017: Disable page-break-before/after for fixed- & absolutely-positioned elements. Also, fix assertion during an iterator-comparison by handling case where lineBox is in overflow-lines. r=fantasai sr=roc a1.9=beltzner
2008-04-11 22:32:49 -07:00
jonas@sicking.cc
f6bc46eb38
Backing out due to test failures
2008-04-08 20:20:39 -07:00
jonas@sicking.cc
aedea05d90
Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking
2008-04-08 19:06:27 -07:00
Olli.Pettay@helsinki.fi
060a5a3d0c
Bug 421209, r=cpearce, sr=jst, a=beltzner
2008-03-20 13:24:36 -07:00
mats.palmgren@bredband.net
6ee97a22eb
Fix a compile warning. b=399694 r+sr=dbaron a1.9=damons
2008-03-15 02:01:36 -07:00
Olli.Pettay@helsinki.fi
652c1e007c
Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking
2008-02-26 04:40:18 -08:00
roc+@cs.cmu.edu
518856f1c7
Bug 399852. Experimental relanding to collect data from centos5.
2008-02-19 01:16:20 -08:00
dbaron@dbaron.org
e3536c41e1
Fix handling of dynamic changes for advanced CSS selectors (and avoid the cost of doing so in the normal case). b=401291, 75386, 98997, 229915, 404418 (blocking1.9+) r+sr=bzbarsky a=blocking1.9+ on 404418
2008-02-18 22:17:07 -08:00
enndeakin@sympatico.ca
ef4aef043d
Bug 415503, crash with popupgroup, r+sr=bz
2008-02-14 13:45:29 -08:00
bzbarsky@mit.edu
8a61c4849e
Make sure to push a null float containing block for <mtd>. Bug 399676, r+sr=roc
2008-02-13 14:06:59 -08:00
roc+@cs.cmu.edu
4a6b816dec
Backing out bug 399852 again, looks like it caused more focus-related mochitest failures
2008-02-11 19:04:48 -08:00
roc+@cs.cmu.edu
35dc50961d
Bug 399852. Suppress focus changes during content updates, reboot focus after the update has finished. patch by Chris Pearce, r+sr=roc
2008-02-11 17:57:18 -08:00
dbaron@dbaron.org
d68725b23c
Force reflow on default font change, since style data comparison is not sufficient for things not reflected in style data. b=394057 r+sr=roc a=blocking1.9+
2008-02-08 11:52:46 -08:00
fantasai.cvs@inkedblade.net
3cf5f1aeed
handle dynamic insertion with overflow containers properly, b=403369 r=bzbarsky sr=roc
2008-01-27 00:13:19 -08:00
roc+@cs.cmu.edu
a93abc37c9
Bug 413292. Make Begin/EndUpdateViewBatch be sure to remove the batch-count from the same viewmanager we added one to. r+sr=bzbarsky
2008-01-26 15:59:50 -08:00
dbaron@dbaron.org
e84d07b934
Improve the warning that shows up when pages use -moz-inline-box. b=413195 r+sr=bzbarsky a=beltzner
2008-01-25 13:06:36 -08:00
longsonr@gmail.com
27f2ec1f1f
Backout bug 413016 in case it is causing qm-mini-ubuntu05 failure
2008-01-22 08:37:34 -08:00
longsonr@gmail.com
859e7e0c8e
Bug 413016 - ASSERTION: SVG frame expected with svg:after in SVG document. r+sr=bzbarsky,a1.9=mtschrep
2008-01-22 07:22:58 -08:00
mats.palmgren@bredband.net
c3b9d46ae9
Ignore restyle requests once PresShell::Destroy() has been called. b=279505 r+sr=bzbarsky a=mtschrep
2008-01-18 10:18:19 -08:00
longsonr@gmail.com
630188c014
Bug 409461 - ASSERTION: SVG frame expected with svg:after. r+sr=bzbarsky,a1.9=beltzner
2008-01-17 08:28:57 -08:00
dholbert@cs.stanford.edu
e66b5b8b2a
Backing out 399852 due to mac mochitest failures
2008-01-15 16:56:43 -08:00
dholbert@cs.stanford.edu
02315d843d
Bug 399852 - Crash [@ nsCSSFrameConstructor::FindFrameWithContent] with position: fixed, focusing and contenteditable, patch by Chris Pearce <chris@pearce.org.nz>, r+sr=roc, a=blocking1.9+ (re-landing; mochitest failures should be fixed)
2008-01-15 16:19:47 -08:00
mats.palmgren@bredband.net
b94c5271df
Try all continuations of the block when looking for a letter frame. b=408493 r+sr=bzbarsky a=blocking1.9
2008-01-15 01:25:17 -08:00
roc+@cs.cmu.edu
71377762e9
Backing out 410489 to fix test failures
2008-01-09 16:40:07 -08:00
martijn.martijn@gmail.com
334bf6c7b6
Bug 399852 - Crash [@ nsCSSFrameConstructor::FindFrameWithContent] with position: fixed, focusing and contenteditable, patch by Chris Pearce, r+sr=roc, a=blocking1.9+
2008-01-09 13:44:59 -08:00
roc+@cs.cmu.edu
ab982faa16
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-09 01:38:28 -08:00
karlt+@karlt.net
04c40a6aa8
Bug 348577 - Implement MathML <mtable> with display:inline-table (mtable has incorrect baseline). Patch by Bill Gianopoulos <wgianopoulos@yahoo.com>, r=rbs, sr=bzbarsky.
2008-01-08 18:14:35 -08:00
roc+@cs.cmu.edu
96da482e7e
backing out bug 355548 due to test failures
2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
c816d4ca4f
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-08 14:36:46 -08:00
bzbarsky@mit.edu
dc7ecebfee
Make image controls splittable just like regular images. Bug 409659, r+sr=roc, a=dsicore
2008-01-04 22:44:38 -08:00
neil@parkwaycc.co.uk
b22e83627e
Make XUL elements really native anonymous b=410119 r=smaug sr+a=sicking
2008-01-04 03:24:41 -08:00
dtownsend@oxymoronical.com
c63e1d2fe3
Backout of bug 409383 to correct test failure on fxdbug-win32-tb.
2008-01-03 12:19:21 -08:00
longsonr@gmail.com
199b819405
Bug 409383 - Switch sometimes ends up with multiple child frames. r+sr=roc,a1.9=beltzner
2008-01-03 06:30:02 -08:00
ginn.chen@sun.com
a6e0fa5975
Bug 398362 First menuitem is not selected when opening a menu for the first time r=enndeakin sr=bzbarsky
2008-01-01 21:33:30 -08:00
enndeakin@sympatico.ca
b6d58ed9fd
Bug 400185, crash with popupgroup, disallow using popupgroups and only create a frame for the native anonymous one, r+sr=bz
2007-12-20 06:46:12 -08:00
roc+@cs.cmu.edu
bc82216410
Bug 363729. Don't allow fixed-pos tables to have abs-pos children. r=dholbert,sr=dbaron
2007-12-11 17:21:34 -08:00
smontagu@smontagu.org
43a5e11b2a
Only try to process first-letter frames when they exist. Bug 404209, r+sr+b=roc
2007-12-05 00:15:15 -08:00
reed@reedloden.com
0a89edbe84
Bug 368554 - "[quirks] Image inside table inside table-cell with small width is wrapped" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+]
2007-12-03 01:24:49 -08:00
bzbarsky@mit.edu
6c0d0c1564
Fix bug 404666 by making spanned colframes be continuations of the col that spans them. r=bernd, sr=roc, a=schrep
2007-12-02 23:45:06 -08:00
bzbarsky@mit.edu
1d35345354
Fix FindFrameWithContent to properly walk out-of-flows. Bug 405186, r+sr=roc, a=beltzner
2007-11-28 11:58:04 -08:00
bzbarsky@mit.edu
534ae34647
Fix bug 403134. r+sr=roc
2007-11-25 16:15:20 -08:00
ginn.chen@sun.com
111fb91bf5
Bug 396799 Menus on the Application menu bar sometimes claim to be menuitems r=enndeakin, aaronleventhal sr=neil a=dsicore
2007-11-21 22:14:39 -08:00
bzbarsky@mit.edu
5b35164999
Don't pass around redundant information, so it can't get out of sync. Bug 404218, r+sr=roc, a=schrep
2007-11-19 20:21:29 -08:00
roc+@cs.cmu.edu
37aedf0dc8
Bug 403659. Instead of trying to move frames around in the hierarchy after we've discovered they should be inserted after ::before content, just construct them at the right position in the first place. r+sr=bzbarsky
2007-11-18 13:52:17 -08:00
bzbarsky@mit.edu
a2bba38560
The frame model depends on the span attribute, so changing span should reconstruct frames. Bug 403249, r=bernd, sr=roc
2007-11-18 10:56:49 -08:00
bzbarsky@mit.edu
97a48472f2
Fix bug 403733: dynamic legend insertion should not use text as valid siblings. r+sr=roc, a=schrep
2007-11-14 22:18:28 -08:00
bzbarsky@mit.edu
0b3d9907c6
Don't assume that GetPrimaryFrameFor actually works correctly. Bug 403245, r+sr+a=roc
2007-11-11 16:47:50 -08:00
bzbarsky@mit.edu
50b5d2c559
When invalidating the canvas, do a DEFERRED view batch to prevent us entering reflow under frame construction. Bug 402713, r+sr=roc, a=schrep
2007-11-11 11:09:45 -08:00
bzbarsky@mit.edu
89ecb9cd7d
Give placeholders for out-of-flow tables the right parent style context. Bug 403175, r+sr+roc, a=schrep
2007-11-11 11:07:11 -08:00
bzbarsky@mit.edu
091fda2e63
Use a stack array for the pending restyles unless there are lots of them. Bug 403113, r+sr+a=roc
2007-11-08 22:09:22 -08:00
bzbarsky@mit.edu
e9635c3f89
Give first-line and first-letter frames the right parent style context. Bug 398803, r+sr+a=roc
2007-11-08 21:29:06 -08:00
reed@reedloden.com
26125471f4
Bug 399940 - Prevent content duplication by having ContentRemoved tell us whether it already reconstructed frames and therefore ContentInserted need not be called [p=roc r+sr=bzbarsky a=blocking1.9+]
2007-11-07 20:39:02 -08:00
reed@reedloden.com
2d87e5219c
Bug 398733 - The first *continuation* for an element should be the abs-pos container frame, not just any one of its first-in-flows [p=roc r+sr=bzbarsky a=blocking1.9+]
2007-11-07 20:36:46 -08:00
dholbert@cs.stanford.edu
9f681499ba
Bug 398797: let rel.-positioned inline-blocks be containing blocks for abs. content. r+sr=bz, a=blocking1.9+
2007-11-07 12:00:51 -08:00
bzbarsky@mit.edu
fcb3515eaa
Refactor and improve sibling frame finding, especially for popups. Bug 386642, r+sr=roc, a=vlad
2007-11-07 09:04:16 -08:00
dbaron@dbaron.org
8ab0d173c8
Make boxes that have non-box non-block children wrap all their children in a block. b=321402 r+sr=roc, a=blocking1.9+/M9
2007-10-25 16:30:49 -07:00
mats.palmgren@bredband.net
ee23acbade
Call WillDestroyFrameTree() before destroying the frame tree in ReconstructDocElementHierarchyInternal() because we have cleared the placeholder map etc at this point and we don't want RemoveMappingsForFrameSubtree() to mess with it. Also, remove the RemoveMappingsForFrameSubtree() call that was added in bug 372685 which was wrong since all the frames on a popupset's ::popupList are out-of-flows that are reachable (directly or indirectly) from a normal flow placeholder. b=398982 r+sr=bzbarsky a=dsicore
2007-10-23 17:02:26 -07:00
reed@reedloden.com
27f262680b
Completely backout patch from Jonathan Steele in bug 399753 due to bustage.
2007-10-14 20:42:27 -07:00
reed@reedloden.com
5f6ec433bc
Bug 399753 - "Remove "nsISupportsArray" in the layout directory" [p=xfsunoles@gmail.com (Jonathan Steele) r+sr+a1.9=dbaron]
2007-10-14 20:09:59 -07:00
roc+@cs.cmu.edu
036806699a
Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky
2007-10-12 01:30:54 -07:00
bzbarsky@mit.edu
1b7454e98c
Fix regression tests. Bug 398510
2007-10-10 22:17:18 -07:00
bzbarsky@mit.edu
0578f2967b
Don't allow first-letter on the block inside a mathml table cell. Bug 398510, r+sr+a=roc
2007-10-10 21:36:48 -07:00
bzbarsky@mit.edu
05edb8f1b8
Fix bug 399219. r=roc, sr=neil, a=roc
2007-10-10 15:14:41 -07:00
bzbarsky@mit.edu
39356896dd
Elimninate the last known source of bogus "wrong parent style context" warnings, and make these warnings into assertions. Bug 374297, r+sr+a=dbaron
2007-10-08 19:45:10 -07:00
bzbarsky@mit.edu
b06fa80dae
Fix bug 398326. Make sure to let the frame constructor know before constructing frames. r+sr+a=dbaron.
2007-10-08 19:34:58 -07:00
roc+@cs.cmu.edu
d7402d3ddb
Bug 395331. Fix FindPrimaryFrameFor by noticing that an element can be in anonymous content if the binding root is a binding *ancestor*, not just a binding *parent*. r+sr=bzbarsy
2007-10-07 19:42:50 -07:00
mats.palmgren@bredband.net
6954836ce0
Make the GetListBoxBody() call from the frame constructor not Flush_Frames. b=392285 r+sr=bzbarsky a=dsicore
2007-10-06 08:03:35 -07:00
dholbert@cs.stanford.edu
054a0363b4
Bug 395316 - Clear OutOfFlowFrame after unregistering placeholder, and make recursive call to RemoveFrame. r/sr/a=roc
2007-10-02 20:44:18 -07:00
fantasai.cvs@inkedblade.net
404e205908
paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc
2007-10-01 22:57:45 -07:00
bzbarsky@mit.edu
96e7019482
Add asserts to catch dangerous cases. Bug 398108, r+sr+a=dbaron
2007-10-01 21:37:36 -07:00
bzbarsky@mit.edu
2795d62975
Make sure to be in an update when we do frame construction. Bug 393326, r+sr+a=dbaron
2007-09-30 20:15:45 -07:00
bzbarsky@mit.edu
12a3228bb7
Fix content leak due to double-init of oveflow placeholders. Bug 397011, r+sr+a=roc
2007-09-21 18:24:40 -07:00
bzbarsky@mit.edu
a38067105e
Simplify reflow and restyle event processing a tad. Bug 396099, r+sr+a=roc
2007-09-20 19:47:19 -07:00
bzbarsky@mit.edu
318e376b4c
Process XBL constructors after processing style reresolves. In particular, this makes sure that we process the former even if there were none of the latter. Bug 394676 and bug 394014, r=smaug, sr=sicking, a=roc
2007-09-14 12:15:44 -07:00
bzbarsky@mit.edu
d647423c6d
Fix bug 394111. r+sr+a=bzbarsky
2007-09-02 18:28:08 -07:00
bzbarsky@mit.edu
74aec61462
Fix bug 393671. r+sr+a=roc
2007-08-26 19:48:43 -07:00
bzbarsky@mit.edu
55ae5e5e09
Fix crash bug 393517. r+sr=roc, a=dbaron
2007-08-26 17:20:52 -07:00
bzbarsky@mit.edu
cbba1a5cfe
Set the property on the right frame. Bug 393649, r+sr=dbaron, a=roc
2007-08-26 17:18:25 -07:00
bzbarsky@mit.edu
60154a67fd
Be less noisy in debug builds.
2007-08-26 11:27:00 -07:00
joshmoz@gmail.com
867c6f279d
clean up some unused variables and calls. no bug. sr/a=bz
2007-08-19 23:33:14 -07:00
bzbarsky@mit.edu
edae704411
Put back in an optimization that we apparently really do need. Bug 390425, r+sr+a=roc
2007-08-15 21:27:07 -07:00
bzbarsky@mit.edu
c9d066d8c3
Backing out test patch
2007-08-15 21:01:51 -07:00
bzbarsky@mit.edu
48258ed324
Testing a fix for the perfomrance regression. Bug 390425, no reviews, no approval, will back out once I have some data.
2007-08-15 20:14:48 -07:00
bzbarsky@mit.edu
79546f9859
Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc
2007-08-15 16:20:25 -07:00
aaronleventhal@moonset.net
283dbaaf31
Bug 390692. Fix live region support to provide useful information on the node that's being shown or hidden, or has a text change event. r=ginn.chen, sr=roc, a=roc
2007-08-10 18:44:44 -07:00
bzbarsky@mit.edu
4a6e81a98b
Back out bug 390425 to fix performance regression.
2007-08-10 15:55:21 -07:00
bzbarsky@mit.edu
f8925181f0
Simplify handling of {ib} splits. Bug 390425, r+sr=roc, a=dbaron
2007-08-10 13:02:11 -07:00
bzbarsky@mit.edu
0c44f011cf
Don;t process pseudo-frames if we're not going to actually create a replaced element frame (or in fact any frame at all, in this case!). Bug 391140, r=bernd, sr+a=roc
2007-08-10 10:18:11 -07:00
enndeakin@sympatico.ca
5340e19698
Bug 390420, select dropdowns appearing in the wrong place in some cases, r+bz,a=dbaron
2007-08-10 05:42:06 -07:00
bzbarsky@mit.edu
2ba1468134
Better handling of appending captions. Bug 387544, r=bernd, sr=roc, a=dbaron.
2007-08-07 18:19:04 -07:00
fantasai.cvs@inkedblade.net
52166cc918
Bug 389619 - Duplicate frames for content in nested fixed-position divs, when on second page in print-preview, patch by dholbert, r+sr=roc, a=dbaron
2007-08-07 16:53:56 -07:00
fantasai.cvs@inkedblade.net
714ca4fc4e
Bug 389767 - Regression: Fixed-position items are missing on 2nd page of print-preview, fixed on behalf of HP, r+sr=bzbarsky
2007-08-07 09:06:56 -07:00
bzbarsky@mit.edu
7a48b0d97d
Remove bogus assertion. Bug 314307, r+sr=roc, a=dbaron
2007-08-02 14:54:39 -07:00
bzbarsky@mit.edu
331a767fbd
Make ContentInserted for captions more like ContentAppended and normal frame construction. Bug 386014, r=bernd, sr=roc, a=dbaron
2007-08-02 14:29:51 -07:00
bzbarsky@mit.edu
4754770d23
Don't set up counters for the anon cols set up by a <col span="n">. Bug 385866, r+sr+a=dbaron
2007-08-02 14:23:25 -07:00
bzbarsky@mit.edu
f3dde487e1
Get the right style context for the blockframe containing an mtable. Bug
...
384649, r+sr=dbaron
2007-08-02 11:30:43 -07:00
bzbarsky@mit.edu
193b24d312
Remove bogus assert. Bug 350128, r+sr=roc, a=dbaron
2007-08-02 11:11:44 -07:00
sharparrow1@yahoo.com
cb8372b00c
Bug 386266: Crash [@ nsFrameManager::UnregisterPlaceholderFrame] or assertions with -moz-column and float. r+sr=bzbarsky, a=blocking1.9+
2007-08-02 10:20:45 -07:00
Olli.Pettay@helsinki.fi
bd0b7ea6d7
Backing out bug 275196, xml:id, to fix tp regression
2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
e8dba5a1b4
Bug 275196, xml:id, r=sicking, sr=dbaron
2007-07-26 05:22:01 -07:00
roc+@cs.cmu.edu
a28eeaaafd
Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc
2007-07-25 21:03:29 -07:00
asqueella@gmail.com
04264029fb
Bug 388761 - fix MOZ_XUL-disabled builds
...
p=romaxa <romaxa@gmail.com>
r+sr=roc
2007-07-23 17:04:36 -07:00
asqueella@gmail.com
2604465594
fix bug 388709 - "ASSERTION: Please remove this from the document properly: '!IsInDoc()'" with :after, floating :first-letter
...
Store the generated content as a nsCOMArray<nsIContent>* property on frames to make its clean-up on frame destruction less fragile.
r+sr=roc
2007-07-23 16:31:11 -07:00
roc+@cs.cmu.edu
6ce95b8340
Bug 385354. When appending the first child of an element with :before content, we need to make sure we append after the :before frames for the element. r+sr=dbaron
2007-07-18 21:25:17 -07:00
bzbarsky@mit.edu
d074804c35
Propagate stylesheet principals through to XBL binding loads; streamline load
...
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo). Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.
In particular, this change allows user stylesheets loaded from local files to
link to local files.
2007-07-18 14:56:57 -07:00
longsonr@gmail.com
166be8816d
Bug 375173 - svg switch occasionally displays multiple children. r+sr=roc
2007-07-13 02:58:48 -07:00
bzbarsky@mit.edu
4d53ccf996
Make attribute changes that also cause a state change properly reresolve style
...
when a selector uses both the state and the attribute. Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
enndeakin@sympatico.ca
59c3596049
Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz
2007-07-04 08:49:38 -07:00
roc+@cs.cmu.edu
ca0e143181
Bug 383129. Don't treat tree-related XUL tags as special when they're root elements. r+sr=bzbarsky
2007-07-03 20:20:04 -07:00
bzbarsky@mit.edu
eca3a4a55a
Menubars are special on OSX too. Bug 385880, r=bernd, sr=roc
2007-07-03 11:48:57 -07:00
longsonr@gmail.com
5b8308915c
Bug 384391 - make sure outer svg is constructed only for svg:svg. Revisited to fix crashes (bug 385840 and bug 385852). r+sr=roc
2007-07-02 05:20:13 -07:00
enndeakin@sympatico.ca
8a87437d5f
Bug 279703, backing out the popup changes due to performance regressions. sigh.
2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
534c14e326
Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz
2007-06-29 12:04:45 -07:00
roc+@cs.cmu.edu
5fe6149b7e
Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron
2007-06-26 19:31:35 -07:00
smontagu@smontagu.org
0a67bb4f9e
Remove unused argument 'aAttribute' in nsCSSFrameConstructor::StyleChangeReflow. Bug 382244, r+sr=dbaron
2007-06-24 02:35:22 -07:00
tor@cs.brown.edu
c7e0ea69d0
Bug 384391 - maks sure outer svg is constructed only for svg:svg. r=bz, sr=roc
2007-06-21 08:05:05 -07:00
jwalden@mit.edu
eb23f00329
Add an omitted word to a comment.
2007-06-15 14:37:03 -07:00
roc+@cs.cmu.edu
69030508c5
Bug 366128. Restrict disabling of floats in XUL to cases where the container is not a float containing block. r+sr=bzbarsky
2007-06-13 02:13:25 -07:00
roc+@cs.cmu.edu
d1051274ea
Bug 356325. Don't let WipeContainingBlock wipe out anonymous popops. Popups, decks and groupboxes are not really inline. r+sr=dbaron
2007-06-06 20:22:00 -07:00
roc+@cs.cmu.edu
cf44694542
Bug 322436. Disable floats inside XUL. r+sr=bzbarsky
2007-06-06 20:16:25 -07:00
sharparrow1@yahoo.com
b7b65effc9
Bug 381621: Get rid of nsBoxFrame::AddRef/Release, plus a few misc cleanups. r+sr=dbaron.
2007-05-22 13:34:00 -07:00
bzbarsky@mit.edu
93a4cec0b0
Use the right parent when resolving style contexts in IsValidSibling. Bug380096, r=bernd, sr=roc
2007-05-15 20:18:50 -07:00
Olli.Pettay@helsinki.fi
4e3fb730b4
Bug 379621, Call PostCreateFrames after creating all native anonymous frames, r+sr=roc
2007-05-10 11:16:00 -07:00
bzbarsky@mit.edu
aa29dd4d43
Rename some functiosn as suggested by dbaron. Bug 379799 followup.
2007-05-07 12:03:24 -07:00
bzbarsky@mit.edu
f48bc27fc7
Better check for first-letter. Bug 379799, r+sr=dbaron
2007-05-07 10:57:33 -07:00
bzbarsky@mit.edu
44ecbe458d
Back out bug 377850 -- it regresses bug 71191, and causes bug 379920.
2007-05-06 23:51:57 -07:00
bzbarsky@mit.edu
1b5f6b30b6
Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts.
2007-05-06 12:16:51 -07:00
bzbarsky@mit.edu
3fffd1fdc3
Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron
2007-05-04 23:47:09 -07:00
bzbarsky@mit.edu
d32b8338c4
Bail out of ReconstructDocElementHierarchy early if there is no root frame(which shouldn't even happen!). Bug 377850, r=mats, sr=dbaron
2007-05-04 23:12:44 -07:00
joshmoz@gmail.com
30d491a760
Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron
2007-05-02 00:46:50 -07:00
bzbarsky@mit.edu
968fb02e3d
Resolve the right (parentless) style context for a table as a document root,and fix the assertion when adjusting parent style context frames to not triggerin non-scrollable documents. Bug 378693, r+sr=roc
2007-04-25 19:26:25 -07:00
bzbarsky@mit.edu
9375a2fa83
Don't use the same pseudo-element name to mean two different things. Bug377824, r+sr=dbaron
2007-04-20 14:27:02 -07:00
bzbarsky@mit.edu
884eb773c8
Improve detection of blocks with first-letter style. Bug 372550, r+sr=dbaron
2007-04-15 17:42:54 -07:00
bzbarsky@mit.edu
34b2a1abb4
Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron
2007-04-15 17:11:34 -07:00