Commit Graph

446 Commits

Author SHA1 Message Date
L. David Baron
ebdb7b8f96 Make style changes know whether they are for transitions or not. (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
Olli Pettay
850bc3207f Bug 508373 - Generated content may cause reference loops, r=roc 2009-08-13 22:29:42 +03:00
Robert O'Callahan
2684e99e48 Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz 2009-08-05 13:38:10 +12:00
Boris Zbarsky
311d82ece6 Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron 2009-08-03 21:22:13 -04:00
Boris Zbarsky
d8fb6b6573 Backed out changeset 25462849adcc (bug 502288) to get some talos cycles for the tracemonkey merge without this patch in. 2009-08-03 15:10:09 -04:00
Boris Zbarsky
cb207a1557 Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron 2009-08-03 13:38:42 -04:00
Timothy Nikkel
fe17a57493 Bug 494546. Make all containing block reconstruction async. r=dbaron 2009-08-03 14:18:31 +12:00
Boris Zbarsky
a8b4b2dc7e Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky
5a510c0676 Bug 504221 part 11. Switch the {ib}-split list munging to nsFrameList. r=fantasai,roc 2009-07-28 08:53:19 -04:00
Boris Zbarsky
b6729ff0a3 Bug 504221 part 10. Switch the first-line frame list munging to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:19 -04:00
Boris Zbarsky
179c7d9b2c Bug 504221 part 8. Make CreateAnonymousColFrames saner. r=bernd, sr=roc 2009-07-28 08:53:18 -04:00
Boris Zbarsky
1f880b8040 Bug 500467. When removing table rows/rowgroups/cells, don't try to create frames for their adjacent whitespace. We don't need it. r+sr=roc 2009-06-25 18:12:51 -04:00
Robert O'Callahan
53fac2f1cb Bug 500124. Fix regression from bug 495385 by initializing text items correctly. Also avoid reframing text nodes in ContentRemoved when we know the text node doesn't need to be unsuppressed. r+sr=bzbarsky 2009-06-24 20:46:04 +12:00
Robert O'Callahan
0e890f6994 Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky 2009-06-13 21:16:34 +12:00
Robert O'Callahan
83bd12dc95 Backed out changeset 69c6dbdfd179 2009-06-14 00:18:06 +12:00
Robert O'Callahan
d045e5d324 Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky 2009-06-13 21:16:34 +12:00
Boris Zbarsky
b6b950f370 Bug 495350. Do a better job of keeping track of our line participant count. r+sr=roc 2009-06-11 13:09:35 -04:00
Neil Deakin
f62906b6b1 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Boris Zbarsky
7ca3d04839 Bug 78070. When the root element is removed, remove all frames except the viewport; when it's reinserted, recreate them as needed. r=roc,dbaron sr=roc 2009-05-11 22:04:58 -04:00
Boris Zbarsky
020563a02b Bug 482398. Fix insertions when there are Letter frames around to be sane. r+sr=dbaron 2009-04-23 20:31:13 -04:00
Boris Zbarsky
df9eadc79b Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc 2009-04-08 12:56:16 -04:00
Boris Zbarsky
dd036d1476 Bug 487449. Figure out the correct prevSibling for the new frames in ContentAppended, always pass the correct prevSibling to WipeContainingBlock, and make its aIsAppend argument exactly correspond to whether we'll call nsCSSFrameConstructor::AppendFrames. Change nsCSSFrameConstructor::AppendFrames() to take the prevSibling for the new frames. r+sr=roc 2009-04-14 09:30:20 -04:00
Boris Zbarsky
ab4638fb35 Backed out changeset 0ea22856b5d9 (bug 484448). 2009-04-08 15:56:43 -04:00
Boris Zbarsky
89b6d633ea Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc 2009-04-08 12:56:16 -04:00
Robert O'Callahan
cf8a7dc16b Bug 459666. Guard assertion containing GetPrimaryFrameFor so it doesn't run at a bad time to be calling GetPrimaryFrameFor. Also, nsCSSFrameConstructor::PostRestyleEvent should check mPresShell->IsDestroying() when deciding whether to drop requests, and it should drop requests silently because it's perfectly safe and correct to do so. r+sr=bzbarsky 2009-04-01 14:08:34 +13:00
Robert O'Callahan
de1c38e4c6 Backout fix for bug 459666 2009-03-30 15:54:33 +13:00
Boris Zbarsky
237f0da6f4 Bug 162063. Remove pseudo-frames as needed when the frame that needs them is removed from the frame tree. r=bernd, sr=roc. Also fixes bug 97506, bug 143397, bug 156888, bug 277995, bug 293576, bug 315146, bug 338735, bug 339388, bug 407115, 473824. 2009-03-23 14:08:03 -04:00
Boris Zbarsky
632bad4b92 Bug 482889 Part 3. Switch to a new algorithm for creating anonymous table objects. r=bernd, r+sr=roc 2009-03-15 16:01:48 -04:00
Boris Zbarsky
ac1958b09e Bug 482889 Part 2. Refactor calls to CreateRequiredPseudoFrames so that they all happen in AdjustParentFrame. r=bernd, r+sr=roc 2009-03-15 15:57:46 -04:00
Boris Zbarsky
e3919ae6db Bug 481788. Make FrameConstructionItemList a PRCList. r+sr=roc 2009-03-10 09:51:34 -04:00
Boris Zbarsky
ae9ad4e952 Bug 480979 part 7. Create a FrameConstructionItemList class so we can abstract away item lists and change the implementation as needed. r+sr=roc 2009-03-05 08:09:03 -05:00
Boris Zbarsky
35140d5d39 Bug 480979 part 6. Push use of FrameConstructionItem all the way up to ContentAppended/ContentInserted, and eliminate the need for DestroyNewlyCreatedFrames. r+sr=roc 2009-03-05 08:09:03 -05:00
Boris Zbarsky
12016f709d Bug 480979 part 5. Build up a tree of FrameConstructionItems so that we'll know which inlines might need splitting. r+sr=roc 2009-03-05 08:09:02 -05:00
Boris Zbarsky
5ff7b71853 Bug 480979 part 4. Create separate FrameConstructionItems for page-break frames. r+sr=roc 2009-03-05 08:09:02 -05:00
Boris Zbarsky
2dc3c87f52 Bug 480979 part 3. Move suppression of kids of columns and non-column kids of colgroups out further so that we don't even create FrameConstructionItems for them. r+sr=roc 2009-03-05 08:09:02 -05:00
Boris Zbarsky
1106535961 Bug 480979 part 2. Pass FrameConstructionItems through to the FrameFullConstructor implementations. r+sr=roc 2009-03-05 08:09:01 -05:00
Boris Zbarsky
88cc11b548 Bug 480979 part 1. Introduce FrameConstructionItem and restructure existing ConstructFrame and ProcessChildren code to use it internally without any other behavior changes. r+sr=roc 2009-03-05 08:09:01 -05:00
Boris Zbarsky
865014220f Bug 480323. Always create a trailing inline for {ib} splits. r+sr=dbaron 2009-03-04 07:55:29 -05:00
Boris Zbarsky
171103e545 Bug 480208. Eliminate the tag version of CreateAnonymousFrames. r+sr=roc 2009-03-01 10:16:30 -05:00
Boris Zbarsky
93fb898bd6 Bug 479114. Create page-break frames only after we know our final parent. 2009-03-01 10:16:29 -05:00
Boris Zbarsky
f352dcbb27 Bug 478956. Merge pseudo-frame handling for outer tables and non-table frames. r=bernd, sr=roc 2009-03-01 10:16:29 -05:00
Boris Zbarsky
b6167258bb Bug 478820 part 3. Switch ConstructFrameByDisplayType to FrameConstructionData. r+sr=roc 2009-02-18 08:25:29 -05:00
Boris Zbarsky
3d6581ca29 Bug 478820 part 2. Reorganize ConstructFrameByDisplayType a bit in the tables department. r=bernd, sr=roc 2009-02-18 08:25:29 -05:00
Robert O'Callahan
081ad2d01e Bug 459666. GetReferencedFrame should bail out if we've destroyed the frame tree while reconstructing frames for the entire document. r+sr=bzbarsky 2009-02-10 21:28:16 +13:00
Kyle Huey
aec716a9b6 Bug 452345. nsCSSFrameConstructor should use the term 'root element frame' instead of 'initial containing block', since 'initial containing block' means something else in CSS. r+sr=roc 2009-02-05 21:11:42 +13:00
Arpad Borsos
af5c52fa8a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Boris Zbarsky
8c48b220b9 Bug 476063. Only do special fieldsetty stuff with <legend>s that are in a fieldset. r+sr=dbaron 2009-02-03 09:29:47 -05:00
Boris Zbarsky
1640e96079 Fixing build bustage on Windows. Bug 307394 2009-01-29 15:15:45 -05:00
Boris Zbarsky
9ff7e9ac7b Bug 307394 part 2. Fix the indexing in ContentInserted to work correctly even when XBL is around. r+sr=dbaron. Also fixes bug 232990, bug 261826 , bug 272646, bug 386310, bug 468546 2009-01-29 14:46:20 -05:00
Boris Zbarsky
1b2575adb2 Bug 473390 part 18. Eliminate IsSpecialContent. r+sr=roc 2009-01-19 13:31:35 -05:00