1364 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
b5b433a6b7 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.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
enndeakin%sympatico.ca
66f6fed78b 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
git-svn-id: svn://10.0.0.236/trunk@229322 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 15:49:46 +00:00
roc+%cs.cmu.edu
a3b78f208e Bug 383129. Don't treat tree-related XUL tags as special when they're root elements. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@229303 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 03:20:04 +00:00
bzbarsky%mit.edu
0472bf9f0b Menubars are special on OSX too. Bug 385880, r=bernd, sr=roc
git-svn-id: svn://10.0.0.236/trunk@229262 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 18:48:57 +00:00
longsonr%gmail.com
8ee464f3d7 Bug 384391 - make sure outer svg is constructed only for svg:svg. Revisited to fix crashes (bug 385840 and bug 385852). r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@229142 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 12:20:13 +00:00
enndeakin%sympatico.ca
31eeecce7d Bug 279703, backing out the popup changes due to performance regressions. sigh.
git-svn-id: svn://10.0.0.236/trunk@229020 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 22:16:06 +00:00
enndeakin%sympatico.ca
bc283952f4 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz
git-svn-id: svn://10.0.0.236/trunk@229013 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 19:04:52 +00:00
roc+%cs.cmu.edu
e5b5169706 Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228806 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 02:31:35 +00:00
smontagu%smontagu.org
ed0b8a7cc4 Remove unused argument 'aAttribute' in nsCSSFrameConstructor::StyleChangeReflow. Bug 382244, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228645 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-24 09:35:23 +00:00
tor%cs.brown.edu
292051be4e Bug 384391 - maks sure outer svg is constructed only for svg:svg. r=bz, sr=roc
git-svn-id: svn://10.0.0.236/trunk@228428 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-21 15:05:05 +00:00
jwalden%mit.edu
ea4c6420a5 Add an omitted word to a comment.
git-svn-id: svn://10.0.0.236/trunk@228140 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-15 21:37:03 +00:00
roc+%cs.cmu.edu
ffb0f5620e Bug 366128. Restrict disabling of floats in XUL to cases where the container is not a float containing block. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@227957 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-13 09:13:25 +00:00
roc+%cs.cmu.edu
799b2da493 Bug 356325. Don't let WipeContainingBlock wipe out anonymous popops. Popups, decks and groupboxes are not really inline. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227627 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-07 03:22:00 +00:00
roc+%cs.cmu.edu
7567e3862d Bug 322436. Disable floats inside XUL. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@227626 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-07 03:16:25 +00:00
sharparrow1%yahoo.com
d387c5a846 Bug 381621: Get rid of nsBoxFrame::AddRef/Release, plus a few misc cleanups. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@226807 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 20:34:00 +00:00
bzbarsky%mit.edu
ada9f6f2b1 Use the right parent when resolving style contexts in IsValidSibling. Bug
380096, r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@226499 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 03:18:50 +00:00
Olli.Pettay%helsinki.fi
8e19145a0d Bug 379621, Call PostCreateFrames after creating all native anonymous frames, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226266 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 18:16:00 +00:00
bzbarsky%mit.edu
127cac5da6 Rename some functiosn as suggested by dbaron. Bug 379799 followup.
git-svn-id: svn://10.0.0.236/trunk@226070 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 19:03:24 +00:00
bzbarsky%mit.edu
7c45b2cbf7 Better check for first-letter. Bug 379799, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226057 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 17:57:33 +00:00
bzbarsky%mit.edu
52da9e78ec Back out bug 377850 -- it regresses bug 71191, and causes bug 379920.
git-svn-id: svn://10.0.0.236/trunk@226026 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 06:51:57 +00:00
bzbarsky%mit.edu
ba5badedcb Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
the method, instead of setting them before calling the method.  That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children.  This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call.  Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.


