Commit Graph
4 Commits
Author SHA1 Message Date
Chris Harrelson a5247e0525 Bug 1556565 [wpt PR 17153] - Mark subtree of a scroller as having dirty compositing inputs after scroll., a=testonly
Automatic update from web-platform-tests
Mark subtree of a scroller as having dirty compositing inputs after scroll.

This is because the overlap-testing rects depend on scroll offset.

Bug: 950154

Change-Id: Iacb3d373fe1b9be315701a55d604e44edb88f040
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1638620
Commit-Queue: Chris Harrelson <[email protected]>
Reviewed-by: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/master@{#666480}

--

wp5At-commits: da9264974d2cb05537302778e7c34838560722ed
wpt-pr: 17153
2019-06-19 11:06:43 -07:00
Xianzhu Wang 844d47bd16 Bug 1523562 [wpt PR 14913] - [PE] Fix layer under-invalidation when visiblity status changes, a=testonly
Automatic update from web-platform-tests
[PE] Fix layer under-invalidation when visiblity status changes

https://chromium-review.googlesource.com/c/chromium/src/+/1017917
added code to invalidate the paint layer when its
PaintedOutputInvisible() status changes. The problem was that the
function doesn't merely depend on the old style or the new style,
but PaintsWithTransparency() based on the new style and the current
compositing status, so PaintedOutputInvisible(old_style) was not
the actual old invisible status. This caused we missed repaint of
the layer in the following case:

frame 1:
  opacity 0 (we don't paint the layer)
frame 2:
  opacity 0 -> 1 (PaintedOutputInvisible(old_style) was wrong, so
                  we failed to detect the change of it)
  layout and compositing update [1]
  opacity 1 -> 0.9

[1] If we also do prepaint here, change of existence of the effect
    node will trigger repaint of the layer, so the issue reproduces
    only in the above sequence (tested in the new wpt test).

Now let PaintedOutputInvisible() only access the input style.

Bug: 922084
Change-Id: Iec98b0304275cff968ed8053776f7c9a77a9625c
Reviewed-on: https://chromium-review.googlesource.com/c/1416913
Reviewed-by: Philip Rogers <[email protected]>
Commit-Queue: Xianzhu Wang <[email protected]>
Cr-Commit-Position: refs/heads/master@{#624311}

--

wpt-commits: 0d7a7e23965ff8c14669800d6e3d1dc86eb8c2f3
wpt-pr: 14913
2019-02-07 21:50:40 +00:00
Chris Harrelson 14991469a7 Bug 1517679 [wpt PR 14708] - [PE] Set GraphicsLayerUpdate bits on the enclosing stacking composited layer., a=testonly
Automatic update from web-platform-tests
[PE] Set GraphicsLayerUpdate bits on the enclosing stacking composited layer.

This ensures that we will paper over any confusions regarding non-stacking
composited layers such as as those created by backface-visibility: hidden.

Setting the bit on the enclosing stacking layer suffices because any
other composited layer must be a stacking child of it, and the
kGraphicsLayerUpdateSubtree is used.

Bug: 916077

Change-Id: I695f9b7a6700e1bed3bc55034916b200a1d7849e
Reviewed-on: https://chromium-review.googlesource.com/c/1394187
Reviewed-by: Xianzhu Wang <[email protected]>
Commit-Queue: Chris Harrelson <[email protected]>
Cr-Commit-Position: refs/heads/master@{#619787}

--

wpt-commits: 71e901cf4534417abfabe4d77a317817f5cc09db
wpt-pr: 14708
2019-02-07 21:49:44 +00:00
Chris Harrelson 9c10181c1b Bug 1517373 [wpt PR 14697] - Invalidate the graphics layer subtree on stacking change of descendant PaintLayer., a=testonly
Automatic update from web-platform-tests
Invalidate the graphics layer subtree on stacking change of descendant PaintLayer.

This is because change of stacking may result in a change of the size
or position of a composited layer.

Bug: 916896

Change-Id: I44d42efc84df892c9e6cbf04f9dcb9ee34a803d9
Reviewed-on: https://chromium-review.googlesource.com/c/1392363
Reviewed-by: Xianzhu Wang <[email protected]>
Commit-Queue: Chris Harrelson <[email protected]>
Cr-Commit-Position: refs/heads/master@{#619544}

--

wpt-commits: 834eac4a68b804a120aae7b43325b0b021b31361
wpt-pr: 14697
2019-02-07 21:49:43 +00:00