Ehsan Akhgari
d07e155f48
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
David Zbarsky
9050aef271
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Matt Woodrow
145d424c02
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Jonathan Watt
131c149f2a
Bug 767388 - Kill NS_DEBUG. r=bz.
2012-06-25 20:59:42 +01:00
Boris Zbarsky
971ae79862
Bug 763424. Dynamic changes to generated content don't work correctly on frames which pass a child content insertion frame to ProcessChildren (e.g. <td>). r=dbaron
2012-06-11 18:21:35 -04:00
Ed Morley
d3a378b75a
Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms
2012-06-11 10:08:32 +01:00
Matt Woodrow
d046341aa0
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
...
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Ehsan Akhgari
7c4ccc5734
Bug 157681 - Part 2: Optimize positioned frame offset changes by moving the frame as opposed to reflowing it in case we know that the size of the frame will not change; r=dbaron
...
This patch adds a change hint to signal that one of the offsets on a
frame has been changed. When processing the hint, we do one of the
following things based on the position property of the frame.
* For static frames, we ignore the offset changes completely, as they
will not change the layout.
* For relative positioned frames, this patch refactors the
nsHTMLReflowState::ComputeRelativeOffsets function so that it can be
used from other callers, and it uses that to compute the new relative
offsets, and uses the offsets computed previously to compute the new
position of the frame.
* For absolute positioned frames, we set up a fake parent reflow state
object, and then we create a new reflow state object for the frame in
question. This setup is similar to what nsFrame::BoxReflow does.
Once we have the new reflow state object, we use it to compute the
absolute offsets, and then we use the computed offsets to set the new
position of the frame. The offset computation is similar to what
nsAbsoluteContainingBlock::ReflowAbsoluteFrame does. In some cases
where it is possible for the dimensions of the frame to change based
on the offset changes, we fall back to a full reflow.
2012-06-06 00:53:48 -04:00
Boris Zbarsky
e4cbb18ea0
Bug 464758. Don't try to check for :before/:after pseudos for frames that can't have them. r=dbaron
2012-05-29 23:45:17 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Boris Zbarsky
2e235601df
Bug 751012. When saving frame state, make sure to walk through placeholders so we save the state of out-of-flow descendants properly. Also make sure to walk the continuations and special siblings of the root frame that we're saving state for. r=roc
2012-05-09 21:27:47 -04:00
Matt Woodrow
cd8cf4b110
Bug 729955 - Invalidate destroyed out-of-flow frames before unregistering the placeholder frame. r=bz
2012-03-26 11:27:37 -07:00
Boris Zbarsky
4d67d011d7
Bug 736389. Get rid of code that reresolved style on overflow containers multiple times and in the process violated some invariants other code depended on. r=mats
2012-03-16 13:13:14 -04:00
Boris Zbarsky
e3ccb9e842
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Phil Ringnalda
86022420b1
Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage
2012-03-12 22:12:41 -07:00
Boris Zbarsky
b04c0a0753
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Matt Woodrow
439a12dca2
Bug 721082 - Constify nsIFrame::GetParentStyleContextFrame. r=roc
2012-02-15 22:28:21 +13:00
Robert O'Callahan
ee67f9924d
Bug 724502. Ensure that UpdateTransformLayer and UpdateOpacityLayer change hints generate a new change list entry for every frame whose style asks for them. r=matspal
2012-02-08 11:52:59 +13:00
Mats Palmgren
aeb31c8469
Bug 724432 - Skip UpdateOverflow if we did Reflow. Don't propagate UpdateOverflow in ReResolveStyleContext. r=roc
2012-02-07 12:31:47 +01:00
Jonathan Watt
abde690b9d
Bug 714839 - Make nsCSSFrameConstructor inherit nsFrameManager. r=bz.
2012-02-02 10:06:46 +00:00
Ehsan Akhgari
ff5bfa6ed7
Bug 691118 - Frames inserted into the frame manager should only be overflow containers, not true overflow containers; r=roc
2012-01-03 19:44:07 -05:00
David Zbarsky
132af73713
Bug 660959 - Update link state less lazily r=bz
2011-11-14 16:24:41 +13:00
Olli Pettay
1cdbb1b884
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Ehsan Akhgari
a9088e07c1
Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc
2011-04-29 19:02:33 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Mats Palmgren
886a8f934d
Bug 685154 - Cleanup nsIFrame::GetParentStyleContextFrame and related code. r=roc
...
Make nsIFrame::GetParentStyleContextFrame return the frame directly
instead of indirectly through an out parameter. Remove the unused
nsPresContext parameter.
2011-09-12 09:08:07 -07:00
Mats Palmgren
4e2a044a66
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
1bfd788e19
Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
...
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
Boris Zbarsky
acef2aa6e8
Bug 670467. Correctly reresolve style on non-first continuations and non-first parts of {ib} splits even when we're restyling both an ancestor of the element and the element itself. r=dbaron
2011-08-11 23:52:21 -04:00
arno renevier
dc09fc8a13
Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg
2011-07-21 04:37:31 +02:00
Alexander Surkov
70349b4ddb
Bug 671504 - get rid nsIPresShell::gAccessibilityIsActive, r=roc
2011-07-19 17:30:19 +09:00
Ehsan Akhgari
b8774f8312
Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
2011-06-01 16:18:15 -04:00
Craig Topper
d1acc42088
Bug 654369 - Part 11: Remove OOM checks from layout/base r=bz
2011-04-28 22:02:40 -07:00
Boris Zbarsky
9d3ecbca6a
Bug 631529. Pass a TreeMatchContext into ReResolveStyleContext so that we can share the nth-index cache across the entire reresolution. r=dbaron
2011-05-24 20:19:09 -04:00
Ehsan Akhgari
8c373030bb
Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc
2011-04-29 19:02:33 -04:00
L. David Baron
decf747718
Should check link-related bits before reusing style context for root element. (Bug 652268) r=bzbarsky
2011-04-22 18:36:24 -07:00
bc976e741c
Bug 587484 - warning: suggest parentheses around assignment used as truth value in while (... = GetNextContinuation())
...
r+a=dbaron
2011-02-16 14:14:14 +01:00
Alexander Surkov
5d41370232
Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc
2011-01-28 12:38:14 +08:00
Ehsan Akhgari
4163c2e2b7
Bug 581536 - Part 2: Reconstruct the document element frames when the dir attribute is set on the document; r=bzbarsky a=blocking-betaN+
2010-12-15 12:26:54 -08:00
7101ee89c7
Bug 615841 ourA11yNotification is only used in nsFrameManager::ReResolveStyleContext ifdef ACCESSIBILITY
...
r+a=bz
2010-12-04 11:07:53 +01:00
Alexander Surkov
62c24071c6
Bug 606125 - develop a way to handle visibility style, r=marcoz, davidb, sr=bz, a=blocking
2010-11-13 12:49:26 -05:00
Alexander Surkov
a1c156514e
Bug 570275 - rework accessible tree update code, r=marcoz, davidb, bz, a=blocking
2010-10-21 13:16:10 +09:00
Robert O'Callahan
3f1563fde4
Bug 579323. Part 1.8: Rename InvalidateOverflowRect to InvalidateFrameSubtree. r=tnikkel
2010-08-31 12:49:12 +12:00
Mats Palmgren
afcd69f4d0
Bug 576649. r=bzbarsky a=blocking2.0
2010-08-10 19:04:43 -03:00
Boris Zbarsky
45169884ff
Bug 573241. When reparenting a style context, don't include any transition rules the old context might have had in the new one, since that can confuse transitions. r=dbaron
2010-06-23 00:46:27 -04:00
Boris Zbarsky
bfe2f2d659
Bug 569006. Skip probing for ::before/::after during reresolve if we're not redoing matching on kids, since those can't appear/disappear without either a reframe or a change in what selectors we match. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
bf21a41863
Bug 494117 part 2. Don't force selector matching on the whole subtree rooted at an element when the element's style changes. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
dd043f1d13
Bug 479655 part 7. Switch to the new setup for tracking and handling restyles. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
4f92c20d44
Bug 479655 part 5. Pass the relevant restyle tracker through to style reresolution. r=dbaron
2010-06-18 12:23:05 -04:00