1452 Commits

Author SHA1 Message Date
mats.palmgren%bredband.net
e855fa7e8e Ignore restyle requests once PresShell::Destroy() has been called. b=279505 r+sr=bzbarsky a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@243460 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-18 18:18:19 +00:00
longsonr%gmail.com
11467ffd71 Bug 409461 - ASSERTION: SVG frame expected with svg:after. r+sr=bzbarsky,a1.9=beltzner
git-svn-id: svn://10.0.0.236/trunk@243377 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-17 16:28:57 +00:00
dholbert%cs.stanford.edu
d9bd33e144 Backing out 399852 due to mac mochitest failures
git-svn-id: svn://10.0.0.236/trunk@243161 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-16 00:56:43 +00:00
dholbert%cs.stanford.edu
c4a6851d4c Bug 399852 – Crash [@ nsCSSFrameConstructor::FindFrameWithContent] with position: fixed, focusing and contenteditable, patch by Chris Pearce <chris@pearce.org.nz>, r+sr=roc, a=blocking1.9+ (re-landing; mochitest failures should be fixed)
git-svn-id: svn://10.0.0.236/trunk@243158 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-16 00:19:47 +00:00
mats.palmgren%bredband.net
f40d6b462a Try all continuations of the block when looking for a letter frame. b=408493 r+sr=bzbarsky a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@243106 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 09:25:18 +00:00
roc+%cs.cmu.edu
8113c247a5 Backing out 410489 to fix test failures
git-svn-id: svn://10.0.0.236/trunk@242782 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-10 00:40:08 +00:00
martijn.martijn%gmail.com
d20990583c Bug 399852 – Crash [@ nsCSSFrameConstructor::FindFrameWithContent] with position: fixed, focusing and contenteditable, patch by Chris Pearce, r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@242762 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 21:44:59 +00:00
roc+%cs.cmu.edu
7caf8b7991 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@242716 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 09:38:32 +00:00
karlt+%karlt.net
ef8db85d60 Bug 348577 – Implement MathML <mtable> with display:inline-table
(mtable has incorrect baseline).
Patch by Bill Gianopoulos <wgianopoulos@yahoo.com>, r=rbs, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@242665 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 02:14:35 +00:00
roc+%cs.cmu.edu
aee1f987f6 backing out bug 355548 due to test failures
git-svn-id: svn://10.0.0.236/trunk@242652 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 23:11:30 +00:00
roc+%cs.cmu.edu
fb0a2b5cae Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@242648 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 22:36:56 +00:00
bzbarsky%mit.edu
36a70da56f Make image controls splittable just like regular images. Bug 409659, r+sr=roc,
a=dsicore


git-svn-id: svn://10.0.0.236/trunk@242428 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-05 06:44:38 +00:00
neil%parkwaycc.co.uk
ee27ffeb8b Make XUL elements really native anonymous b=410119 r=smaug sr+a=sicking
git-svn-id: svn://10.0.0.236/trunk@242354 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 11:24:42 +00:00
dtownsend%oxymoronical.com
9e5dc919ae Backout of bug 409383 to correct test failure on fxdbug-win32-tb.
git-svn-id: svn://10.0.0.236/trunk@242322 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-03 20:19:22 +00:00
longsonr%gmail.com
3342e265a7 Bug 409383 - Switch sometimes ends up with multiple child frames. r+sr=roc,a1.9=beltzner
git-svn-id: svn://10.0.0.236/trunk@242298 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-03 14:30:03 +00:00
ginn.chen%sun.com
3874ae4331 Bug 398362 First menuitem is not selected when opening a menu for the first time
r=enndeakin sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@242251 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-02 05:33:30 +00:00
enndeakin%sympatico.ca
250bba3bce Bug 400185, crash with popupgroup, disallow using popupgroups and only create a frame for the native anonymous one, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@241847 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-20 14:46:12 +00:00
roc+%cs.cmu.edu
fb0f869d56 Bug 363729. Don't allow fixed-pos tables to have abs-pos children. r=dholbert,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240886 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 01:21:34 +00:00
smontagu%smontagu.org
9a091c85e5 Only try to process first-letter frames when they exist. Bug 404209, r+sr+b=roc
git-svn-id: svn://10.0.0.236/trunk@240520 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 08:15:15 +00:00
reed%reedloden.com
caa5cf452e Bug 368554 - "[quirks] Image inside table inside table-cell with small width is wrapped" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@240292 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 09:24:50 +00:00
bzbarsky%mit.edu
3d9780d2f6 Fix bug 404666 by making spanned colframes be continuations of the col that
spans them.  r=bernd, sr=roc, a=schrep


