Commit Graph

1908 Commits

Author SHA1 Message Date
Zack Weinberg
18f8b8b129 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
Hashem Masoud
ae914487ea Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Olli Pettay
850bc3207f Bug 508373 - Generated content may cause reference loops, r=roc 2009-08-13 22:29:42 +03:00
Timothy Nikkel
86583a55ec Bug 508927. Assuming that the binding parent of the listboxbody content is the listbox content (and hence parent of listitems) is just wrong. Use ChildIterator instead to access the XBL nodes of the listboxbody content and get the frame constructor to pass the listboxbody frame the right container. r=bzbarsky, a=beltzner for CLOSED TREE 2009-08-13 11:38:22 -04:00
Timothy Nikkel
c8fe9e1639 Bug 500063. "ASSERTION: Already have an undisplayed context entry for aContent" while running leak tests. r=bzbarsky 2009-08-12 18:35:28 -04:00
Markus Stange
ebeee46724 Bug 509876 - Clean up SyncFrameViewGeometryDependentProperties. r=roc 2009-08-13 08:48:30 +12:00
Frédéric Wang
45e1bb2523 b=297467 menclose r=karlt rs=roc 2009-05-29 13:08:35 +02:00
Timothy Nikkel
d63b94a05f Bug 497519 part 2. Only do special handling for legends whose content parnt is an HTML fieldset. bzbarsky 2009-08-07 15:51:25 -04: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
23db8f4fa3 Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron 2009-07-30 13:23:32 -04:00
Timothy Nikkel
1d0308df10 Bug 269908. <legend> default style changes restrict styling options. r+sr=bzbarsky 2009-07-29 18:10:50 -04:00
Boris Zbarsky
5bffed7be3 Relanding bug 496823 in the hopes that it's not causing the XP Txul issue. 2009-07-29 08:53:27 -04:00
Boris Zbarsky
57a404d495 Backed out changeset 622a29736f33 to see whether bug 496823 causes the WinXP Txul regression. 2009-07-28 14:35:28 -04: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
8735e07de7 Bug 504221 part 7. Make nsFrameItems inherit from nsFrameList. rfantasai, r+sr=roc 2009-07-28 08:53:18 -04:00
Timothy Nikkel
02d5eaf357 Bug 506602. fix "warning: recurring into frame construction" when there isn't anything wrong. r=bzbarsky 2009-07-27 13:19:58 -04:00
Michael Kohler
64897ba879 Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
Boris Zbarsky
97e02084ab Bug 496823. Blocks can implement GetLastChild() much faster than by just getting first child and iterating its siblings. r=roc 2009-07-26 21:27:32 -04:00
Boris Zbarsky
de5396b467 Bug 502447. Make sure to recompute the viewport scrollbar flags early enough during root frame setup. r=roc 2009-07-22 21:31:44 -04:00
Robert O'Callahan
20a1764c05 Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly. 2009-07-22 12:45:00 +12:00
Olli Pettay
3fba3f8e0e bug 501900, r+sr=roc 2009-07-21 14:59:46 +03:00
Boris Zbarsky
a9191b94cf Bug 503364. Make GetAbsoluteContainingBlock work correctly for abs pos table ancestors again. r+sr=roc 2009-07-09 15:13:58 -07:00
Boris Zbarsky
43a120de80 Bug 502941. Don't bother appending if we already know our correct prevsibling. r+sr=roc 2009-07-07 22:23:24 -07:00
Robert O'Callahan
25c02ed572 Bug 501878. Don't suppress whitespace-only SVG text frames. r+sr=bzbarsky 2009-07-04 21:56:20 +12:00
Boris Zbarsky
db1a092c18 Bug 500905. Don't try to create text frames for textnodes that don't have frames if their parent frame's parent type is not block. That way we won't reconstruct the row, for example, if a cell is reframed and has whitespace next to it. Also fix WipeContainingBlock to not reframe in that case anyway. r+sr=roc 2009-06-29 21:39:55 -04:00
Robert O'Callahan
1e77c78f28 Bug 500556. Split FRAMETREE_DEPENDS_ON_CHARS bit into NS_CREATE_FRAME_IF_NON_WHITESPACE and NS_REFRAME_IF_WHITESPACE so we don't need to reframe for every data change. r+sr=bzbarsky 2009-06-29 10:48:24 +12: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
Robert O'Callahan
ca1a425740 Bug 496840. Make dynamic insertion and removal of legends work in the presence of multiple legends. r+sr=bzbarsky 2009-06-12 14:01:05 +12:00
Robert O'Callahan
12fe25df3b Bug 496032. Buttons should should lay out their contents using IsBlockInside not IsBlockOutside. r+sr=bzbarsky 2009-06-12 13:48:07 +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
Timothy Nikkel
230612114f Bug 496020 - "nsCSSFrameConstructor::BeginUpdate is called when scripts are not blocked." r+sr=bzbarsky 2009-06-11 13:09:34 -04:00
Jonathan Watt
b1b8890650 Bug 488460. Invalidation cleanup. r=longsonr 2009-06-11 17:23:43 +02:00
Arpad Borsos
2a9d7a5de0 Bug 495296 - kill nsISVGTextContentMetrics; r+sr=roc 2009-05-29 12:15:40 +02: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
e35585efd7 Bug 495648. Work around yet more listbox suckage: it'll randomly create frames for content it hasn't included in its row count! r=enn, sr=roc pending 2009-06-01 12:46:31 -04:00
Boris Zbarsky
0d1113f7b6 Bug 492163, bug 492112, and bug 483604. Stop putting the style contexts of textnodes and CSS generated content in the undisplayed map, and make sure to properly unbind generated content if we don't plan to actually create a frame construction item for it. r+sr=dbaron 2009-05-14 21:40:26 -04:00
Arpad Borsos
471e3e73c0 Bug 492531 - Optimize some CSS and Reflow classes for memory usage; r+sr=dbaron 2009-05-13 10:26:48 +02:00
Robert O'Callahan
989197ed86 Bug 492480. Unregister placeholder relationship when we destroy out-of-flow frames, instead of trying to do it earlier in many places and not always doing it right. r+sr=dbaron 2009-05-14 09:35:02 +12:00
Boris Zbarsky
3f790e3d67 Bug 480452. Make {ib} splits behave the same way with regard to margins, borders, and padding as inline frames that just have a line-break happening inside them do. r+sr=dbaron 2009-05-11 22:04:58 -04:00