From e813f4a85a80edd311c62f546c7692a653a98ccc Mon Sep 17 00:00:00 2001 From: Rebecca Date: Tue, 29 Mar 2016 18:49:56 -0400 Subject: [PATCH] Add test for HtmlLabelElement clicks --- tests/wpt/mozilla/meta/MANIFEST.json | 6 + .../tests/mozilla/htmllabel-activation.html | 170 ++++++++++++++++++ .../mozilla/htmllabel-form-activation.html | 4 + 3 files changed, 180 insertions(+) create mode 100644 tests/wpt/mozilla/tests/mozilla/htmllabel-activation.html create mode 100644 tests/wpt/mozilla/tests/mozilla/htmllabel-form-activation.html diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index 24c84798ed41..79c777f8e903 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -5892,6 +5892,12 @@ "url": "/_mozilla/mozilla/htmlfontelement_size_attribute.html" } ], + "mozilla/htmllabel-activation.html": [ + { + "path": "mozilla/htmllabel-activation.html", + "url": "/_mozilla/mozilla/htmllabel-activation.html" + } + ], "mozilla/htmlspacechars.html": [ { "path": "mozilla/htmlspacechars.html", diff --git a/tests/wpt/mozilla/tests/mozilla/htmllabel-activation.html b/tests/wpt/mozilla/tests/mozilla/htmllabel-activation.html new file mode 100644 index 000000000000..ff77c80a18fd --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/htmllabel-activation.html @@ -0,0 +1,170 @@ + + +Click action on label + + + +
+ + diff --git a/tests/wpt/mozilla/tests/mozilla/htmllabel-form-activation.html b/tests/wpt/mozilla/tests/mozilla/htmllabel-form-activation.html new file mode 100644 index 000000000000..68296b3c724c --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/htmllabel-form-activation.html @@ -0,0 +1,4 @@ + + +Click action on label with nested form +