git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
bzbarsky%mit.edu
3a2aee02f0 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225952 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:47:09 +00:00
bzbarsky%mit.edu
9b0c5a7646 Bail out of ReconstructDocElementHierarchy early if there is no root frame
(which shouldn't even happen!).  Bug 377850, r=mats, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225947 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:12:44 +00:00
joshmoz%gmail.com
0bfd5f5156 Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225436 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 07:46:50 +00:00
bzbarsky%mit.edu
7c49bd8a89 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 trigger
in non-scrollable documents.  Bug 378693, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225066 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:26:25 +00:00
bzbarsky%mit.edu
8d22ae89ff Don't use the same pseudo-element name to mean two different things. Bug
377824, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224808 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 21:27:02 +00:00
bzbarsky%mit.edu
298f4922e3 Improve detection of blocks with first-letter style. Bug 372550, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224563 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 00:42:54 +00:00
bzbarsky%mit.edu
160bb21d7b Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224562 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 00:11:34 +00:00
bzbarsky%mit.edu
03efa866b7 Change the way we determine the style context parent frame to skip css anon
boxes unless we're determining the style context parent for something that is
itself a css anon box (and is not a non-element frame).  Fixes bug 323656
(which is where the patch is), bug 85872, bug 280610.  As far as I can tell,
also fixes bug 317876, bug 372376, bug 374297.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224561 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 23:14:27 +00:00
roc+%cs.cmu.edu
817b30368a Bug 376223. Make frame construction for XUL listbox content grab pseudo frames if necessary. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224493 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-13 16:50:57 +00:00
bzbarsky%mit.edu
7bd0cdb140 Treat <mtable> as special, since the outermost frame it creates is not in fact
a table-related frame.  Bug 374193, r=bernd, sr=rbs


git-svn-id: svn://10.0.0.236/trunk@224353 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-10 16:24:02 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
sharparrow1%yahoo.com
783659454a Bug 372037: CSS clip property should clip the overflow rect as well as the paint rect; r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@222445 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 03:58:17 +00:00
enndeakin%sympatico.ca
7fe266a9bd Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222382 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 03:27:53 +00:00
roc+%cs.cmu.edu
aed2475015 Bug 372237. Make DoDeletingFrameSubtree skip overflowOutOfFlow child lists since they contain out-of-flow frames. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221755 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-11 20:29:20 +00:00
bzbarsky%mit.edu
22cd821e27 Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@221651 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 23:43:50 +00:00
longsonr%gmail.com
905d1ce64d Bug 371256 - combining SVG a and text elements leads to validation problems. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@221542 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 13:50:46 +00:00
bzbarsky%mit.edu
1646da9ee6 Back out bug 267833 to test performance effect.
git-svn-id: svn://10.0.0.236/trunk@221409 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 21:12:49 +00:00
mats.palmgren%bredband.net
39daba4d12 Ignore calls to RemoveMappingsForFrameSubtree() after WillDestroyFrameTree() have been called. b=372576 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221408 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 21:07:21 +00:00
bzbarsky%mit.edu
dc7b70aa9c Fire XBL constructors asynchronously after binding attachment, unless we're in
the middle of an update.  In that case, fire them at the end of the update.
Bug 267833, r+sr=sicking, fingers-crossed=me


git-svn-id: svn://10.0.0.236/trunk@221404 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 19:36:36 +00:00
bzbarsky%mit.edu
15ce1d5c6f Only reframe a <frameset> frame if adding a child <frame> or <frameset>. Bug
370430, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@221291 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-05 00:11:23 +00:00
mats.palmgren%bredband.net
63f62851fd [DEBUG only] Fix an over-sensitive assertion. b=372475 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221286 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-04 23:05:01 +00:00
mats.palmgren%bredband.net
cefcc53f4c Ignore calls to RemoveMappingsForFrameSubtree() if the pres shell is being destroyed. b=372576 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221285 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-04 22:39:39 +00:00
mats.palmgren%bredband.net
5252497917 Add a list for popup frames in the frame constructor state and treat them like other out-of-flows. b=344340 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221224 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 12:03:02 +00:00
bzbarsky%mit.edu
3fa51bacc4 Make first-letter frames use the content parent of the textnode as their
content.  Add some first-letter tests, and a few assertions.  Bug 367650, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@221107 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 22:32:00 +00:00
mats.palmgren%bredband.net
7c9b841ac3 [DEBUG only] Don't assert if the child frame is on the correct child overflow list. b=371681 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@221070 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 12:27:12 +00:00
sharparrow1%yahoo.com
a6d706aba6 Bug 371864: Background images don't load until scrolled into the viewport. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@221027 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 22:05:16 +00:00
jonas%sicking.cc
fa54a7bcf5 Bug 371083: Second installment in our exiting series 'deCOMtaminate the XBL code'. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@220967 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 00:14:01 +00:00
sharparrow1%yahoo.com
bd0f540072 Bug 371536: Stop creating views for positioned elements. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220923 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-26 14:00:21 +00:00