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

Side by Side Diff: LayoutTests/inspector/elements/highlight-node-scroll-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, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This test verifies the position and size of the highlight rectangles overlayed o n an inspected div in the scrolled view. 1 This test verifies the position and size of the highlight rectangles overlayed o n an inspected div in the scrolled view.
2 2
3 margin rect is 260 x 260 at (-42, -92) 3 inspectedElement1: {
4 border rect is 250 x 250 at (-37, -87) 4 "paths": [
5 padding rect is 230 x 230 at (-27, -77) 5 {
6 content rect is 200 x 200 at (-12, -62) 6 "path": ["M", -12, -62, "L", 188, -62, "L", 188, 138, "L", -12, 138, "Z"],
7 margin rect is 260 x 260 at (-102, 118) 7 "fillColor": "rgba(255, 0, 0, 0)",
8 border rect is 250 x 250 at (-97, 123) 8 "outlineColor": "rgba(128, 0, 0, 0)"
9 padding rect is 230 x 230 at (-87, 133) 9 },
10 content rect is 200 x 200 at (-72, 148) 10 {
11 "path": ["M", -27, -77, "L", 203, -77, "L", 203, 153, "L", -27, 153, "Z"],
12 "fillColor": "rgba(0, 255, 0, 0)"
13 },
14 {
15 "path": ["M", -37, -87, "L", 213, -87, "L", 213, 163, "L", -37, 163, "Z"],
16 "fillColor": "rgba(0, 0, 255, 0)"
17 },
18 {
19 "path": ["M", -42, -92, "L", 218, -92, "L", 218, 168, "L", -42, 168, "Z"],
20 "fillColor": "rgba(255, 255, 255, 0)"
21 }
22 ],
23 "showRulers": true,
24 "showExtensionLines": true
25 }
11 26
27 inspectedElement2: {
28 "paths": [
29 {
30 "path": ["M", -72, 148, "L", 128, 148, "L", 128, 348, "L", -72, 348, "Z"],
31 "fillColor": "rgba(255, 0, 0, 0)",
32 "outlineColor": "rgba(128, 0, 0, 0)"
33 },
34 {
35 "path": ["M", -87, 133, "L", 143, 133, "L", 143, 363, "L", -87, 363, "Z"],
36 "fillColor": "rgba(0, 255, 0, 0)"
37 },
38 {
39 "path": ["M", -97, 123, "L", 153, 123, "L", 153, 373, "L", -97, 373, "Z"],
40 "fillColor": "rgba(0, 0, 255, 0)"
41 },
42 {
43 "path": ["M", -102, 118, "L", 158, 118, "L", 158, 378, "L", -102, 378, "Z" ],
44 "fillColor": "rgba(255, 255, 255, 0)"
45 }
46 ],
47 "showRulers": true,
48 "showExtensionLines": true
49 }
50
51
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698