Commit graph

1420 commits

Author SHA1 Message Date
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
bzbarsky@mit.edu
b82e527dc9 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
300196f679 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
c3d12295aa 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
eeaa1a101b 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
15eac4df7c 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
3662802f55 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
roc+%cs.cmu.edu
0e7b37595e Bug 372237. Make DoDeletingFrameSubtree skip overflowOutOfFlow child lists since they contain out-of-flow frames. r+sr=dbaron 2007-03-11 20:29:20 +00:00
bzbarsky%mit.edu
098348b001 Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking 2007-03-09 23:43:50 +00:00
longsonr%gmail.com
c12162525a Bug 371256 - combining SVG a and text elements leads to validation problems. r+sr=roc 2007-03-08 13:50:46 +00:00
bzbarsky%mit.edu
372e1553c0 Back out bug 267833 to test performance effect. 2007-03-06 21:12:49 +00:00
mats.palmgren%bredband.net
2d86c5ebc5 Ignore calls to RemoveMappingsForFrameSubtree() after WillDestroyFrameTree() have been called. b=372576 r+sr=bzbarsky 2007-03-06 21:07:21 +00:00
bzbarsky%mit.edu
448ba1fa30 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
2007-03-06 19:36:36 +00:00
bzbarsky%mit.edu
23dc2ea747 Only reframe a <frameset> frame if adding a child <frame> or <frameset>. Bug
370430, r+sr=roc
2007-03-05 00:11:23 +00:00
mats.palmgren%bredband.net
7b45320d22 [DEBUG only] Fix an over-sensitive assertion. b=372475 r+sr=bzbarsky 2007-03-04 23:05:01 +00:00
mats.palmgren%bredband.net
caaab6d021 Ignore calls to RemoveMappingsForFrameSubtree() if the pres shell is being destroyed. b=372576 r+sr=bzbarsky 2007-03-04 22:39:39 +00:00
mats.palmgren%bredband.net
e4dac66084 Add a list for popup frames in the frame constructor state and treat them like other out-of-flows. b=344340 r+sr=bzbarsky 2007-03-02 12:03:02 +00:00
bzbarsky%mit.edu
5bc00870a9 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
2007-02-28 22:32:00 +00:00
mats.palmgren%bredband.net
7c8d48b603 [DEBUG only] Don't assert if the child frame is on the correct child overflow list. b=371681 r+sr=roc 2007-02-28 12:27:12 +00:00
sharparrow1%yahoo.com
2a126872b0 Bug 371864: Background images don't load until scrolled into the viewport. r+sr=roc. 2007-02-27 22:05:16 +00:00
jonas%sicking.cc
a9c9356be8 Bug 371083: Second installment in our exiting series 'deCOMtaminate the XBL code'. r/sr=jst 2007-02-27 00:14:01 +00:00
sharparrow1%yahoo.com
e85eefee1d Bug 371536: Stop creating views for positioned elements. r+sr=roc. 2007-02-26 14:00:21 +00:00
sharparrow1%yahoo.com
884351335b Bug 371528: Stop creating views for pages. r+sr=roc. 2007-02-25 22:26:47 +00:00
longsonr%gmail.com
29618de17d Bug 330059 - Text Inside a Elements Does Not Render. r=jwatt,sr=tor 2007-02-22 12:38:12 +00:00
bzbarsky%mit.edu
ad75d79f05 Make blocks whose ancestors are not blocks have the NS_BLOCK_MARGIN_ROOT and
NS_BLOCK_SPACE_MGR bits as necessary.  Bug 354600, r+sr=roc
2007-02-18 23:53:25 +00:00
asqueella%gmail.com
284a5ea424 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc
2007-02-18 17:34:09 +00:00
martijn.martijn%gmail.com
c4b0d07d4c Bug 336147 � Changing innerHTML for input type=button causes miss-rendering, patch by Ryan Jones, r+sr=roc 2007-02-17 14:14:08 +00:00
jonas%sicking.cc
073b1fd3fe Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest. 2007-02-16 23:02:08 +00:00
smontagu%smontagu.org
2932d47653 Remove obsolete state bit NS_BLOCK_SHRINK_WRAP. Bug 369243, r=bz, sr=dbaron 2007-02-15 05:07:57 +00:00
jonas%sicking.cc
de8904f89c Bug 369676: Make document stylesheets not affect scrollbars in XUL documents. r/sr=bz 2007-02-13 01:25:02 +00:00
sharparrow1%yahoo.com
76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
bzbarsky%mit.edu
dc5a7188cd Remove dead code. Followup for bug 243159, rs=roc 2007-02-06 06:23:18 +00:00
bzbarsky%mit.edu
b381c33e35 Only do first-line stuff when inserting directly into the block in question.
Bug 367489 followup, r+sr=roc
2007-02-06 00:18:08 +00:00
tor%cs.brown.edu
127e436f3d Bug 367796 - <svg:switch> should be SVGTransformable. r=scootermorris, sr=roc 2007-02-05 16:26:23 +00:00
bzbarsky%mit.edu
3f14d0a5f2 Pass the right frame to the first-line stuff. Bug 367489, r+sr=roc. 2007-02-05 03:32:25 +00:00
dbaron%dbaron.org
b04f7cdf5d Allow display:inline-block to be used on :before and :after. b=368622 r+sr=bzbarsky 2007-02-02 06:13:37 +00:00
cvshook%sicking.cc
a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
8aa8179fe6 Make inline-blocks support 'overflow', and add some useful methods to nsStyleDisplay. b=367247 r+sr=bzbarsky 2007-01-27 18:44:24 +00:00
dbaron%dbaron.org
5cb78b8e99 Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky 2007-01-27 18:36:57 +00:00
dbaron%dbaron.org
f12230e5d8 Make SVG foreignObject frames reflow roots, instead of their child, so that marking the child dirty still keeps the change constrained to the foreignObject. b=368101 r+sr=roc 2007-01-26 06:58:31 +00:00
dbaron%dbaron.org
c88c6e09b4 Reflow reflow roots and the child of SVG foreignObject with an unconstrained height to avoid triggering page/column breaking. b=366956 r+sr=roc 2007-01-25 02:01:07 +00:00
dbaron%dbaron.org
6e8088efdd Give inline-blocks NS_BLOCK_SPACE_MGR and NS_BLOCK_MARGIN_ROOT. b=367504 r+sr=roc 2007-01-23 03:53:46 +00:00
bzbarsky%mit.edu
ce77028296 Don't calculate stuff with dirty lists. Bug 367243, r=mats, sr=dbaron 2007-01-20 01:18:57 +00:00
roc+%cs.cmu.edu
f1c25b7d6a Bug 363813. When inserting frames into a list of out-of-flow frames, finding the correct position by comparing positions in the content tree doesn't always work, in particular when the frames are for anonymous content. So compare the positions of placeholders in the frame tree, which should always work (if we're careful). r+sr=dbaron 2007-01-17 22:48:24 +00:00
roc+%cs.cmu.edu
a1834f53d6 Bug 363813. Ensure that floating first-letter frames get inserted in the right place in the list of new floated items. r+sr=dbaron 2007-01-17 21:20:33 +00:00
bzbarsky%mit.edu
52aff8ddeb ConstructDocElementFrame can return null if the XBL hasn't loaded yet. Handle
that XBL loading later by changing how XBL triggers the frame construction and
making it possible to recreate the doc element hierarchy even if there is no
doc element frame.  Bug 366207, r=sicking, sr=roc
2007-01-13 03:32:31 +00:00
bmlk%gmx.de
7de994ed99 remove TableProcessChild, this creates a single codepath trough ProcessChildren for frame construction bug 243159 2. attempt r=rbs sr=bz 2007-01-03 07:18:54 +00:00
bmlk%gmx.de
369915f58b backout of bug 243159, rtest is necessary before checkin 2006-12-29 11:27:31 +00:00
bmlk%gmx.de
9c44055868 remove TableProcessChild, this creates a single codepath trough ProcessChildren for frame construction bug 243159 r=rbs sr=bz 2006-12-27 14:00:12 +00:00
timeless%mozdev.org
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
mats.palmgren%bredband.net
79090c0f4b Rename IsSplittable() to GetSplittableType(). b=349973 r+sr=bzbarsky 2006-12-20 03:52:34 +00:00
dbaron%dbaron.org
31f1898810 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
mats.palmgren%bredband.net
8f631700e5 Fix a Print Preview crash. b=362708 r=bernd sr=roc 2006-12-08 03:44:11 +00:00
bzbarsky%mit.edu
a4c80af646 Make ReconstructDocElementHierarchy work correctly even if we first blew away a
pseudo which had the root as its content.  Bug 343293, r+sr=roc
2006-12-04 20:35:55 +00:00
cvshook%sicking.cc
9a006fd441 Bug 328468: Back out bug 323098 to fix mutations of xbl content. r/sr=bz 2006-11-29 23:17:53 +00:00
bzbarsky%mit.edu
b856b2c477 Back out bug 354600 to fix regressions. 2006-11-19 20:23:56 +00:00
bzbarsky%mit.edu
cbcaad14b4 Make block frames that are not kids of blocks automatically have space managers
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag.  Bug 354600, r+sr=roc
2006-11-16 17:51:53 +00:00
bzbarsky%mit.edu
0b0dc9004f Make sure that first-lines with descendant views will be flagged appropriately.
Bug 291078, r+sr=roc
2006-11-13 21:46:12 +00:00
bzbarsky%mit.edu
84053a9abd When doing ContentRemoved, IndexOf() will always return -1. So don't use it.
Bug 360524, r+sr=roc
2006-11-13 21:27:44 +00:00
bzbarsky%mit.edu
1f7758c87c Walk out of all pseudos when doing a containing block reframe. Bug 336718,
r+sr=roc
2006-11-06 01:36:25 +00:00
bzbarsky%mit.edu
e374435e06 Reget our parent after blowing away letter frames. Bug 318592, r+sr=dbaron 2006-11-04 01:59:14 +00:00
bmlk%gmx.de
ca25e76f76 make sure that only captions go as a direct child of the outer table frame all other have to be a child of the inner table frame. bug 341858 patch by mats + my minor fixes found during sr r=me sr=bzbarsky 2006-10-28 09:43:06 +00:00
bzbarsky%mit.edu
5c1f73e2b5 Don't allow positioning or floating <mtable>. Bug 355993, r=bernd, sr=rbs 2006-10-10 14:44:34 +00:00
bzbarsky%mit.edu
493b90fbf3 Slightly improve handling of positioned kids of MathML. Bug 322625, r=rbs, sr=roc 2006-10-08 22:04:09 +00:00
Olli.Pettay%helsinki.fi
8f8a844353 Bug 355100, Remove XTF visuals (part I/II, not removing files), r=alex,bryner,aaronr,doronr sr=bz 2006-10-08 14:15:02 +00:00
aaronleventhal%moonset.net
5965dc9d5b Bug 354745. Show/hide events not fired for layout changes in a changelist. r+sr=bz 2006-10-05 13:35:23 +00:00