blob: 6ecc21536a404b25290dc2456093c9b3ada5a420 (
plain)
1
2
3
4
5
6
7
8
9
10
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>
|