1224 Commits

Author SHA1 Message Date
bmlk%gmx.de
fb4e51f10f use a pseudoframe as a parent only when it has children, bug 336291 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195977 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 18:26:43 +00:00
leon.sha%sun.com
ca47f5992a Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+


git-svn-id: svn://10.0.0.236/trunk@195238 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:40:11 +00:00
bmlk%gmx.de
7743dac288 make pseudo rowgroups and colgroups only siblings if their parent is not a pseudo bug 333493 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195151 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 10:53:20 +00:00
bmlk%gmx.de
25c1481a47 pseudo rowgroups might be wrapped in a scrollframe, bug 331679 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195149 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 10:28:13 +00:00
jag%tty.nl
8897e07fdd Bug 334829: FindFrameWithContent() can't find certain frames
If the hint frame's location in the frame tree doesn't match its element's location in the content tree, the hint is useless, and we don't correctly reboot the search without the hint. Add a flag to make the reboot work.
Patch courtesy of Danger Inc., r=dbaron, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@195051 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 11:13:41 +00:00
sharparrow1%yahoo.com
a3720e22e4 Bug 334547: get rid of scrollframe code which never executes. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@194756 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:22:48 +00:00
bzbarsky%mit.edu
b83ab3e969 Only parse those XUL display styles that we can actually construct. Bug
312120, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@194677 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 15:10:50 +00:00
dbaron%dbaron.org
3a99a82178 Add assertions to verify no-reentry invariants in layout. b=310985 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194581 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 05:44:02 +00:00
bzbarsky%mit.edu
80e17d2c14 Unregister our placeholder before destroying it. Bug 316267, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@194489 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 01:40:14 +00:00
mrbkap%gmail.com
57d1babd65 [BeOS]Bug 322051, restructuring nsWindow code, patch by thesuckiestemail@yahoo.se r=sergei_d
git-svn-id: svn://10.0.0.236/trunk@194172 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 20:44:17 +00:00
sharparrow1%yahoo.com
b1c51e04df Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups)
git-svn-id: svn://10.0.0.236/trunk@194085 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 01:48:48 +00:00
martijn.martijn%gmail.com
1aae630881 Bug 332499 - Misplaced listbox for floated select, patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@194082 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 01:18:41 +00:00
roc+%cs.cmu.edu
b6ebd9961d Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
bmlk%gmx.de
06b019c740 make sure that we process colgroup and rowgroup pseudos in parallel, otherwise we would lose one of them 325984 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193921 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 06:10:39 +00:00
bzbarsky%mit.edu
b172db7ae3 Make ReconstructDocElementHierarchy not assume bogus things about the frame
tree.  Bug 330903, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@193413 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 15:52:08 +00:00
sharparrow1%yahoo.com
6de1b08e94 Bug 244055: Page layout for editor. There is no UI yet, and caret display is buggy at the moment, but otherwise it works. Patch by Alexandre Trémon, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@193366 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-01 01:19:28 +00:00
dbaron%dbaron.org
f982efe3c6 One-line descriptions of files, partly because they show up in LXR.
git-svn-id: svn://10.0.0.236/trunk@193246 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 05:56:38 +00:00
roc+%cs.cmu.edu
140fbb3377 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
bmlk%gmx.de
05ec63bbda also limit the table pseudo frame processing if colgroups are the limiting frame, bug 329900, r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193016 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 18:32:13 +00:00
bryner%brianryner.com
1de3fc0366 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
tor%cs.brown.edu
692424f15f Bug 328527 - make all SVG content special for frame constructor, use
leaf frame for filter leaves.  r=bzbarsky, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@192638 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-20 17:39:08 +00:00
bzbarsky%mit.edu
0332048377 Fix crash bug 322348 by making ReParentStyleContext more sane. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@192462 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 01:30:38 +00:00
dbaron%dbaron.org
8cfdd67955 Change our scrolling code so that it is capable of scrolling above and to the left of the viewport, and then use that capability for nsHTMLScrollFrames with RTL directionality. This removes the invariant that the child of a scrollframe (::scrolled-canvas canvas or ::scrolled-content block) will be stretched to fill the entire scrollable area and stops enforcing it, a change that's likely to cause some regressions not yet fixed within the patch. This also fixes directionality detection for the scrollframe holding the canvas (changing which side the scrollbar appears on) and fixes an old bug in the code that paints the focus ring around the canvas (so it's now again visible on all sides, even when the canvas is scrollable). b=192767 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192422 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 16:55:19 +00:00
pavlov%pavlov.net
b5c7a440ef backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
bmlk%gmx.de
f0eff16a4d Every frame where the frame construction is not controlled by
the display-type needs to be mentioned in IsSpecialContent, canvas in this case, bug 329692 r/sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@192166 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-10 20:03:07 +00:00
roc+%cs.cmu.edu
38a9722e9f Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
enndeakin%sympatico.ca
46ea7d0193 Bug 327943, remove grippy frame, r=neil,sr=roc
git-svn-id: svn://10.0.0.236/trunk@191614 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 21:42:29 +00:00
roc+%cs.cmu.edu
f6b0317991 Backing out changes for bug 326944, really this time\!
git-svn-id: svn://10.0.0.236/trunk@191297 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 04:13:51 +00:00
roc+%cs.cmu.edu
5486ff00e1 Bug 326944. Remove nsIComboboxControlFrame. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@191291 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-27 02:33:26 +00:00
uriber%gmail.com
0cafbb55af Bug 327532: Content inserted before an element with a long (multi-line) ":before" text is inserted in the wrong place. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@191145 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 06:58:33 +00:00
uriber%gmail.com
9abc8fa432 Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@190744 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 21:33:47 +00:00
bzbarsky%mit.edu
8cb7d3babd Fix bug 326834 -- more care needed with listboxes. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@189802 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-12 21:37:45 +00:00
bmlk%gmx.de
acc9a119d8 don't reparent the col style context if the parent is anonymous colgroup bug326015 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@189771 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-11 11:26:57 +00:00
bzbarsky%mit.edu
25a099edc5 Make sure to actually not construct frames, not just hand it off to someone
else.  Bug 326495, r=sicking, sr=tor


