226 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
b9683c14d1 Make IsSpecialHTMLContent happier with images and objects. Bug 310662, r=bernd, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@181631 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 23:56:14 +00:00
bzbarsky%mit.edu
9b5476f9d5 Remove an extra view update batch that's not needed. Bug 309114, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@180859 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 14:45:36 +00:00
dbaron%dbaron.org
b392b6f1bb Attempt to follow the SVG spec rules on where SVG elements should be ignored. b=306915 r=tor sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@180591 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 19:55:31 +00:00
bzbarsky%mit.edu
26af641d58 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
roc+%cs.cmu.edu
c8d2312b82 Bug 286491. Recreate the entire IB-split complex if the child of an IB-special frame is recreated, because the structure of the IB split may be changing. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178575 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 23:56:40 +00:00
roc+%cs.cmu.edu
c0375ee6b6 Bug 289377, cleanup nsCSSFrameConstructor a tad. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@177891 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 21:35:58 +00:00
bzbarsky%mit.edu
d3b1540fe2 Fix counter numbering when counters are set on the inline in an {ib} split.
Bug 296083, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@175761 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 17:12:31 +00:00
peterv%propagandism.org
aac2b47f2a Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
aaronleventhal%moonset.net
d0301a1bd7 Bug 290352. Fix show/hide events, and anything dependent on those such as DHTML sub sub menus, alerts and progress bars. r=louie.zhao, sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@174409 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-10 13:57:27 +00:00
roc+%cs.cmu.edu
a52cfd560a Bug 289090. Get the pagesequenceframe from the frame constructor, don't poke around the frame hierarchy trying to find it. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171737 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 22:46:56 +00:00
roc+%cs.cmu.edu
7021bee02b Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171539 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:00:41 +00:00
dbaron%dbaron.org
72020748e5 Implement CSS2 counters. b=3247 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171473 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 23:07:00 +00:00
bzbarsky%mit.edu
35707e2f9d Wrap a view update batch around all restyle processing and switch
ApplyRenderingChangeToTree to use a NO_SYNC view batch, since we now flush
reflows before painting.  Bug 288365, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@171464 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 18:14:18 +00:00
dbaron%dbaron.org
f7e591cd27 Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime.
git-svn-id: svn://10.0.0.236/trunk@171429 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu
edd9381478 Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171419 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 03:40:12 +00:00
bzbarsky%mit.edu
ce5f5c101d Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
presshell args from most frame constructor methods; use the state for the
former and the member for the latter.  Bug 281957, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@169389 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 16:11:53 +00:00