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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-legend-element/legend-form.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/imported/web-platform-tests/html/semantics/forms/the-legend-element/legend-form.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-legend-element/legend-form.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-legend-element/legend-form.html
deleted file mode 100644
index fb138bd9b7febf779ad7b7b8e9a1cad01304f511..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-legend-element/legend-form.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>HTMLLegendElement Test: form</title>
-<link rel="author" title="Intel" href="http://www.intel.com/">
-<script src="../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../resources/testharnessreport.js"></script>
-
-<div id="log"></div>
-
-<div style="display:none">
- <form id="testform">
- <legend id="testlegend">radio</legend>
- </form>
-</div>
-
-<div style="display:none">
- <form id="testformWithFieldSet">
- <fieldset>
- <legend id="legendWithFieldSet">radio</legend>
- </fieldset>
- </form>
-</div>
-<script>
-test(function () {
- var legendEle = document.getElementById("legendWithFieldSet");
- assert_not_equals(legendEle.form, null);
- assert_equals(legendEle.form, document.getElementById("testformWithFieldSet"));
-}, "Check if legend.form returns its parent when it's inside a fieldset");
-test(function () {
- var legendEle = document.getElementById("testlegend");
- assert_equals(legendEle.form, null);
-}, "Check if legend.form return null when legend has no fieldset element as its parent");
-</script>

Powered by Google App Engine
This is Rietveld 408576698