summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/selectors/pseudo-classes/indeterminate-radio-group-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/semantics/selectors/pseudo-classes/indeterminate-radio-group-ref.html')
-rw-r--r--testing/web-platform/tests/html/semantics/selectors/pseudo-classes/indeterminate-radio-group-ref.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/semantics/selectors/pseudo-classes/indeterminate-radio-group-ref.html b/testing/web-platform/tests/html/semantics/selectors/pseudo-classes/indeterminate-radio-group-ref.html
new file mode 100644
index 0000000000..68d95fe240
--- /dev/null
+++ b/testing/web-platform/tests/html/semantics/selectors/pseudo-classes/indeterminate-radio-group-ref.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>Test reference</title>
+<style>
+label[for="two"] {
+ background: green;
+}
+</style>
+<form>
+ <input type="radio" name="a" id="one" value="1">
+ <label for="one">One</label>
+
+ <input type="radio" name="a" id="two" value="2" checked>
+ <label for="two">Two</label>
+
+ <input type="radio" name="a" id="three" value="3">
+ <label for="three">Three</label>
+
+ <input type="radio" name="a" id="four" value="4">
+ <label for="four">Four</label>
+</form>