git-svn-id: svn://10.0.0.236/trunk@240284 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 07:45:07 +00:00
bzbarsky%mit.edu
f3c1218cd4 Fix FindFrameWithContent to properly walk out-of-flows. Bug 405186, r+sr=roc,
a=beltzner


git-svn-id: svn://10.0.0.236/trunk@240050 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-28 19:58:04 +00:00
bzbarsky%mit.edu
44fb7d7965 Fix bug 403134. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@239913 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-26 00:15:21 +00:00
ginn.chen%sun.com
d10bc699e4 Bug 396799 Menus on the Application menu bar sometimes claim to be menuitems
r=enndeakin, aaronleventhal sr=neil a=dsicore


git-svn-id: svn://10.0.0.236/trunk@239821 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-22 06:14:40 +00:00
bzbarsky%mit.edu
809ab5f5da Don't pass around redundant information, so it can't get out of sync. Bug
404218, r+sr=roc, a=schrep


git-svn-id: svn://10.0.0.236/trunk@239691 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-20 04:21:29 +00:00
roc+%cs.cmu.edu
0055492186 Bug 403659. Instead of trying to move frames around in the hierarchy after we've discovered they should be inserted after ::before content, just construct them at the right position in the first place. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@239615 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-18 21:52:17 +00:00
bzbarsky%mit.edu
ca29635e4d The frame model depends on the span attribute, so changing span should
reconstruct frames.  Bug 403249, r=bernd, sr=roc


git-svn-id: svn://10.0.0.236/trunk@239609 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-18 18:56:51 +00:00
bzbarsky%mit.edu
0b617b22e3 Fix bug 403733: dynamic legend insertion should not use text as valid
siblings.  r+sr=roc, a=schrep


git-svn-id: svn://10.0.0.236/trunk@239419 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 06:18:28 +00:00
bzbarsky%mit.edu
5beca14293 Don't assume that GetPrimaryFrameFor actually works correctly. Bug 403245, r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@239174 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 00:47:50 +00:00
bzbarsky%mit.edu
7410e3788a When invalidating the canvas, do a DEFERRED view batch to prevent us entering
reflow under frame construction.  Bug 402713, r+sr=roc, a=schrep


git-svn-id: svn://10.0.0.236/trunk@239146 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-11 19:09:45 +00:00
bzbarsky%mit.edu
17b8c698e1 Give placeholders for out-of-flow tables the right parent style context. Bug
403175, r+sr+roc, a=schrep


