242 Commits

Author SHA1 Message Date
dbaron%dbaron.org
1eae00f3e4 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
git-svn-id: svn://10.0.0.236/trunk@238180 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-25 23:31:04 +00:00
roc+%cs.cmu.edu
151722d42f Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@237645 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 08:30:55 +00:00
bzbarsky%mit.edu
ff70505462 Add asserts to catch dangerous cases. Bug 398108, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237050 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 04:37:36 +00:00
bzbarsky%mit.edu
36af99ea83 Fix content leak due to double-init of oveflow placeholders. Bug 397011,
r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@236483 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 01:24:41 +00:00
bzbarsky%mit.edu
1c94dbb4e6 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


git-svn-id: svn://10.0.0.236/trunk@235985 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-14 19:15:44 +00:00
bzbarsky%mit.edu
84edc3c7eb Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232178 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 23:20:26 +00:00
bzbarsky%mit.edu
006e5ba268 Back out bug 390425 to fix performance regression.
git-svn-id: svn://10.0.0.236/trunk@231871 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 22:55:21 +00:00
bzbarsky%mit.edu
bc74baebe0 Simplify handling of {ib} splits. Bug 390425, r+sr=roc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231846 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 20:02:12 +00:00
bzbarsky%mit.edu
707cf07886 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


git-svn-id: svn://10.0.0.236/trunk@231808 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 17:18:12 +00:00
fantasai.cvs%inkedblade.net
20bd17e19f Bug 389767 – Regression: Fixed-position items are missing on 2nd page of print-preview, fixed on behalf of HP, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231586 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 16:06:57 +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
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
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
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
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
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
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
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
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
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
d6f518ac33 Pass the right frame to the first-line stuff. Bug 367489, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@219484 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 03:32:25 +00:00
roc+%cs.cmu.edu
ae08389d4d Bug 363813. Ensure that floating first-letter frames get inserted in the right place in the list of new floated items. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218543 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 21:20:33 +00:00
bmlk%gmx.de
3185892a10 remove TableProcessChild, this creates a single codepath trough ProcessChildren for frame construction bug 243159 2. attempt r=rbs sr=bz
git-svn-id: svn://10.0.0.236/trunk@217677 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 07:18:54 +00:00
bmlk%gmx.de
d73e2e993c backout of bug 243159, rtest is necessary before checkin
git-svn-id: svn://10.0.0.236/trunk@217538 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 11:27:31 +00:00
bmlk%gmx.de
627a20a258 remove TableProcessChild, this creates a single codepath trough ProcessChildren for frame construction bug 243159 r=rbs sr=bz
git-svn-id: svn://10.0.0.236/trunk@217459 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 14:00:12 +00:00
dbaron%dbaron.org
1ca9f3f372 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.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
cvshook%sicking.cc
a326e22147 Bug 328468: Back out bug 323098 to fix mutations of xbl content. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@216118 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:17:53 +00:00
bzbarsky%mit.edu
e604e45e4e Don't allow positioning or floating <mtable>. Bug 355993, r=bernd, sr=rbs
git-svn-id: svn://10.0.0.236/trunk@213426 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 14:44:34 +00:00
Olli.Pettay%helsinki.fi
49abd2076b Bug 355100, Remove XTF visuals (part I/II, not removing files), r=alex,bryner,aaronr,doronr sr=bz
git-svn-id: svn://10.0.0.236/trunk@213305 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 14:15:02 +00:00
aaronleventhal%moonset.net
06a68f0229 Bug 354745. Show/hide events not fired for layout changes in a changelist. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@213170 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-05 13:35:23 +00:00
bzbarsky%mit.edu
54adf0f535 Fix bug 354144 -- absolute positioning against the ICB is broken. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@212339 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 22:33:01 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +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
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
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
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
bmlk%gmx.de
563a72aa7b Avoid reframing inside button frames and move the frame creation entirely into the frame constructor, bug 51767, r=mats sr=roc
git-svn-id: svn://10.0.0.236/trunk@187535 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 07:58:12 +00:00
cvshook%sicking.cc
49f9aa269d Bug 323098: Fix inefficency in XBL insertion logic.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@187462 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 05:45:38 +00:00
roc+%cs.cmu.edu
1c090ad037 Bug 320337. Remove mFrameConstructor member from nsListBoxBodyFrame. patch by Vidar Harr, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@186149 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 02:56:36 +00:00
bzbarsky%mit.edu
bf709d14e8 Get the right parent frame up front when dealing with :after content. Bug
317934, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@185340 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 22:09:08 +00:00
bzbarsky%mit.edu
d490f00b7b Remove the dummy frame stuff from selects. Replace it with smarter focus rect
painting and sizing for empty selects.  Bug 314879, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@184162 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 23:36:27 +00:00
bzbarsky%mit.edu
d14d1f2475 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
roc+%cs.cmu.edu
35affbc82e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@183357 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 20:40:54 +00:00
bzbarsky%mit.edu
53c329523d Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +00:00
bmlk%gmx.de
f6052e6c52 Table foreign frames need to be wrapped into pseudo frames reagrdless of their namespace. bug 311661 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@182083 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 13:35:17 +00:00