Commit Graph

547 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
4f4c78447d 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
b0d7ea2d92 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
014c686699 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
9cd0d262bd 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
d3d73c426f 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
fa257f9f01 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
36828cf90a 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
6e0f03d880 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
b5a99492d9 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
52850476e4 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
30ac4ad5bf 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
895714e955 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
7e8456e8f3 Completely backout patch from Jonathan Steele in bug 399753 due to bustage. 2007-10-14 20:42:27 -07:00
reed@reedloden.com
2d9ccdb82c 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
32b36ae07b 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
96ad8e0ecc Fix regression tests. Bug 398510 2007-10-10 22:17:18 -07:00
bzbarsky@mit.edu
8c78ae026d 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
276625beed Fix bug 399219. r=roc, sr=neil, a=roc 2007-10-10 15:14:41 -07:00
bzbarsky@mit.edu
38e8f056cd 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
4aad5f643f 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
bca6cbb9cb 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
c1ec42f835 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
603542e4aa 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
2456fd7a33 paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc 2007-10-01 22:57:45 -07:00
bzbarsky@mit.edu
7facde4eac Add asserts to catch dangerous cases. Bug 398108, r+sr+a=dbaron 2007-10-01 21:37:36 -07:00
bzbarsky@mit.edu
4f3efcd53f 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
8da8c9ce92 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
e400c6fe35 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
97c97d8a5f 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
fb39157dcc Fix bug 394111. r+sr+a=bzbarsky 2007-09-02 18:28:08 -07:00
bzbarsky@mit.edu
8f471f19e2 Fix bug 393671. r+sr+a=roc 2007-08-26 19:48:43 -07:00
bzbarsky@mit.edu
86d1efeea2 Fix crash bug 393517. r+sr=roc, a=dbaron 2007-08-26 17:20:52 -07:00
bzbarsky@mit.edu
8915bdf91c 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
28586b102c Be less noisy in debug builds. 2007-08-26 11:27:00 -07:00
joshmoz@gmail.com
713a948723 clean up some unused variables and calls. no bug. sr/a=bz 2007-08-19 23:33:14 -07:00
bzbarsky@mit.edu
a96dc350c6 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
67785ffa97 Backing out test patch 2007-08-15 21:01:51 -07:00
bzbarsky@mit.edu
0a81e1e21e 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
71c361ac5f Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc 2007-08-15 16:20:25 -07:00
aaronleventhal@moonset.net
4c1685120f 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
6b5d9a0732 Back out bug 390425 to fix performance regression. 2007-08-10 15:55:21 -07:00
bzbarsky@mit.edu
e1604f73ea Simplify handling of {ib} splits. Bug 390425, r+sr=roc, a=dbaron 2007-08-10 13:02:11 -07:00
bzbarsky@mit.edu
b39ebf2258 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
e400c46775 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
05d4d9dac1 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
579fff6da6 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
adbcc0b57c 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
5f46a12fc6 Remove bogus assertion. Bug 314307, r+sr=roc, a=dbaron 2007-08-02 14:54:39 -07:00
bzbarsky@mit.edu
590e445e10 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
2b334a8c3b 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
a6cb8ce553 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
d56f30c35a Remove bogus assert. Bug 350128, r+sr=roc, a=dbaron 2007-08-02 11:11:44 -07:00
sharparrow1@yahoo.com
cfe1247a40 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
81c89897e3 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
ad51500682 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
roc+@cs.cmu.edu
61373b8418 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
b562b1a8cf 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
cb307ac952 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
fd80a49090 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
a6139746d4 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
457f9b193e Bug 375173 - svg switch occasionally displays multiple children. r+sr=roc 2007-07-13 02:58:48 -07:00
bzbarsky@mit.edu
a4c90a1d9d 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
e3c4baccae 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
6c8197be5f 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
ec7db48b9b 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
bc551193fe Menubars are special on OSX too. Bug 385880, r=bernd, sr=roc 2007-07-03 11:48:57 -07:00
longsonr@gmail.com
1f2be16ed9 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
95deb19d78 Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3 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
26f439cf9b Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron 2007-06-26 19:31:35 -07:00
smontagu@smontagu.org
410eeef3a4 Remove unused argument 'aAttribute' in nsCSSFrameConstructor::StyleChangeReflow. Bug 382244, r+sr=dbaron 2007-06-24 02:35:22 -07:00
tor@cs.brown.edu
d22cf92ba6 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
386663f9bc Add an omitted word to a comment. 2007-06-15 14:37:03 -07:00
roc+@cs.cmu.edu
7cd4ee1cff 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
054b7d42be 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
fce2486aa2 Bug 322436. Disable floats inside XUL. r+sr=bzbarsky 2007-06-06 20:16:25 -07:00
sharparrow1@yahoo.com
888cd6828d 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
24bc303d9e 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
095492e4a3 Bug 379621, Call PostCreateFrames after creating all native anonymous frames, r+sr=roc 2007-05-10 11:16:00 -07:00
bzbarsky@mit.edu
fb38ef82f1 Rename some functiosn as suggested by dbaron. Bug 379799 followup. 2007-05-07 12:03:24 -07:00
bzbarsky@mit.edu
3f8cd7bd8c Better check for first-letter. Bug 379799, r+sr=dbaron 2007-05-07 10:57:33 -07:00
bzbarsky@mit.edu
1c6f84af69 Back out bug 377850 -- it regresses bug 71191, and causes bug 379920. 2007-05-06 23:51:57 -07:00
bzbarsky@mit.edu
3cb4bc9240 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
2931d10719 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
67c2d05514 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
48cbd7d72e 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
c77758b510 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
fb91b11144 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
2dca5abb0a Improve detection of blocks with first-letter style. Bug 372550, r+sr=dbaron 2007-04-15 17:42:54 -07:00
bzbarsky@mit.edu
357c10a896 Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron 2007-04-15 17:11:34 -07:00
bzbarsky@mit.edu
e6d41ebe8b Change the way we determine the style context parent frame to skip css anonboxes unless we're determining the style context parent for something that isitself 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 2007-04-15 16:14:26 -07:00
roc+@cs.cmu.edu
6300a5ee2e Bug 376223. Make frame construction for XUL listbox content grab pseudo frames if necessary. r+sr=bzbarsky 2007-04-13 09:50:57 -07:00
bzbarsky@mit.edu
4d9f2625eb Treat <mtable> as special, since the outermost frame it creates is not in facta table-related frame. Bug 374193, r=bernd, sr=rbs 2007-04-10 09:24:02 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
sharparrow1@yahoo.com
6fdcc6c041 Bug 372037: CSS clip property should clip the overflow rect as well as the paint rect; r+sr=roc. 2007-03-26 20:58:17 -07:00
enndeakin@sympatico.ca
d8627a0a9d Bug 374832, lower opacity on drag images, Bug 375038, dragging doesn't work on blocks inside inlines, r+sr=roc 2007-03-25 20:27:53 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00