diff options
Diffstat (limited to 'testing/web-platform/tests/css/selectors/focus-within-007-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/selectors/focus-within-007-ref.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/selectors/focus-within-007-ref.html b/testing/web-platform/tests/css/selectors/focus-within-007-ref.html new file mode 100644 index 0000000000..6ecc21536a --- /dev/null +++ b/testing/web-platform/tests/css/selectors/focus-within-007-ref.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>Selectors Level 4: focus-within Reference File</title> +<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com"> +<style> + html, body, div { + border: solid 5px green; + } +</style> +<p>Test passes if, when the element below is focused, it is surrounded by a green border, and HTML and BODY elements also have a green border. There must be no red or blue once it is focused.</p> +<div>Focus this element</div> |