blob: 6ecc21536a404b25290dc2456093c9b3ada5a420 [file] [log] [blame]
<!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>