summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/focus-within-001-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/selectors/focus-within-001-ref.html')
-rw-r--r--testing/web-platform/tests/css/selectors/focus-within-001-ref.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/selectors/focus-within-001-ref.html b/testing/web-platform/tests/css/selectors/focus-within-001-ref.html
new file mode 100644
index 0000000000..2913775a22
--- /dev/null
+++ b/testing/web-platform/tests/css/selectors/focus-within-001-ref.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang=en>
+<meta charset="utf-8">
+<title>Selectors Level 4: focus-within Reference File</title>
+<link rel="author" title="Keyong Li" href="mailto:kli79@bloomberg.net">
+<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
+<style>
+div {
+ border: solid 15px green;
+}
+</style>
+<p>Test passes if, when the element below is focused,
+it is surrounded by a thick green border.
+There must be no red or blue once it is focused.</p>
+<div>Focus this element</div>
+</html>