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

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: Update tests 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..8f94ed5af4b97f9752105b18cde31de47ebd59a5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/non-composited-sticky-element-repaint-expected.txt
@@ -0,0 +1,58 @@
+{
+ "layers": [
+ {
+ "name": "LayoutView #document",
+ "bounds": [785, 616],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "paintInvalidations": [
+ {
+ "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'",
+ "position": [0, -200],
+ "bounds": [185, 1000],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "backgroundColor": "#808080",
+ "paintInvalidations": [
+ {
+ "object": "LayoutBlockFlow (sticky positioned) DIV id='box-need-invalidation' class='box'",
+ "rect": [0, 200, 185, 50],
+ "reason": "full"
flackr 2017/04/28 17:14:57 Shouldn't the invalidation reasons for the sticky
yigu 2017/04/28 20:01:29 I applied InvalidatePaintIncludingNonCompositingDe
+ },
+ {
+ "object": "LayoutBlockFlow (sticky positioned) DIV id='box-need-invalidation' class='box'",
+ "rect": [0, 0, 185, 50],
+ "reason": "subtree"
+ }
+ ]
+ }
+ ],
+ "objectPaintInvalidations": [
+ {
+ "object": "LayoutBlockFlow (sticky positioned) DIV id='box-need-invalidation' class='box'",
+ "reason": "subtree"
+ },
+ {
+ "object": "VerticalScrollbar",
+ "reason": "scroll"
+ },
+ {
+ "object": "LayoutBlockFlow (sticky positioned) DIV id='box-need-invalidation' class='box'",
+ "reason": "full"
+ }
+ ]
+}
+

Powered by Google App Engine
This is Rietveld 408576698