Chris Lord
d54493310a
Bug 1038781 - Don't reflow/repaint frame when clip changes. r=roc
...
If an element's existing clip changes, just update overflow areas and let
DLBI handle invalidation.
2014-07-16 13:28:50 +02:00
L. David Baron
502b0ac364
Bug 1026768 - Pass the restyle hint through from ProcessOneRestyle to ComputeStyleChangeFor rather than converting it to a boolean and back. r=heycam
...
This was originally bug 996796 patch 6, but it's also needed bug 931668,
so I'm moving it into its own bug.
2014-06-18 17:07:26 -07:00
Susanna Bowen
4451470f2b
Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron
2014-06-17 10:32:00 -04:00
Susanna Bowen
556e2a7f1a
Bug 1025308 - Rename the variables associated with skipping style fixups for children element's based on parent display value. r=mats
2014-06-16 09:55:00 -04:00
Wes Kocher
b29250a3a3
Backed out 2 changesets (bug 727125) for reftest bustage on an otherwise CLOSED TREE
...
Backed out changeset 443361e2724a (bug 727125)
Backed out changeset 16c8d78df86e (bug 727125)
2014-06-16 13:34:50 -07:00
Susanna Bowen
de5185bcd2
Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron
2014-06-16 11:58:29 -07:00
Cameron McCormack
6b817440b4
Bug 1017798 - Part 1: Make AncestorFilter and the TreeMatchContext style scope list include ancestors from following ShadowRoots up to the light tree. r=bzbarsky
2014-06-06 15:22:55 +10:00
Victor Porof
5643294005
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Mats Palmgren
285c9e041a
Bug 508665 - part 3, Change GetContentInsertionFrame() to return a nsContainerFrame*, and return null for leaf frames. Deal with GetContentInsertionFrame() returning null in a couple of places. r=roc
2014-05-24 22:20:39 +00:00
Mats Palmgren
b0d5def71c
Bug 1008917 - part 15, make RestyleManager::StyleChangeReflow() return type 'void'. r=roc
2014-05-13 00:47:53 +00:00
Wes Kocher
4bfe3c39fd
Backed out 11 changesets (bug 1008917) for apparently introducing an intermittent failure of B2G Crashtest-2 on a CLOSED TREE
...
Backed out changeset e2ab653f688a (bug 1008917)
Backed out changeset b52154d8d900 (bug 1008917)
Backed out changeset 2ab5b01da4de (bug 1008917)
Backed out changeset f7a38df1d44f (bug 1008917)
Backed out changeset 80304bb9a572 (bug 1008917)
Backed out changeset 10ed89a302e9 (bug 1008917)
Backed out changeset 161c41991d46 (bug 1008917)
Backed out changeset 25b2475d2368 (bug 1008917)
Backed out changeset b8000b31277c (bug 1008917)
Backed out changeset 9afa5e7715e1 (bug 1008917)
Backed out changeset 5c380c21351f (bug 1008917)
2014-05-12 15:47:41 -07:00
Mats Palmgren
091cebb52a
Bug 1008917 - part 15, make RestyleManager::StyleChangeReflow() return type 'void'. r=roc
2014-05-12 17:40:30 +00:00
Kearwood (Kip) Gilbert
32f64d3ccb
Bug 926728 - Only pass the first continuation or or-split-sibling of the sticky element to StickyScrollContainer::PositionContinuation. r=dbaron, r=corey
...
- RestyleManager::RecomputePosition now calls
StickyScrollContainer::PositionContinuation with the first continuation
or ib-split-sibling of the passed frame, as PositionContinuations will
update all continuations at once, and expects the first continuation
to be passed in.
2014-04-25 15:29:56 -07:00
Mats Palmgren
68128d6d60
Bug 1000376 - part 3, s/FlexItemStyleFixup/FlexOrGridItemStyleFixup/ and corresponding comment changes. r=dholbert
2014-05-03 13:42:33 +00:00
L. David Baron
655d9fb45b
Bug 997506: Call CreateNeededFrames for all ProcessPendingRestyles calls rather than just most. r=tn
...
This is needed to avoid hitting the assertion "Why did this not get
handled while processing mRestyleRoots?" in CollectRestyles, because we
have a restyle posted for a frame that has the NEEDS_FRAME bit flag set.
2014-04-24 09:30:12 -07:00
Kearwood (Kip) Gilbert
93e818d617
Bug 984226 - Add parameter to OverflowChangedTracker::AddFrame to distingush between frames that need nsIFrame::UpdateOverflow called and frames that only have a transform that has changed. r=dbaron
...
- OverflowChangedTracker::AddFrame now accepts an enumerated type parameter to
indicate if the overflow areas of children have changed (CHILDREN_CHANGED),
the overflow areas of the children have changed and the parent have changed
(CHILDREN_AND_PARENT_CHANGED), or if only the transform has changed
(TRANSFORM_CHANGED).
- OverflowChangedTracker::Flush no longer falls back to calling
nsIFrame::UpdateOverflow when a frame lacks a PreTransformOverflowAreas
property.
- Added an additional change hint, nsChangeHint_ChildrenOnlyTransform, which
results in TRANSFORM_CHANGED being passed in to
OverflowChangedTracker::AddFrame.
- In nsIFrame::FinishAndStoreOverflow, the passed in overflow is now stored as
the InitialTransformProperty for elements that are IsTransformed().
- Partially corrected Bug 926155, by only calling
OverflowChangedTracker::AddFrame on parents of the sticky element during
StickyScrollContainer::UpdatePositions, using CHILDREN_CHANGED.
2014-03-13 17:21:25 -07:00
Daniel Holbert
ce29c5307d
Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc
2014-04-14 21:30:25 -07:00
Ryan VanderMeulen
27b28b1c13
Backed out changeset 7be71c699b85 (bug 984226) for crashtest asserts.
2014-04-08 15:31:45 -04:00
Kearwood (Kip) Gilbert
ebcffdc9e3
Bug 984226 - Add parameter to OverflowChangedTracker::AddFrame to distingush between frames that need nsIFrame::UpdateOverflow called and frames that only have a transform that has changed. r=dbaron
...
- OverflowChangedTracker::AddFrame now accepts an enumerated type parameter to
indicate if the overflow areas of children have changed (CHILDREN_CHANGED) or
if the transform has changed (TRANSFORM_CHANGED).
- OverflowChangedTracker::Flush no longer falls back to calling
nsIFrame::UpdateOverflow when a frame lacks a PreTransformOverflowAreas
property.
- Added an additional change hint, nsChangeHint_ChildrenOnlyTransform, which
results in TRANSFORM_CHANGED being passed in to
OverflowChangedTracker::AddFrame.
- In nsIFrame::FinishAndStoreOverflow, the passed in overflow is now stored as
the InitialTransformProperty for elements that are IsTransformed().
- Partially corrected Bug 926155, by only calling
OverflowChangedTracker::AddFrame on parents of the sticky element during
StickyScrollContainer::UpdatePositions, using CHILDREN_CHANGED.
2014-03-13 17:21:25 -07:00
Masayuki Nakano
01ad44156b
Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
...
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
L. David Baron
0253d42661
Bug 828173 bustage fix for non-unified builds: add using declaration.
2014-03-04 21:05:18 -08:00
L. David Baron
598c0d4122
Bug 828173 patch 5: Call AddAnimationsAndTransitionsToLayer when we choose not to repaint when handling an UpdateTransformLayer hint, so that any new animations resulting from the style change get sent to the layer. r=mattwoodrow
2014-03-04 20:13:22 -08:00
L. David Baron
d38774f56a
Bug 978612: Ignore changes to offsets of static-positioned elements when they or their descendants have views. r=dholbert
...
We get slightly better optimization, and no loss of function, by putting
these checks in the opposite order.
2014-03-03 00:54:39 -08:00
L. David Baron
653e952e94
Bug 91419 patch 9: Fix comments and debugging output referring to "special" frames. r=mats
2014-02-06 17:45:33 -08:00
L. David Baron
1cd8290c55
Bug 91419 patch 6: Rename everything with IBSplitSpecialPrevSibling to IBSplitPrevSibling. r=mats
2014-02-06 17:45:31 -08:00
L. David Baron
d1d272808d
Bug 91419 patch 5: Rename everything with SpecialSibling to IBSplitSibling. r=mats
2014-02-06 17:45:31 -08:00
L. David Baron
9a314c5e74
Bug 91419 patch 3: Rename everything with IBSplitSpecialSibling to IBSplitSibling. r=mats
2014-02-06 17:45:30 -08:00
L. David Baron
f33181c366
Bug 91419 patch 1: Rename NS_FRAME_IS_SPECIAL to NS_FRAME_PART_OF_IBSPLIT. r=mats
2014-02-06 17:45:28 -08:00
Cameron McCormack
57e1ae7505
Bug 962427 - Make RestyleManager.cpp's GetNextBlockInInlineSibling static. r=dbaron
2014-01-23 15:24:22 +11:00
L. David Baron
5b9d1c52c2
Bug 945105 patch 3: Replace changes to ComputeStyleChangeFor with a check of GetPrevContinuationWithSameStyle to avoid the duplication in a way that still doesn't break direct restyling of an element whose continuations have different styles. r=heycam
2014-01-19 11:04:56 -08:00
L. David Baron
9a38f889bc
Bug 945105 patch 2: Convert RestyleManager::ComputeStyleChangeFor from while loops to for loops to make it easier to add continue statements to it. r=heycam
2014-01-19 11:04:56 -08:00
L. David Baron
a57a73469c
Bug 945105 patch 1: Revert the changes to RestyleManager::ComputeStyleChangeFor from bug 898333, patch 2, since they cause skipping (in addition to the desired skipping) of continuations that do need restyling, in the case of directly restyling an element where continuations have different styles. r=heycam
2014-01-19 11:04:56 -08:00
Robert O'Callahan
7efbad68b7
Bug 960277. Part 1: Don't optimize away frame reconstruction for 'transform' add/remove if the element has complex abs-pos container structure. r=mats
...
--HG--
extra : rebase_source : 4a1b57df9146a31ce8e25a7b215d2eb1edb09a55
2014-01-16 14:39:30 +13:00
Jonathan Kew
b9938a1edc
bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu
2013-12-27 17:59:21 +00:00
Robert Longson
abcd22038e
Bug 940193 - rename nsSVGTextFrame2 to SVGTextFrame. r=dholbert
...
--HG--
rename : layout/svg/nsSVGTextFrame2.cpp => layout/svg/SVGTextFrame.cpp
rename : layout/svg/nsSVGTextFrame2.h => layout/svg/SVGTextFrame.h
2013-12-20 16:38:51 +00:00
Arnaud Bienner
89b6530bc5
Bug 938334 - Use PseudoElementSupportsStyleAttribute(Type) when it makes sense to do so and remove now unnecessary nsCSSPseudoElements functions. r=dbaron
2013-12-02 22:38:45 +01:00
William Chen
1e84522b8f
Bug 929885 - Implement web components ShadowRoot style sheet behavior. r=mrbkap
2013-12-02 02:26:12 -08:00
Cameron McCormack
e7aea01906
Bug 922669 - Part 9: Restyle pseudo-elements when their content state changes. r=bz
2013-11-28 17:46:40 +11:00
Cameron McCormack
bd0078cfc1
Bug 922669 - Part 4: Pass in anonymous content nodes when restyling any pseudo-elements that can match user action pseudo-classes. r=bz
2013-11-28 17:46:38 +11:00
Cameron McCormack
4c052f5cfe
Bug 943746 - Choose a better default element when calling ElementForStyleContext for a pseudo-element. r=bz
2013-11-28 12:22:20 +11:00
Jonathan Watt
0cbbb98ce1
Bug 635240 - Implementation of the layout and anonymous shadow tree portion of <input type=number>. r=dholbert
2013-09-04 11:30:36 +01:00
Jonathan Watt
5dc11fc229
Bug 889736, part 2 - Remove nsSVGTextPathFrame. r=heycam
2013-11-18 14:29:52 +00:00
Jonathan Watt
159a62b18f
Bug 889736, part 1 - Remove nsSVGTextFrame and nsSVGGlyphFrame. r=heycam
2013-11-18 14:29:51 +00:00
Robert O'Callahan
2e02d90dd4
Bug 876321. Track restyling of top/left/right/bottom and treat such nodes as active scrolled roots. r=mattwoodrow
...
--HG--
extra : rebase_source : 24e7900efdb476a0533808956b9604d144e4db89
2013-09-09 17:08:41 -07:00
Cameron McCormack
6e5ef8f8c6
Bug 933044 - Push style scopes even if we would skip pushing ancestors when there is no ancestor filter. r=bz
2013-11-17 17:51:04 +11:00
Corey Ford
98358e22c2
Bug 925259: Avoid sticky positioning inner table elements. r=dholbert
2013-11-12 12:46:47 -08:00
Robert O'Callahan
e093640250
Backout changeset 3fb9ea77d858 for bug 876321 due to test failures (CLOSED TREE)
...
--HG--
extra : rebase_source : 6b21bf36f9a8bd73bdd72ddfb5fe8c25e7854071
2013-11-03 23:14:26 -08:00
Robert O'Callahan
81c6b33304
Bug 876321. Track restyling of top/left/right/bottom and treat such nodes as active scrolled roots. r=mattwoodrow
...
--HG--
extra : rebase_source : f92bcf0b60cadefa0197cdffcd6dd9b4eaa6b2d5
2013-09-09 17:08:41 -07:00
Robert O'Callahan
92d7124878
Bug 745485. Optimize positioning offset changes whenever the computed size does not change. r=dholbert
...
--HG--
extra : rebase_source : 16388d3cb0c6ee9acc1416ca0d27b2a53b0062ee
2013-09-09 17:08:41 -07:00
Robert O'Callahan
2709003286
Bug 911889. Part 2: Refactor MarkLayersActive code into its own class and be much more explicit about what it does. r=mattwoodrow
...
This also changes the functionality a little bit to track independent
per-property mutation counts and independent "content active" status.
2013-09-04 23:30:57 +12:00