Index: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-area-element/area-shape.html |
diff --git a/third_party/WebKit/LayoutTests/fast/html/area-shape.html b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-area-element/area-shape.html |
similarity index 79% |
rename from third_party/WebKit/LayoutTests/fast/html/area-shape.html |
rename to third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-area-element/area-shape.html |
index 51efbba037862d92bda1facf92596ab2be5c26ff..1ad0690f9e78539bffb78a33afe7a1b59dd12608 100644 |
--- a/third_party/WebKit/LayoutTests/fast/html/area-shape.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-area-element/area-shape.html |
@@ -1,14 +1,14 @@ |
<!doctype html> |
<meta charset=utf-8> |
<title>HTMLAreaElement shape</title> |
-<script src=../../resources/testharness.js></script> |
-<script src=../../resources/testharnessreport.js></script> |
+<script src=/resources/testharness.js></script> |
+<script src=/resources/testharnessreport.js></script> |
<style> |
body { margin: 0 } |
</style> |
-<img src=resources/images/blue-border.png usemap=#x id=img width=300 height=300> |
+<img src=/images/threecolors.png usemap=#x id=img width=300 height=300> |
<map name=x><area id=area></map> |
-<script src=resources/hit-test.js></script> |
+<script src=support/hit-test.js></script> |
<script> |
var tests = [ |
{desc: 'missing value default', shape: null, coords: "2,2,10,10", hit: hitRect}, |
@@ -20,6 +20,9 @@ var tests = [ |
{desc: 'empty string', shape: 'default', coords: "", hit: hitAll}, |
{desc: 'omitted coords', shape: 'DEFAULT', coords: null, hit: hitAll}, |
+ {desc: 'simple', shape: 'rect', coords: "2,2,10,10", hit: hitRect}, |
+ {desc: 'simple', shape: 'rectangle', coords: "2,2,10,10", hit: hitRect}, |
+ |
{desc: 'simple', shape: 'circle', coords: "20,40,10", hit: hitCircle}, |
{desc: 'simple', shape: 'circ', coords: "20,40,10", hit: hitCircle}, |
{desc: 'simple', shape: 'CIRCLE', coords: "20,40,10", hit: hitCircle}, |