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

Side by Side Diff: LayoutTests/svg/dom/SVGSVGElement-intersection-enclosure-expected.txt

Issue 185333004: [SVG] Refactor getIntersectionList() and getEnclosureList() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Build fix. Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Verify SVGSVGElement's getIntersectionList() and getEnclosureList() behavior.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 rect: [50 50 150 150]
8 PASS svg.getEnclosureList(rect, null).length is 100
9 PASS svg.getIntersectionList(rect, null).length is 100
10
11 rect: [55 55 145 145]
12 PASS svg.getEnclosureList(rect, null).length is 64
13 PASS svg.getIntersectionList(rect, null).length is 100
14
15 Zooming should not affect the results.
16
17 rect: [50 50 150 150]
18 PASS svg.getEnclosureList(rect, null).length is 100
19 PASS svg.getIntersectionList(rect, null).length is 100
20
21 rect: [55 55 145 145]
22 PASS svg.getEnclosureList(rect, null).length is 64
23 PASS svg.getIntersectionList(rect, null).length is 100
24
25 But a viewbox transform should.
26
27 rect: [50 50 150 150]
28 PASS svg.getEnclosureList(rect, null).length is 36
29 PASS svg.getIntersectionList(rect, null).length is 49
30
31 rect: [55 55 145 145]
32 PASS svg.getEnclosureList(rect, null).length is 25
33 PASS svg.getIntersectionList(rect, null).length is 36
34
35 PASS successfullyParsed is true
36
37 TEST COMPLETE
38
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698