Commit Graph

1928 Commits

Author SHA1 Message Date
a4c747d334 Don't pass around redundant information, so it can't get out of sync. Bug 404218, r+sr=roc, a=schrep 2007-11-19 20:21:29 -08:00
8cf7480a88 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 2007-11-18 13:52:17 -08:00
7bb8933e8c The frame model depends on the span attribute, so changing span should reconstruct frames. Bug 403249, r=bernd, sr=roc 2007-11-18 10:56:49 -08:00
760523fcd5 Fix bug 403733: dynamic legend insertion should not use text as valid siblings. r+sr=roc, a=schrep 2007-11-14 22:18:28 -08:00
5e23af58a6 Don't assume that GetPrimaryFrameFor actually works correctly. Bug 403245, r+sr+a=roc 2007-11-11 16:47:50 -08:00
41903e2330 When invalidating the canvas, do a DEFERRED view batch to prevent us entering reflow under frame construction. Bug 402713, r+sr=roc, a=schrep 2007-11-11 11:09:45 -08:00
a073a0bdd0 Give placeholders for out-of-flow tables the right parent style context. Bug 403175, r+sr+roc, a=schrep 2007-11-11 11:07:11 -08:00
e500a1cf07 Use a stack array for the pending restyles unless there are lots of them. Bug 403113, r+sr+a=roc 2007-11-08 22:09:22 -08:00
756eb42e59 Give first-line and first-letter frames the right parent style context. Bug 398803, r+sr+a=roc 2007-11-08 21:29:06 -08:00
d748c88237 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+] 2007-11-07 20:39:02 -08:00
fd4715d154 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+] 2007-11-07 20:36:46 -08:00
c7ac4fe8d5 Bug 398797: let rel.-positioned inline-blocks be containing blocks for abs. content. r+sr=bz, a=blocking1.9+ 2007-11-07 12:00:51 -08:00
d339c381d4 Refactor and improve sibling frame finding, especially for popups. Bug 386642, r+sr=roc, a=vlad 2007-11-07 09:04:16 -08:00
e253c27fb0 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 2007-10-25 16:30:49 -07:00
d7e434d4cb 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 2007-10-23 17:02:26 -07:00
cc10df2710 Completely backout patch from Jonathan Steele in bug 399753 due to bustage. 2007-10-14 20:42:27 -07:00
374155c151 Bug 399753 - "Remove "nsISupportsArray" in the layout directory" [p=xfsunoles@gmail.com (Jonathan Steele) r+sr+a1.9=dbaron] 2007-10-14 20:09:59 -07:00
b6efadf476 Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky 2007-10-12 01:30:54 -07:00
e430c91029 Fix regression tests. Bug 398510 2007-10-10 22:17:18 -07:00
7b94aca146 Don't allow first-letter on the block inside a mathml table cell. Bug 398510, r+sr+a=roc 2007-10-10 21:36:48 -07:00
5a9f8d190d Fix bug 399219. r=roc, sr=neil, a=roc 2007-10-10 15:14:41 -07:00
b2384da643 Elimninate the last known source of bogus "wrong parent style context" warnings, and make these warnings into assertions. Bug 374297, r+sr+a=dbaron 2007-10-08 19:45:10 -07:00
24849700c5 Fix bug 398326. Make sure to let the frame constructor know before constructing frames. r+sr+a=dbaron. 2007-10-08 19:34:58 -07:00
240bf59a95 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 2007-10-07 19:42:50 -07:00
30d20595eb Make the GetListBoxBody() call from the frame constructor not Flush_Frames. b=392285 r+sr=bzbarsky a=dsicore 2007-10-06 08:03:35 -07:00
65183bc447 Bug 395316 - Clear OutOfFlowFrame after unregistering placeholder, and make recursive call to RemoveFrame. r/sr/a=roc 2007-10-02 20:44:18 -07:00
9011ed7502 paginate absolutely-positioned elements, b=154892 r+sr=roc a=roc 2007-10-01 22:57:45 -07:00
e036aa4842 Add asserts to catch dangerous cases. Bug 398108, r+sr+a=dbaron 2007-10-01 21:37:36 -07:00
e545a9edcf Make sure to be in an update when we do frame construction. Bug 393326, r+sr+a=dbaron 2007-09-30 20:15:45 -07:00
e3e5b0d3d1 Fix content leak due to double-init of oveflow placeholders. Bug 397011, r+sr+a=roc 2007-09-21 18:24:40 -07:00
fbd94b66ba Simplify reflow and restyle event processing a tad. Bug 396099, r+sr+a=roc 2007-09-20 19:47:19 -07:00
3d40184830 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 2007-09-14 12:15:44 -07:00
9fe149ecf6 Fix bug 394111. r+sr+a=bzbarsky 2007-09-02 18:28:08 -07:00
0fdee6c184 Fix bug 393671. r+sr+a=roc 2007-08-26 19:48:43 -07:00
cca66c55f9 Fix crash bug 393517. r+sr=roc, a=dbaron 2007-08-26 17:20:52 -07:00
5f0e1a51ed Set the property on the right frame. Bug 393649, r+sr=dbaron, a=roc 2007-08-26 17:18:25 -07:00
f0decc0eb9 Be less noisy in debug builds. 2007-08-26 11:27:00 -07:00
bb77fcb888 clean up some unused variables and calls. no bug. sr/a=bz 2007-08-19 23:33:14 -07:00
35e3a948d0 Put back in an optimization that we apparently really do need. Bug 390425, r+sr+a=roc 2007-08-15 21:27:07 -07:00
95014af995 Backing out test patch 2007-08-15 21:01:51 -07:00
26cd9bd57a Testing a fix for the perfomrance regression. Bug 390425, no reviews, no approval, will back out once I have some data. 2007-08-15 20:14:48 -07:00
bb140ff4b9 Relanding bug 390425, with attempted performance regression fix. r+sr+a=roc 2007-08-15 16:20:25 -07:00
c712323ffd Bug 390692. Fix live region support to provide useful information on the node that's being shown or hidden, or has a text change event. r=ginn.chen, sr=roc, a=roc 2007-08-10 18:44:44 -07:00
5eec8b2b7f Back out bug 390425 to fix performance regression. 2007-08-10 15:55:21 -07:00
670fe8ddf5 Simplify handling of {ib} splits. Bug 390425, r+sr=roc, a=dbaron 2007-08-10 13:02:11 -07:00
cc61feedad Don;t process pseudo-frames if we're not going to actually create a replaced element frame (or in fact any frame at all, in this case!). Bug 391140, r=bernd, sr+a=roc 2007-08-10 10:18:11 -07:00
3a2e55fe48 Bug 390420, select dropdowns appearing in the wrong place in some cases, r+bz,a=dbaron 2007-08-10 05:42:06 -07:00
36cf38cf28 Better handling of appending captions. Bug 387544, r=bernd, sr=roc, a=dbaron. 2007-08-07 18:19:04 -07:00
a64e8458c6 Bug 389619 - Duplicate frames for content in nested fixed-position divs, when on second page in print-preview, patch by dholbert, r+sr=roc, a=dbaron 2007-08-07 16:53:56 -07:00
b05a4e497b Bug 389767 - Regression: Fixed-position items are missing on 2nd page of print-preview, fixed on behalf of HP, r+sr=bzbarsky 2007-08-07 09:06:56 -07:00