263 Commits

Author SHA1 Message Date
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
roc+%cs.cmu.edu
e0d871feb8 Bug 277420. Use ConstructBlock when creating scrolled and absolutely positioned blocks. Removes copied code and makes columns work in such situations. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168959 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 02:15:26 +00:00
bzbarsky%mit.edu
77e877e706 Change the hack for menus to just process the menugenerated attr change sync to
start with, instead of flushing style reresolves.  Bug 279308, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@168418 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 21:17:08 +00:00
roc+%cs.cmu.edu
7a1de1240c Bug 277421. Make absolutely-positioned frame construction use ConstructBlock; removed redundant code and enables abs-pos elements with columns. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168329 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 22:36:32 +00:00
bzbarsky%mit.edu
7960996dc3 Hoist pseudo-frame handling up so it happens for all frames. Fixes crashes bug
269566 and bug 275625.  r=bernd, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@168262 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-24 22:51:20 +00:00
neil%parkwaycc.co.uk
e717d9b1f9 Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner
git-svn-id: svn://10.0.0.236/trunk@167959 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 23:46:59 +00:00
bryner%brianryner.com
55e775a8a2 Less-than-ideal fix for the problem where XTF insertion points don't work if the insertion point has only inline frame ancestors (which are not in the primary frame map) in the anonymous content tree. Track the insertion point content node as we're constructing anonymous content frames and insert the explicit content when we reach the insertion point. Bug 269023, r=bzbarsky, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@167749 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 23:12:20 +00:00
bugzilla%arlen.demon.co.uk
e4daffa10a Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@167124 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 01:13:27 +00:00
bryner%brianryner.com
825da8256d Full fix for xtf Tp regression -- avoid QI'ing non-XTF elements in CreateAnonymousFrames. Bug 270136, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165400 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 18:07:13 +00:00
bzbarsky%mit.edu
69eb75b943 Fix parent frame determination for tables so that positioned tables end up with
the placeholder in the right place.  Bug 266850, r=mats.palmgren, sr=roc


git-svn-id: svn://10.0.0.236/trunk@164930 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 18:53:05 +00:00
roc+%cs.cmu.edu
8fb537acb7 Bug 266890. Remove nsListboxScrollPortFrame by moving its functionality into nsListBoxFrame. Part of an ongoing effort to remove nsScrollboxFrame and its subclasses. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@164830 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 02:52:16 +00:00
bzbarsky%mit.edu
4ece7e1998 Make the frame constructor state and save state automatically handle inserting
out of flows in the right place in the fixed/absolute/float containing blocks
so that it can't be screwed up by callers.  Bug 264914, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164677 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 21:43:49 +00:00
bzbarsky%mit.edu
874f1be4cf Factor out the code to insert a frame into the right childlist (used for
handling out-of-flows) into a function on the frame constructor state.  Enforce
some invariants via !important rules in html.css instead of hacking them into
the code.  Bug 263406, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164482 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 01:34:22 +00:00
roc+%cs.cmu.edu
6f2ffd8d55 Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163457 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 02:02:04 +00:00