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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates-expected.txt

Issue 2255433002: Use testharness.js instead of js-test.js in fast/images. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed test as per the comments. Created 4 years, 4 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
OLDNEW
(Empty)
1 Test that when image map areas have their shape or coordinate dynamically altere d, the clickable region changes.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS setArea('default', ''); checkForArea(50, 50) is true
7 PASS setArea('rect', '0, 0, 100, 100'); checkForArea(50, 50) is true
8 PASS setArea('rect', '0, 0, 100, 100'); checkForArea(150, 150) is false
9 PASS setArea('rect', '200, 200, 300, 300'); checkForArea(50, 50) is false
10 PASS setArea('rect', '200, 200, 300, 300'); checkForArea(250, 250) is true
11 PASS setArea('circle', '100, 100, 50'); checkForArea(100, 100) is true
12 PASS setArea('circle', '100, 100, 50'); checkForArea(120, 100) is true
13 PASS setArea('circle', '100, 100, 50'); checkForArea(200, 100) is false
14 PASS setArea('circle', '300, 300, 50'); checkForArea(100, 100) is false
15 PASS setArea('circle', '300, 300, 50'); checkForArea(300, 300) is true
16 PASS setArea('circle', '300, 300, 50'); checkForArea(320, 300) is true
17 PASS setArea('poly', '100, 100, 200, 100, 200, 200'); checkForArea(150, 150) is true
18 PASS setArea('poly', '100, 100, 200, 100, 200, 200'); checkForArea(100, 150) is false
19 PASS setArea('poly', '100, 100, 200, 100, 200, 200'); checkForArea(300, 300) is false
20 PASS setArea('default', ''); checkForArea(300, 300) is true
21 PASS successfullyParsed is true
22
23 TEST COMPLETE
24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698