5685 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
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
bzbarsky%mit.edu
19f3323d77 Make the "href" property of stylesheets reflect the original URI that was
reflected to load the sheet.  Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore


git-svn-id: svn://10.0.0.236/trunk@238046 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 21:56:43 +00:00
Olli.Pettay%helsinki.fi
2e1bff074e backout Bug 373462, bug 385322. Still regress tp/talos
git-svn-id: svn://10.0.0.236/trunk@237973 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-21 16:46:56 +00:00
Olli.Pettay%helsinki.fi
ae040f9f0b Test-landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst
git-svn-id: svn://10.0.0.236/trunk@237971 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-21 14:09:31 +00:00
dholbert%cs.stanford.edu
723ad12919 Bug 399384: Make first-letter frames use nearest ancestor blockFrame's content node, instead of direct parent's.
r=bzbarsky, r+a=roc


git-svn-id: svn://10.0.0.236/trunk@237923 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 17:41:29 +00:00
bzbarsky%mit.edu
c36fbdecd5 Don't run XBL constructors during frame construction, ever. Bug 398006,
r=sicking, sr=roc


git-svn-id: svn://10.0.0.236/trunk@237879 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 03:51:16 +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
reed%reedloden.com
3c0bf67b74 Bug 391868 - "Page Source very small with meta charset=windows-1258" [p=chris@pearce.org.nz (Chris Pearce) r+sr=dbaron a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@237624 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 22:54:18 +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
roc+%cs.cmu.edu
f8f72d0f9d Backing out fix for bug 345339 because of test failures
git-svn-id: svn://10.0.0.236/trunk@237507 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 03:39:17 +00:00
roc+%cs.cmu.edu
397dd6c1d9 Bug 345339. Stop using a generic hashtable to store element session history state in nsPresState. patch by Karthik Sarma, r+sr=roc,a=sicking
git-svn-id: svn://10.0.0.236/trunk@237502 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 02:15:24 +00:00
tglek%mozilla.com
1b2f5bc689 Clean up prbool misuse in layout. bug 398312, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237496 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-10 00:00:06 +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
dbaron%dbaron.org
2183eba510 Make IsWidgetStyled use style system to really check whether author styled borders or backgrounds, rather than depending on default values in forms.css. b=240117 r+sr=bzbarsky a=roc
git-svn-id: svn://10.0.0.236/trunk@237429 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 23:11:02 +00:00
reed%reedloden.com
538466d811 Bug 381735 - "reenable antialiased border drawing on Linux" [p=dao r+sr=dbaron r=vlad a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@237418 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 21:09:45 +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
gerv%gerv.net
72c5565ee0 Bug 398009 - fix mangled license headers. a=stuart.
git-svn-id: svn://10.0.0.236/trunk@237358 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-06 12:08:47 +00:00
bzbarsky%mit.edu
dc9c2f83af Fix a few issues in bfcache and XBL when javascript is being toggled on and
off.  Bug 398668, r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@237342 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-06 00:35:01 +00:00
bzbarsky%mit.edu
a5e4ec0276 Make sure we always resolve style contexts with the right parent. Bug 390689,
r+sr+a=dbaron


git-svn-id: svn://10.0.0.236/trunk@237235 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 02:58:50 +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
fantasai.cvs%inkedblade.net
3a00ff8d0e paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237057 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 05:57:46 +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
joshmoz%gmail.com
7fbad72616 remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237027 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 23:20:38 +00:00
bzbarsky%mit.edu
bba96b2355 Make sure to be in an update when we do frame construction. Bug 393326, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@236966 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 03:15:45 +00:00
dbaron%dbaron.org
dc83743c9a Destroy the old rule tree *after* processing the change list, in case the change list has frame reconstructs in it. Patch from Eli Friedman <sharparrow1@yahoo.com>. r+sr+a1.9=dbaron b=389744
git-svn-id: svn://10.0.0.236/trunk@236951 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-30 19:23:48 +00:00
Olli.Pettay%helsinki.fi
e62ab6eeb6 back out Bug 373462 / bug 385322 (again :( )
git-svn-id: svn://10.0.0.236/trunk@236922 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 17:33:24 +00:00
Olli.Pettay%helsinki.fi
8cb7efe95a Bug 373462 / bug 385322, Better scheduling of cycle collection/gc, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@236920 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 15:02:58 +00:00
roc+%cs.cmu.edu
095b90be40 Bug 368445. Make nsDisplayBorder::OptimizeVisibility use accurate borders, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236805 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-27 22:52:32 +00:00
dholbert%cs.stanford.edu
665a4e2bad Bug 367673, Handle width-computation arithmetic with nscoord_MAX. r=roc sr=roc a1.9=roc
git-svn-id: svn://10.0.0.236/trunk@236556 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 17:30:43 +00:00
Olli.Pettay%helsinki.fi
8b1c629f2c backout the test patch for Bug 373462 and 385322
git-svn-id: svn://10.0.0.236/trunk@236522 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-23 16:10:13 +00:00
Olli.Pettay%helsinki.fi
10c4faa867 Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc'
git-svn-id: svn://10.0.0.236/trunk@236520 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-23 14:05:29 +00:00
mrbkap%gmail.com
b5d751e933 Restore the right caret in all cases. bug 395888, r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@236507 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 21:06:58 +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
7317a4af4a Simplify reflow and restyle event processing a tad. Bug 396099, r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@236415 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 02:47:19 +00:00
bzbarsky%mit.edu
d81f1b725a Relanding bug 396587. Maybe it'll stick now. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@236404 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 23:28:26 +00:00
bzbarsky%mit.edu
bd6ec39767 Backing out bug 396587 to hopefully fix orange.
git-svn-id: svn://10.0.0.236/trunk@236345 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 03:41:29 +00:00
bzbarsky%mit.edu
f0794c0305 Resize the subdocument off a post-reflow callback so that we don't run script
during reflow, and a few related checks to make sure we can deal with script in
reflow callbacks better.  Bug 396587, r+sr+a=roc.


git-svn-id: svn://10.0.0.236/trunk@236344 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 02:46:28 +00:00
bzbarsky%mit.edu
8c46ab005b Fix bug 396286. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@236182 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 01:16:40 +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
surkov.alexander%gmail.com
3e82600924 Bug 388927 - getChildAtPoint fails for scrolled content, r=evan.yan, roc, sr=roc, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@233914 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 08:00:40 +00:00
martijn.martijn%gmail.com
1eed6e98b8 Bug 362734 – Crash [@ nsPrintEngine::DocumentReadyForPrinting] with testcase that sets print preview, then reloads the page, patch by Andrew Smith, r=sharparrow1, sr=roc (blocking1.9 bug)
git-svn-id: svn://10.0.0.236/trunk@233885 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-04 21:44:42 +00:00
bzbarsky%mit.edu
b409125df2 Make sure content is up to date before we start processing restyles. Bug
393801, r+sr+a=roc


git-svn-id: svn://10.0.0.236/trunk@233831 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-04 08:31:01 +00:00
masayuki%d-toybox.com
5263a3cd1b Bug 394109 Inconsistent text-decoration positioning. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233801 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 15:27:27 +00:00