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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/default.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/selectors/pseudo-classes/default.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/default.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/default.html
deleted file mode 100644
index c6ba6449d4adc31d7de8f14d2df2942d694fb1a5..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/default.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<!DOCTYPE html>
-<meta charset=utf-8>
-<title>Selector: pseudo-classes (:default)</title>
-<link rel="author" title="Denis Ah-Kang" href="mailto:denis@w3.org" id=link1>
-<link rel=help href="https://html.spec.whatwg.org/multipage/#pseudo-classes" id=link2>
-<script src="../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../resources/testharnessreport.js"></script>
-<script src="utils.js"></script>
-<div id="log"></div>
-<form>
- <button id=button1 type=button>button1</button>
- <button id=button2 type=submit>button2</button>
-</form>
-<form>
- <button id=button3 type=reset>button3</button>
- <button id=button4>button4</button>
-</form>
-<button id=button5 type=submit>button5</button>
-<form id=form1>
- <input type=text id=input1>
-</form>
-<input type=text id=input2 form=form1>
-<form>
- <input type=submit id=input3>
- <input type=submit id=input4>
-</form>
-<form>
- <input type=image id=input5>
- <input type=image id=input6>
-</form>
-<form>
- <input type=submit id=input7>
-</form>
-<input type=checkbox id=checkbox1 checked>
-<input type=checkbox id=checkbox2>
-<input type=checkbox id=checkbox3 default>
-<input type=radio name=radios id=radio1 checked>
-<input type=radio name=radios id=radio2>
-<input type=radio name=radios id=radio3 default>
-<select id=select1>
- <optgroup label="options" id=optgroup1>
- <option value="option1" id=option1>option1
- <option value="option2" id=option2 selected>option2
-</select>
-<dialog id="dialog">
- <input type=submit id=input8>
-</dialog>
-<form>
- <button id=button6 type='invalid'>button6</button>
- <button id=button7>button7</button>
-</form>
-<form>
- <button id=button8>button8</button>
- <button id=button9>button9</button>
-</form>
-
-
-<script>
- testSelector(":default", ["button2", "button4", "input3", "input5", "input7", "checkbox1", "radio1", "option2", "button6", "button8"], "':default' matches <button>s that are their form's default button, <input>s of type submit/image that are their form's default button, checked <input>s and selected <option>s");
-
- document.getElementById("button1").type = "submit"; // change the form's default button
- testSelector(":default", ["button1", "button4", "input3", "input5", "input7", "checkbox1", "radio1", "option2", "button6", "button8"], "':default' matches dynamically changed form's default buttons");
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698