1238 Commits

Author SHA1 Message Date
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
mats.palmgren%bredband.net
e40450a011 Don't create page breaks when 'display:none'. b=277035 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167823 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-16 15:30:37 +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
bryner%brianryner.com
2474296ae5 Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167619 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:45:38 +00:00
tor%cs.brown.edu
bf5cb846dc Bug 277034 - large svg documents don't display scrollbars. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167291 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-05 05:49:35 +00:00
bzbarsky%mit.edu
ff02c81397 Remove incorrect code that unnecessarily pushes pseudo-frame state and causes
frames to be lost.  Bug 271422, r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@167231 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 23:39:38 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +00:00
mats.palmgren%bredband.net
bb956e086b Swap the order between the legend and area frames in a fieldset to fix selection and tabbing problems. b=236071 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167179 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-02 14:30:24 +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
cbiesinger%web.de
c9b415a585 263671 make nsStyleUserInterface::CalcDifference return correct style hints if
more than one property differs. also handle dynamic cursor changes correctly.
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@167058 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-28 13:48:25 +00:00
bmlk%gmx.de
f62f7441c8 dont take colgroup pseudoframes into account when creating row- or rowgroup pseudo frames bug 267725 p=basic@mozillanews.org r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167014 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-24 07:35:33 +00:00
dbaron%dbaron.org
41499fd2db Fix misspellings of 'pseudo' in comments. Bug 106386. Patch by Alex Vincent <ajvincent@gmail.com>. r=timeless sr=peterv
git-svn-id: svn://10.0.0.236/trunk@166869 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-19 21:45:51 +00:00
tor%cs.brown.edu
8c31f90f5e Bug 216568 - <svg:image> implementation. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@166841 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 23:45:30 +00:00
dbaron%dbaron.org
13decbac15 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@166823 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 20:40:48 +00:00
bryner%brianryner.com
b0242fa4f1 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@166648 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-13 04:14:28 +00:00
tor%cs.brown.edu
308eece6d8 Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@166471 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 03:16:15 +00:00
roc+%cs.cmu.edu
92b05c8143 Bug 266890. Remove nsScrollPortFrame since it's the only subclass of nsScrollBoxFrame, just merge everything up to nsScrollBoxFrame. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@166375 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 03:42:00 +00:00
bmlk%gmx.de
f4ecc570fe switch the frame sorting from the frame constructor to the table frame + a couple of build warning fixes, bug 269648, r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166078 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 18:47:34 +00:00
mats.palmgren%bredband.net
b9fa4efa1b Look for ::first-letter frames in relative positioned inlines too. b=264799 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@165817 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-26 20:39:30 +00:00
neil%parkwaycc.co.uk
df2668e776 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
tor%cs.brown.edu
d0fcc0b497 Bug 237020 - use/symbol implementation. r=jwatt, shared moz files sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165632 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 13:51:57 +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
bryner%brianryner.com
87b5cad1f0 Testing whether this QI is responsible for the Tp increase on btek.
git-svn-id: svn://10.0.0.236/trunk@165396 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 08:28:26 +00:00
bryner%brianryner.com
b571a18dfa Attempt to fix Tp regression by only doing checking for XTF if the namespace is not one that we support internally.
git-svn-id: svn://10.0.0.236/trunk@165395 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 07:27:39 +00:00
bzbarsky%mit.edu
14b137de99 Remove effectively dead code in GetFloatContainingBlock(). Bug 267036,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@165384 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 02:20:37 +00:00
bmlk%gmx.de
d17e10572f during pseudo frame creation pseudo colgroup frames should not taken into account when analyzing the pseudostackframe depth, bug 266015 r=me sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165055 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-06 07:07:43 +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
bzbarsky%mit.edu
f53f98f7f3 Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164857 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 16:16:57 +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
f8122fc136 Remove unneeded arg from SetFrameIsSpecial() and fix one of the callers to not
trigger an assert.  Bug 266321, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164673 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 18:27:40 +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
bzbarsky%mit.edu
4faa08a83c Make sure to clear the event queue before processing restyles, in case that
tries to post reflow events. Bug 266171, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@164465 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-26 21:42:37 +00:00
bmlk%gmx.de
b90139c45c prevent double caption frame creation instead of later caption frame removal bug 265181 r/sr=bzabrsky
git-svn-id: svn://10.0.0.236/trunk@164356 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 12:31:02 +00:00
bzbarsky%mit.edu
a87e96e598 Make sure to insert the floating items as children of their parent before
clobbering the float items in the constructor state when a table cell is
floated.  Bug 263846, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164303 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 22:03:49 +00:00
bzbarsky%mit.edu
8ad598b075 DeCOMTaminate some methods on nsIStyledContent. Bug 244258, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@164274 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:10:32 +00:00
tor%cs.brown.edu
c10cf6e314 Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.


git-svn-id: svn://10.0.0.236/trunk@163782 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 23:02:53 +00:00
bzbarsky%mit.edu
73c05f1b81 Switch some callers of EndViewUpdateBatch to VMREFRESH_NO_SYNC from DEFERRED.
Bug 263569, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@163526 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 15:34:45 +00:00
roc+%cs.cmu.edu
1df6a398e4 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@163455 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 01:39:21 +00:00
alex%croczilla.com
371ae9555f Use GetGeometricParent() to determine geometric parent of XTF frames - see bug #253225, comment#30. r+sr=bzbarsky. Affects XTF-enabled builds only.
git-svn-id: svn://10.0.0.236/trunk@163419 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 14:58:00 +00:00
roc+%cs.cmu.edu
22e0ff6cb8 Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@163416 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 12:17:10 +00:00
alex%croczilla.com
4613694ca0 Let presshell track anonymous xtf content to prevent shutdown crashes. Affects XTF-enabled builds only.
git-svn-id: svn://10.0.0.236/trunk@163415 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 11:36:14 +00:00
alex%croczilla.com
049fc5de75 Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code
is not enabled by default (requires --enable-xtf configure option).


git-svn-id: svn://10.0.0.236/trunk@163386 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 20:59:53 +00:00
bzbarsky%mit.edu
b96eb6877f Fix crash on reconstructing a frame tree in which fixed pos frames contain
placeholders for other fixed pos frames.  Bug 256108, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163270 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 00:29:14 +00:00
bzbarsky%mit.edu
15618cb256 Fix absolute positioning of tables. Bug 262898, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@163224 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-05 04:20:32 +00:00
bzbarsky%mit.edu
09bf6e10e5 Create a GetGeometricParent() function and make people use it instead of
(incorrectly, usually) rolling their own.  Bug 191151, initial cut of patch by
jkeiser back when, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@163044 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:39:28 +00:00
bryner%brianryner.com
d80f327086 Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@162876 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-28 18:37:50 +00:00
roc+%cs.cmu.edu
ab88d1e1ac Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
bzbarsky%mit.edu
b5b1e1b77a Make sure not to add entries to the pending restyle hashtable while enumerating
it.   Bug 257694 (also fixes bug 256242, bug 258101).  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162193 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 04:08:14 +00:00
roc+%cs.cmu.edu
25c92b6a90 Bug 254039. deCOMtaminate nsIScrollableFrame. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@161806 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 02:44:43 +00:00