git-svn-id: svn://10.0.0.236/trunk@189576 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 20:54:13 +00:00
bzbarsky%mit.edu
f633a81bd3 Improve our handling of reframes around {ib} splits when pseudos or XUL are involved.
Bug 322678, bug 325024, bug 325218.  r=mats, sr=roc


git-svn-id: svn://10.0.0.236/trunk@189460 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 04:16:06 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
scootermorris%comcast.net
1364eae39d SVG Conditionals should work outside of <switch>. Bug 303018.
r=bugmail/sr=tor


git-svn-id: svn://10.0.0.236/trunk@188587 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 18:53:33 +00:00
bzbarsky%mit.edu
1127e25d34 Make the listbox box object deal better with the frame being destroyed and
change the tree box object the same way.  Bug 282105, bug 325045, bug 322513.
r=neil, sr=ben


git-svn-id: svn://10.0.0.236/trunk@188496 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 21:29:10 +00:00
cvshook%sicking.cc
fa6cc107da This assertion should have been removed as part of previous checkin.
git-svn-id: svn://10.0.0.236/trunk@188296 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 00:52:18 +00:00
cvshook%sicking.cc
668d9bc084 Bug 310638: New better implementation of (Do)DeletingFrameSubtree. Patch by Mats Palmgren. r=bz sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188272 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 22:15:52 +00:00
cvshook%sicking.cc
b65ed3129c Bug 310436: Allow glyph frames as child of svg. r=tor sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188248 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 18:32:55 +00:00
cvshook%sicking.cc
125d167053 Bug 317544: Disable floating inside mathml. r=bz sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188179 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 21:40:31 +00:00
cvshook%sicking.cc
12b789d906 Bug 310436: Implement IsFrameOfType and use that to disable non-svg frames from being children of svg frames. r=bz sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188176 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 21:16:12 +00:00
roc+%cs.cmu.edu
78bd9e4760 Bug 323946. nsFieldSetFrame doesn't need to support having a space manager. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188019 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 23:20:56 +00:00
rbs%maths.uq.edu.au
2e24ce0a51 <mspace> is a leaf frame. Don't create bogus child frames inside <mspace> having invalid markup with child content. b=323741, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@187950 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:46:19 +00:00
tor%cs.brown.edu
fe2017034e Bug 316764 - implement <mask> and fix <clipPath> for multiple
overlapping children.  r=scootermorris


git-svn-id: svn://10.0.0.236/trunk@187897 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 17:00:43 +00:00
roc+%cs.cmu.edu
2f9cd46128 Bug 309550. Margins should not collapse through fieldset boundaries. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@187827 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 18:44:09 +00:00
bzbarsky%mit.edu
d0cb8e722d Fieldsets have multiple insertion points because of the magic legend stuff.
Bug 317275, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@187815 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 03:48:46 +00:00
cvshook%sicking.cc
ceaf7bdebc Bug 323910: Merge atom lists in gklayout
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@187798 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 00:58:12 +00:00