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

Unified Diff: third_party/WebKit/LayoutTests/platform/mac/virtual/spinvalidation/paint/invalidation/caret-contenteditable-content-after-expected.txt

Issue 2565103002: Fix mismatched nullptr check for caret paint invalidation. (Closed)
Patch Set: Sync to head and add test baselines. Created 4 years 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/platform/mac/virtual/spinvalidation/paint/invalidation/caret-contenteditable-content-after-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/mac/virtual/spinvalidation/paint/invalidation/caret-contenteditable-content-after-expected.txt b/third_party/WebKit/LayoutTests/platform/mac/virtual/spinvalidation/paint/invalidation/caret-contenteditable-content-after-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b99edf56fc3beedb6034140d3318f49434b3c810
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/platform/mac/virtual/spinvalidation/paint/invalidation/caret-contenteditable-content-after-expected.txt
@@ -0,0 +1,295 @@
+{
+ "layers": [
+ {
+ "name": "LayoutView #document",
+ "bounds": [800, 600],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "paintInvalidations": [
+ {
+ "object": "LayoutBlockFlow DIV id='editor'",
+ "rect": [3, 39, 794, 28],
+ "reason": "style change"
+ },
+ {
+ "object": "LayoutBlockFlow DIV id='editor'",
+ "rect": [3, 39, 794, 28],
+ "reason": "forced by layout"
+ },
+ {
+ "object": "LayoutBlockFlow DIV id='editor'",
+ "rect": [3, 39, 794, 28],
+ "reason": "forced by layout"
+ },
+ {
+ "object": "LayoutBlockFlow DIV id='editor'",
+ "rect": [3, 39, 794, 28],
+ "reason": "forced by layout"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [8, 44, 23, 18],
+ "reason": "full"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [8, 44, 16, 18],
+ "reason": "full"
+ },
+ {
+ "object": "LayoutTextFragment (anonymous)",
+ "rect": [30, 44, 9, 18],
+ "reason": "forced by layout"
+ },
+ {
+ "object": "LayoutTextFragment (anonymous)",
+ "rect": [23, 44, 9, 18],
+ "reason": "forced by layout"
+ },
+ {
+ "object": "LayoutTextFragment (anonymous)",
+ "rect": [23, 44, 9, 18],
+ "reason": "forced by layout"
+ },
+ {
+ "object": "LayoutTextFragment (anonymous)",
+ "rect": [15, 44, 9, 18],
+ "reason": "forced by layout"
+ },
+ {
+ "object": "LayoutTextFragment (anonymous)",
+ "rect": [15, 44, 9, 18],
+ "reason": "forced by layout"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [8, 44, 8, 18],
+ "reason": "layoutObject insertion"
+ },
+ {
+ "object": "LayoutTextFragment (anonymous)",
+ "rect": [8, 44, 8, 18],
+ "reason": "forced by layout"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [29, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [29, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [29, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [22, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [22, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [22, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [22, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [14, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [14, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [14, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutText #text",
+ "rect": [14, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutBlockFlow DIV id='editor'",
+ "rect": [7, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutBlockFlow DIV id='editor'",
+ "rect": [7, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutBlockFlow DIV id='editor'",
+ "rect": [7, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutBlockFlow DIV id='editor'",
+ "rect": [7, 43, 3, 20],
+ "reason": "invalidate paint rectangle"
+ }
+ ]
+ }
+ ],
+ "objectPaintInvalidations": [
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutBlockFlow DIV id='editor'",
+ "reason": "style change"
+ },
+ {
+ "object": "RootInlineBox",
+ "reason": "style change"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutBlockFlow DIV id='editor'",
+ "reason": "forced by layout"
+ },
+ {
+ "object": "RootInlineBox",
+ "reason": "forced by layout"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutText #text",
+ "reason": "layoutObject insertion"
+ },
+ {
+ "object": "InlineTextBox 'a'",
+ "reason": "layoutObject insertion"
+ },
+ {
+ "object": "LayoutTextFragment (anonymous)",
+ "reason": "forced by layout"
+ },
+ {
+ "object": "InlineTextBox 'x'",
+ "reason": "forced by layout"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutBlockFlow DIV id='editor'",
+ "reason": "forced by layout"
+ },
+ {
+ "object": "RootInlineBox",
+ "reason": "forced by layout"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutText #text",
+ "reason": "full"
+ },
+ {
+ "object": "InlineTextBox 'ab'",
+ "reason": "full"
+ },
+ {
+ "object": "LayoutTextFragment (anonymous)",
+ "reason": "forced by layout"
+ },
+ {
+ "object": "InlineTextBox 'x'",
+ "reason": "forced by layout"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutBlockFlow DIV id='editor'",
+ "reason": "forced by layout"
+ },
+ {
+ "object": "RootInlineBox",
+ "reason": "forced by layout"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "Caret",
+ "reason": "invalidate paint rectangle"
+ },
+ {
+ "object": "LayoutText #text",
+ "reason": "full"
+ },
+ {
+ "object": "InlineTextBox 'abc'",
+ "reason": "full"
+ },
+ {
+ "object": "LayoutTextFragment (anonymous)",
+ "reason": "forced by layout"
+ },
+ {
+ "object": "InlineTextBox 'x'",
+ "reason": "forced by layout"
+ }
+ ]
+}
+

Powered by Google App Engine
This is Rietveld 408576698