Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/non-composited-sticky-element-repaint-expected.txt

Issue 2845613002: Fix the bug that sticky element may not be correctly invalidated due to non-promotion (Closed)
Patch Set: Logic update && add layout test Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/paint/invalidation/compositing/non-composited-sticky-element-repaint-expected.txt
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/non-composited-sticky-element-repaint-expected.txt b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/non-composited-sticky-element-repaint-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6336af92776b16ecb0e6ec3bd7134251e960c46b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/non-composited-sticky-element-repaint-expected.txt
@@ -0,0 +1,51 @@
+{
+ "layers": [
+ {
+ "name": "LayoutView #document",
+ "bounds": [785, 616],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "paintInvalidations": [
+ {
+ "object": "LayoutBlockFlow DIV id='scroller' class='scroller'",
+ "rect": [8, 8, 200, 600],
+ "reason": "subtree"
+ },
+ {
+ "object": "LayoutBlockFlow DIV id='scroller' class='scroller'",
+ "rect": [193, 8, 15, 585],
+ "reason": "scroll"
+ }
+ ]
+ },
+ {
+ "name": "Ancestor Clipping Layer",
+ "position": [8, 8],
+ "bounds": [185, 585],
+ "shouldFlattenTransform": false
+ },
+ {
+ "name": "LayoutBlockFlow DIV class='composited container'",
flackr 2017/04/27 14:22:56 Shouldn't we see a paint invalidation in this cont
yigu 2017/04/27 15:20:10 This box hasn't yet passed the starting constraint
+ "position": [0, 100],
+ "bounds": [185, 1000],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "backgroundColor": "#008000"
+ }
+ ],
+ "objectPaintInvalidations": [
+ {
+ "object": "LayoutBlockFlow DIV id='scroller' class='scroller'",
+ "reason": "subtree"
+ },
+ {
+ "object": "VerticalScrollbar",
+ "reason": "scroll"
+ },
+ {
+ "object": "LayoutBlockFlow DIV class='spacer'",
+ "reason": "subtree"
+ }
+ ]
+}
+

Powered by Google App Engine
This is Rietveld 408576698