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

Unified Diff: third_party/WebKit/LayoutTests/fast/html/area-processing-expected.txt

Issue 1618373002: Add tests for HTMLAreaElement coords/shape and processing model (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment in W3CImportExpectations. Created 4 years, 11 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: third_party/WebKit/LayoutTests/fast/html/area-processing-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/html/area-processing-expected.txt b/third_party/WebKit/LayoutTests/fast/html/area-processing-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72806b9371bf14a69140af06e4c2543391e4a061
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/html/area-processing-expected.txt
@@ -0,0 +1,18 @@
+
+This is a testharness.js-based test.
+PASS too few numbers: "2,2,10" (rect)
+PASS negative: "-10,-10,10,10" (rect)
+PASS empty string: "" (rect)
+PASS omitted coords: null (rect)
+PASS first > third: "10,2,2,10" (rect)
+PASS second > fourth: "2,10,10,2" (rect)
+PASS first > third, second > fourth: "10,10,2,2" (rect)
+PASS negative: "-10,-10,-10,-10" (default)
+PASS too few numbers: "20,40" (circle)
+FAIL negative radius: "20,40,-10" (circle) assert_equals: elementFromPoint(21, 41) expected Element node <img src="resources/images/blue-border.png" usemap="#x" i... but got Element node <area id="area" shape="circle" coords="20,40,-10"></area>
+PASS zero radius: "20,40,0" (circle)
+PASS too few numbers: "100,100,120,100,100" (poly)
+PASS one too many numbers: "100,100,120,100,100,120,300" (poly)
+FAIL even-odd rule: "100,100,200,100,100,200,150,50,200,200" (poly) assert_equals: elementFromPoint(150, 125) expected Element node <img src="resources/images/blue-border.png" usemap="#x" i... but got Element node <area id="area" shape="poly" coords="100,100,200,100,100,...
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698