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

Unified Diff: LayoutTests/inspector/elements/highlight-node-scroll-expected.txt

Issue 900903002: DevTools: do not use Internals for inspector highlight tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comment addressed. Created 5 years, 10 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-node-scroll-expected.txt
diff --git a/LayoutTests/inspector/elements/highlight-node-scroll-expected.txt b/LayoutTests/inspector/elements/highlight-node-scroll-expected.txt
index ac135465004e5a60542f4018dbc1a0111a16cc32..576d3372c264de6ab25a551122532878f8a740e8 100644
--- a/LayoutTests/inspector/elements/highlight-node-scroll-expected.txt
+++ b/LayoutTests/inspector/elements/highlight-node-scroll-expected.txt
@@ -1,22 +1,78 @@
This test verifies the position and size of the highlight rectangles overlayed on an inspected div in the scrolled view.
-inspectedElement1: {
+inspectedElement1{
"paths": [
{
- "path": ["M", -12, -62, "L", 188, -62, "L", 188, 138, "L", -12, 138, "Z"],
+ "path": [
+ "M",
+ -12,
+ -62,
+ "L",
+ 188,
+ -62,
+ "L",
+ 188,
+ 138,
+ "L",
+ -12,
+ 138,
+ "Z"
+ ],
"fillColor": "rgba(255, 0, 0, 0)",
"outlineColor": "rgba(128, 0, 0, 0)"
},
{
- "path": ["M", -27, -77, "L", 203, -77, "L", 203, 153, "L", -27, 153, "Z"],
+ "path": [
+ "M",
+ -27,
+ -77,
+ "L",
+ 203,
+ -77,
+ "L",
+ 203,
+ 153,
+ "L",
+ -27,
+ 153,
+ "Z"
+ ],
"fillColor": "rgba(0, 255, 0, 0)"
},
{
- "path": ["M", -37, -87, "L", 213, -87, "L", 213, 163, "L", -37, 163, "Z"],
+ "path": [
+ "M",
+ -37,
+ -87,
+ "L",
+ 213,
+ -87,
+ "L",
+ 213,
+ 163,
+ "L",
+ -37,
+ 163,
+ "Z"
+ ],
"fillColor": "rgba(0, 0, 255, 0)"
},
{
- "path": ["M", -42, -92, "L", 218, -92, "L", 218, 168, "L", -42, 168, "Z"],
+ "path": [
+ "M",
+ -42,
+ -92,
+ "L",
+ 218,
+ -92,
+ "L",
+ 218,
+ 168,
+ "L",
+ -42,
+ 168,
+ "Z"
+ ],
"fillColor": "rgba(255, 255, 255, 0)"
}
],
@@ -30,24 +86,79 @@ inspectedElement1: {
"nodeHeight": "250"
}
}
-
-inspectedElement2: {
+inspectedElement2{
"paths": [
{
- "path": ["M", -72, 148, "L", 128, 148, "L", 128, 348, "L", -72, 348, "Z"],
+ "path": [
+ "M",
+ -72,
+ 148,
+ "L",
+ 128,
+ 148,
+ "L",
+ 128,
+ 348,
+ "L",
+ -72,
+ 348,
+ "Z"
+ ],
"fillColor": "rgba(255, 0, 0, 0)",
"outlineColor": "rgba(128, 0, 0, 0)"
},
{
- "path": ["M", -87, 133, "L", 143, 133, "L", 143, 363, "L", -87, 363, "Z"],
+ "path": [
+ "M",
+ -87,
+ 133,
+ "L",
+ 143,
+ 133,
+ "L",
+ 143,
+ 363,
+ "L",
+ -87,
+ 363,
+ "Z"
+ ],
"fillColor": "rgba(0, 255, 0, 0)"
},
{
- "path": ["M", -97, 123, "L", 153, 123, "L", 153, 373, "L", -97, 373, "Z"],
+ "path": [
+ "M",
+ -97,
+ 123,
+ "L",
+ 153,
+ 123,
+ "L",
+ 153,
+ 373,
+ "L",
+ -97,
+ 373,
+ "Z"
+ ],
"fillColor": "rgba(0, 0, 255, 0)"
},
{
- "path": ["M", -102, 118, "L", 158, 118, "L", 158, 378, "L", -102, 378, "Z"],
+ "path": [
+ "M",
+ -102,
+ 118,
+ "L",
+ 158,
+ 118,
+ "L",
+ 158,
+ 378,
+ "L",
+ -102,
+ 378,
+ "Z"
+ ],
"fillColor": "rgba(255, 255, 255, 0)"
}
],
@@ -62,4 +173,3 @@ inspectedElement2: {
}
}
-

Powered by Google App Engine
This is Rietveld 408576698