1378 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
c32c5e63f9 Remove bogus assertion. Bug 314307, r+sr=roc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231363 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 21:54:39 +00:00
bzbarsky%mit.edu
c607ca6e43 Make ContentInserted for captions more like ContentAppended and normal frame
construction.  Bug 386014, r=bernd, sr=roc, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@231359 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 21:29:52 +00:00
bzbarsky%mit.edu
a011dae222 Don't set up counters for the anon cols set up by a <col span="n">. Bug
385866, r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@231357 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 21:23:25 +00:00
bzbarsky%mit.edu
7882659952 Get the right style context for the blockframe containing an mtable. Bug
384649, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@231327 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:30:43 +00:00
bzbarsky%mit.edu
8f29d1da1a Remove bogus assert. Bug 350128, r+sr=roc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231324 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:11:44 +00:00
sharparrow1%yahoo.com
b0103f33d8 Bug 386266: Crash [@ nsFrameManager::UnregisterPlaceholderFrame] or assertions with -moz-column and float. r+sr=bzbarsky, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@231318 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 17:20:45 +00:00
Olli.Pettay%helsinki.fi
bd9a96d5b9 Backing out bug 275196, xml:id, to fix tp regression
git-svn-id: svn://10.0.0.236/trunk@231054 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 14:16:21 +00:00
Olli.Pettay%helsinki.fi
76bd637ef6 Bug 275196, xml:id, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@231049 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 12:22:17 +00:00
roc+%cs.cmu.edu
cb8c6e3a11 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
git-svn-id: svn://10.0.0.236/trunk@231012 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:03:31 +00:00
asqueella%gmail.com
2617d636d9 Bug 388761 - fix MOZ_XUL-disabled builds
p=romaxa <romaxa@gmail.com>
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@230693 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 00:04:37 +00:00
asqueella%gmail.com
e3a8e85fdf 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


git-svn-id: svn://10.0.0.236/trunk@230686 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 23:31:12 +00:00
roc+%cs.cmu.edu
b2bcd6f97a 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
git-svn-id: svn://10.0.0.236/trunk@230265 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-19 04:25:17 +00:00
bzbarsky%mit.edu
4738c3572d 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.


git-svn-id: svn://10.0.0.236/trunk@230242 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:56:58 +00:00
longsonr%gmail.com
2ddd1751ce Bug 375173 - svg switch occasionally displays multiple children. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@229890 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 09:58:48 +00:00
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