git-svn-id: svn://10.0.0.236/trunk@239145 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-11 19:07:11 +00:00
bzbarsky%mit.edu
edfb1228a2 Use a stack array for the pending restyles unless there are lots of them. Bug
403113, r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@239020 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 06:09:22 +00:00
bzbarsky%mit.edu
52ecfb6cb0 Give first-line and first-letter frames the right parent style context. Bug
398803, r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@239012 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 05:29:06 +00:00
reed%reedloden.com
3f1d411309 Bug 399940 - Prevent content duplication by having ContentRemoved tell us whether it already reconstructed frames and therefore ContentInserted need not be called [p=roc r+sr=bzbarsky a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@238955 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 04:39:02 +00:00
reed%reedloden.com
fdf221ca08 Bug 398733 - The first *continuation* for an element should be the abs-pos container frame, not just any one of its first-in-flows [p=roc r+sr=bzbarsky a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@238954 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 04:36:46 +00:00
dholbert%cs.stanford.edu
090f64beca Bug 398797: let rel.-positioned inline-blocks be containing blocks for abs. content. r+sr=bz, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@238924 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 20:00:51 +00:00
bzbarsky%mit.edu
47847ab457 Refactor and improve sibling frame finding, especially for popups. Bug 386642,
r+sr=roc, a=vlad


git-svn-id: svn://10.0.0.236/trunk@238906 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 17:04:16 +00:00
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
mats.palmgren%bredband.net
df90a017de Call WillDestroyFrameTree() before destroying the frame tree in ReconstructDocElementHierarchyInternal() because we have cleared the placeholder map etc at this point and we don't want RemoveMappingsForFrameSubtree() to mess with it. Also, remove the RemoveMappingsForFrameSubtree() call that was added in bug 372685 which was wrong since all the frames on a popupset's ::popupList are out-of-flows that are reachable (directly or indirectly) from a normal flow placeholder. b=398982 r+sr=bzbarsky a=dsicore
git-svn-id: svn://10.0.0.236/trunk@238055 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-24 00:02:27 +00:00
reed%reedloden.com
a94464c183 Completely backout patch from Jonathan Steele in bug 399753 due to bustage.
git-svn-id: svn://10.0.0.236/trunk@237744 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-15 03:42:27 +00:00
reed%reedloden.com
a3e0ea1252 Bug 399753 - "Remove "nsISupportsArray" in the layout directory" [p=xfsunoles@gmail.com (Jonathan Steele) r+sr+a1.9=dbaron]
git-svn-id: svn://10.0.0.236/trunk@237740 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-15 03:10:00 +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
961c69b4b2 Fix regression tests. Bug 398510
git-svn-id: svn://10.0.0.236/trunk@237573 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 05:17:18 +00:00
bzbarsky%mit.edu
9c12a12131 Don't allow first-letter on the block inside a mathml table cell. Bug 398510,
r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@237571 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 04:36:48 +00:00
bzbarsky%mit.edu
4a1657bc68 Fix bug 399219. r=roc, sr=neil, a=roc
git-svn-id: svn://10.0.0.236/trunk@237552 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 22:14:41 +00:00
bzbarsky%mit.edu
8ab45f98a8 Elimninate the last known source of bogus "wrong parent style context"
warnings, and make these warnings into assertions.  Bug 374297, r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@237443 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-09 02:45:10 +00:00
bzbarsky%mit.edu
5abbf0e0b3 Fix bug 398326. Make sure to let the frame constructor know before
constructing frames.  r+sr+a=dbaron.


git-svn-id: svn://10.0.0.236/trunk@237441 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-09 02:34:58 +00:00
roc+%cs.cmu.edu
25f761d75e Bug 395331. Fix FindPrimaryFrameFor by noticing that an element can be in anonymous content if the binding root is a binding *ancestor*, not just a binding *parent*. r+sr=bzbarsy
git-svn-id: svn://10.0.0.236/trunk@237395 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 02:42:50 +00:00
mats.palmgren%bredband.net
4fac18791c Make the GetListBoxBody() call from the frame constructor not Flush_Frames. b=392285 r+sr=bzbarsky a=dsicore
git-svn-id: svn://10.0.0.236/trunk@237360 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-06 15:03:36 +00:00
dholbert%cs.stanford.edu
1a0935b276 Bug 395316 - Clear OutOfFlowFrame after unregistering placeholder, and make recursive call to RemoveFrame. r/sr/a=roc
git-svn-id: svn://10.0.0.236/trunk@237161 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-03 03:44:18 +00:00