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

Unified Diff: LayoutTests/inspector/elements/highlight-css-shapes-outside-expected.txt

Issue 662603002: [DevTools] Adjust svg elements highlight to the root FrameView origin. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed review comments Created 6 years, 2 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: LayoutTests/inspector/elements/highlight-css-shapes-outside-expected.txt
diff --git a/LayoutTests/inspector/elements/highlight-css-shapes-outside-expected.txt b/LayoutTests/inspector/elements/highlight-css-shapes-outside-expected.txt
index c5066e4c1a780095e70283bb9e5265b038cb5003..3e30cd98c0eaf6a78d64e4d123b999f306c08884 100644
--- a/LayoutTests/inspector/elements/highlight-css-shapes-outside-expected.txt
+++ b/LayoutTests/inspector/elements/highlight-css-shapes-outside-expected.txt
@@ -1,8 +1,221 @@
-["M",88,8,"L",88,8,"C",132,8,168,44,168,88,"L",168,88,"C",168,132,132,168,88,168,"L",88,168,"C",44,168,8,132,8,88,"L",8,88,"C",8,44,44,8,88,8,"Z"]
-["M",248,56,"L",248,56,"C",266,56,280,70,280,88,"L",280,88,"C",280,106,266,120,248,120,"L",248,120,"C",230,120,216,106,216,88,"L",216,88,"C",216,70,230,56,248,56,"Z"]
-["M",360,24,"L",408,24,"C",443,24,472,53,472,88,"L",472,136,"C",472,145,465,152,456,152,"L",408,152,"C",373,152,344,123,344,88,"L",344,40,"C",344,31,351,24,360,24,"Z"]
-["M",568,8,"L",568,8,"C",612,8,648,33,648,64,"L",648,64,"C",648,95,612,120,568,120,"L",568,120,"C",524,120,488,95,488,64,"L",488,64,"C",488,33,524,8,568,8,"Z"]
-["M",568,168,"L",600,168,"C",635,168,664,197,664,232,"L",664,264,"C",664,282,650,296,632,296,"L",568,296,"C",550,296,536,282,536,264,"L",536,200,"C",536,182,550,168,568,168,"Z"]
-["M",8,328,"L",8,528,"L",208,328,"Z"]
-["M",184,344,"L",284,344,"L",284,444,"L",184,444,"Z"]
+circle: {
+ "paths": [
+ {
+ "path": ["M", 88, 8, "L", 88, 8, "C", 132, 8, 168, 44, 168, 88, "L", 168, 88, "C", 168, 132, 132, 168, 88, 168, "L", 88, 168, "C", 44, 168, 8, 132, 8, 88, "L", 8, 88, "C", 8, 44, 44, 8, 88, 8, "Z"],
+ "fillColor": "rgba(0, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 88, -24, "L", 88, -24, "C", 150, -24, 200, 26, 200, 88, "L", 200, 88, "C", 200, 150, 150, 200, 88, 200, "L", 88, 200, "C", 26, 200, -24, 150, -24, 88, "L", -24, 88, "C", -24, 26, 26, -24, 88, -24, "Z"],
+ "fillColor": "rgba(128, 128, 128, 0)"
+ },
+ {
+ "path": ["M", 24, 24, "L", 152, 24, "L", 152, 152, "L", 24, 152, "Z"],
+ "fillColor": "rgba(255, 0, 0, 0)",
+ "outlineColor": "rgba(128, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 24, 24, "L", 152, 24, "L", 152, 152, "L", 24, 152, "Z"],
+ "fillColor": "rgba(0, 255, 0, 0)"
+ },
+ {
+ "path": ["M", 24, 24, "L", 152, 24, "L", 152, 152, "L", 24, 152, "Z"],
+ "fillColor": "rgba(0, 0, 255, 0)"
+ },
+ {
+ "path": ["M", 8, 8, "L", 168, 8, "L", 168, 168, "L", 8, 168, "Z"],
+ "fillColor": "rgba(255, 255, 255, 0)"
+ }
+ ],
+ "showRulers": true,
+ "showExtensionLines": true
+}
+
+insetSimpleRound: {
+ "paths": [
+ {
+ "path": ["M", 248, 56, "L", 248, 56, "C", 266, 56, 280, 70, 280, 88, "L", 280, 88, "C", 280, 106, 266, 120, 248, 120, "L", 248, 120, "C", 230, 120, 216, 106, 216, 88, "L", 216, 88, "C", 216, 70, 230, 56, 248, 56, "Z"],
+ "fillColor": "rgba(0, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 248, 24, "L", 248, 24, "C", 283, 24, 312, 53, 312, 88, "L", 312, 88, "C", 312, 123, 283, 152, 248, 152, "L", 248, 152, "C", 213, 152, 184, 123, 184, 88, "L", 184, 88, "C", 184, 53, 213, 24, 248, 24, "Z"],
+ "fillColor": "rgba(128, 128, 128, 0)"
+ },
+ {
+ "path": ["M", 184, 24, "L", 312, 24, "L", 312, 152, "L", 184, 152, "Z"],
+ "fillColor": "rgba(255, 0, 0, 0)",
+ "outlineColor": "rgba(128, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 184, 24, "L", 312, 24, "L", 312, 152, "L", 184, 152, "Z"],
+ "fillColor": "rgba(0, 255, 0, 0)"
+ },
+ {
+ "path": ["M", 184, 24, "L", 312, 24, "L", 312, 152, "L", 184, 152, "Z"],
+ "fillColor": "rgba(0, 0, 255, 0)"
+ },
+ {
+ "path": ["M", 168, 8, "L", 328, 8, "L", 328, 168, "L", 168, 168, "Z"],
+ "fillColor": "rgba(255, 255, 255, 0)"
+ }
+ ],
+ "showRulers": true,
+ "showExtensionLines": true
+}
+
+insetComplexRound: {
+ "paths": [
+ {
+ "path": ["M", 360, 24, "L", 408, 24, "C", 443, 24, 472, 53, 472, 88, "L", 472, 136, "C", 472, 145, 465, 152, 456, 152, "L", 408, 152, "C", 373, 152, 344, 123, 344, 88, "L", 344, 40, "C", 344, 31, 351, 24, 360, 24, "Z"],
+ "fillColor": "rgba(0, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 360, -8, "L", 408, -8, "C", 461, -8, 504, 35, 504, 88, "L", 504, 136, "C", 504, 163, 483, 184, 456, 184, "L", 408, 184, "C", 355, 184, 312, 141, 312, 88, "L", 312, 40, "C", 312, 13, 333, -8, 360, -8, "Z"],
+ "fillColor": "rgba(128, 128, 128, 0)"
+ },
+ {
+ "path": ["M", 344, 24, "L", 472, 24, "L", 472, 152, "L", 344, 152, "Z"],
+ "fillColor": "rgba(255, 0, 0, 0)",
+ "outlineColor": "rgba(128, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 344, 24, "L", 472, 24, "L", 472, 152, "L", 344, 152, "Z"],
+ "fillColor": "rgba(0, 255, 0, 0)"
+ },
+ {
+ "path": ["M", 344, 24, "L", 472, 24, "L", 472, 152, "L", 344, 152, "Z"],
+ "fillColor": "rgba(0, 0, 255, 0)"
+ },
+ {
+ "path": ["M", 328, 8, "L", 488, 8, "L", 488, 168, "L", 328, 168, "Z"],
+ "fillColor": "rgba(255, 255, 255, 0)"
+ }
+ ],
+ "showRulers": true,
+ "showExtensionLines": true
+}
+
+ellipse: {
+ "paths": [
+ {
+ "path": ["M", 568, 8, "L", 568, 8, "C", 612, 8, 648, 33, 648, 64, "L", 648, 64, "C", 648, 95, 612, 120, 568, 120, "L", 568, 120, "C", 524, 120, 488, 95, 488, 64, "L", 488, 64, "C", 488, 33, 524, 8, 568, 8, "Z"],
+ "fillColor": "rgba(0, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 568, -24, "L", 568, -24, "C", 630, -24, 680, 15, 680, 64, "L", 680, 64, "C", 680, 113, 630, 152, 568, 152, "L", 568, 152, "C", 506, 152, 456, 113, 456, 64, "L", 456, 64, "C", 456, 15, 506, -24, 568, -24, "Z"],
+ "fillColor": "rgba(128, 128, 128, 0)"
+ },
+ {
+ "path": ["M", 504, 24, "L", 632, 24, "L", 632, 104, "L", 504, 104, "Z"],
+ "fillColor": "rgba(255, 0, 0, 0)",
+ "outlineColor": "rgba(128, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 504, 24, "L", 632, 24, "L", 632, 104, "L", 504, 104, "Z"],
+ "fillColor": "rgba(0, 255, 0, 0)"
+ },
+ {
+ "path": ["M", 504, 24, "L", 632, 24, "L", 632, 104, "L", 504, 104, "Z"],
+ "fillColor": "rgba(0, 0, 255, 0)"
+ },
+ {
+ "path": ["M", 488, 8, "L", 648, 8, "L", 648, 120, "L", 488, 120, "Z"],
+ "fillColor": "rgba(255, 255, 255, 0)"
+ }
+ ],
+ "showRulers": true,
+ "showExtensionLines": true
+}
+
+contentBox: {
+ "paths": [
+ {
+ "path": ["M", 568, 168, "L", 600, 168, "C", 635, 168, 664, 197, 664, 232, "L", 664, 264, "C", 664, 282, 650, 296, 632, 296, "L", 568, 296, "C", 550, 296, 536, 282, 536, 264, "L", 536, 200, "C", 536, 182, 550, 168, 568, 168, "Z"],
+ "fillColor": "rgba(0, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 568, 136, "L", 600, 136, "C", 653, 136, 696, 179, 696, 232, "L", 696, 264, "C", 696, 299, 667, 328, 632, 328, "L", 568, 328, "C", 533, 328, 504, 299, 504, 264, "L", 504, 200, "C", 504, 165, 533, 136, 568, 136, "Z"],
+ "fillColor": "rgba(128, 128, 128, 0)"
+ },
+ {
+ "path": ["M", 536, 168, "L", 664, 168, "L", 664, 296, "L", 536, 296, "Z"],
+ "fillColor": "rgba(255, 0, 0, 0)",
+ "outlineColor": "rgba(128, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 504, 152, "L", 680, 152, "L", 680, 312, "L", 504, 312, "Z"],
+ "fillColor": "rgba(0, 255, 0, 0)"
+ },
+ {
+ "path": ["M", 504, 152, "L", 680, 152, "L", 680, 312, "L", 504, 312, "Z"],
+ "fillColor": "rgba(0, 0, 255, 0)"
+ },
+ {
+ "path": ["M", 488, 120, "L", 696, 120, "L", 696, 328, "L", 488, 328, "Z"],
+ "fillColor": "rgba(255, 255, 255, 0)"
+ }
+ ],
+ "showRulers": true,
+ "showExtensionLines": true
+}
+
+polygon: {
+ "paths": [
+ {
+ "path": ["M", 8, 328, "L", 8, 528, "L", 208, 328, "Z"],
+ "fillColor": "rgba(0, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 24, 344, "L", 152, 344, "L", 152, 472, "L", 24, 472, "Z"],
+ "fillColor": "rgba(255, 0, 0, 0)",
+ "outlineColor": "rgba(128, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 24, 344, "L", 152, 344, "L", 152, 472, "L", 24, 472, "Z"],
+ "fillColor": "rgba(0, 255, 0, 0)"
+ },
+ {
+ "path": ["M", 24, 344, "L", 152, 344, "L", 152, 472, "L", 24, 472, "Z"],
+ "fillColor": "rgba(0, 0, 255, 0)"
+ },
+ {
+ "path": ["M", 8, 328, "L", 168, 328, "L", 168, 488, "L", 8, 488, "Z"],
+ "fillColor": "rgba(255, 255, 255, 0)"
+ }
+ ],
+ "showRulers": true,
+ "showExtensionLines": true
+}
+
+raster: {
+ "paths": [
+ {
+ "path": ["M", 184, 344, "L", 284, 344, "L", 284, 444, "L", 184, 444, "Z"],
+ "fillColor": "rgba(0, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 157, 328, "L", 311, 328, "L", 311, 329, "L", 157, 329, "Z", "M", 156, 329, "L", 312, 329, "L", 312, 331, "L", 156, 331, "Z", "M", 155, 331, "L", 313, 331, "L", 313, 333, "L", 155, 333, "Z", "M", 154, 333, "L", 314, 333, "L", 314, 337, "L", 154, 337, "Z", "M", 153, 337, "L", 315, 337, "L", 315, 344, "L", 153, 344, "Z", "M", 152, 344, "L", 316, 344, "L", 316, 444, "L", 152, 444, "Z", "M", 153, 444, "L", 315, 444, "L", 315, 451, "L", 153, 451, "Z", "M", 154, 451, "L", 314, 451, "L", 314, 455, "L", 154, 455, "Z", "M", 155, 455, "L", 313, 455, "L", 313, 457, "L", 155, 457, "Z", "M", 156, 457, "L", 312, 457, "L", 312, 459, "L", 156, 459, "Z", "M", 157, 459, "L", 311, 459, "L", 311, 461, "L", 157, 461, "Z", "M", 158, 461, "L", 310, 461, "L", 310, 462, "L", 158, 462, "Z", "M", 159, 462, "L", 309, 462, "L", 309, 463, "L", 159, 463, "Z", "M", 160, 463, "L", 308, 463, "L", 308, 465, "L", 160, 465, "Z", "M", 161, 465, "L", 307, 465, "L", 307, 466, "L", 161, 466, "Z", "M", 162, 466, "L", 306, 466, "L", 306, 467, "L", 162, 467, "Z", "M", 163, 467, "L", 305, 467, "L", 305, 468, "L", 163, 468, "Z", "M", 165, 468, "L", 303, 468, "L", 303, 469, "L", 165, 469, "Z", "M", 166, 469, "L", 302, 469, "L", 302, 470, "L", 166, 470, "Z", "M", 167, 470, "L", 301, 470, "L", 301, 471, "L", 167, 471, "Z", "M", 169, 471, "L", 299, 471, "L", 299, 472, "L", 169, 472, "Z", "M", 171, 472, "L", 297, 472, "L", 297, 473, "L", 171, 473, "Z", "M", 173, 473, "L", 295, 473, "L", 295, 474, "L", 173, 474, "Z", "M", 177, 474, "L", 291, 474, "L", 291, 475, "L", 177, 475, "Z", "M", 184, 475, "L", 284, 475, "L", 284, 476, "L", 184, 476, "Z"],
+ "fillColor": "rgba(128, 128, 128, 0)"
+ },
+ {
+ "path": ["M", 184, 344, "L", 312, 344, "L", 312, 472, "L", 184, 472, "Z"],
+ "fillColor": "rgba(255, 0, 0, 0)",
+ "outlineColor": "rgba(128, 0, 0, 0)"
+ },
+ {
+ "path": ["M", 184, 344, "L", 312, 344, "L", 312, 472, "L", 184, 472, "Z"],
+ "fillColor": "rgba(0, 255, 0, 0)"
+ },
+ {
+ "path": ["M", 184, 344, "L", 312, 344, "L", 312, 472, "L", 184, 472, "Z"],
+ "fillColor": "rgba(0, 0, 255, 0)"
+ },
+ {
+ "path": ["M", 168, 328, "L", 328, 328, "L", 328, 488, "L", 168, 488, "Z"],
+ "fillColor": "rgba(255, 255, 255, 0)"
+ }
+ ],
+ "showRulers": true,
+ "showExtensionLines": true
+}
+

Powered by Google App Engine
This is Rietveld 408576698