https://github.com/web-platform-tests/wpt
Raw File
Tip revision: be666a5d73d5ca27723bedbe8be202d1daa4451b authored by Boris Zbarsky on 03 April 2018, 17:09:28 UTC
Use stable error messages in the link onload event tests by default.
Tip revision: be666a5
focus-within-007-ref.html
<!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>
back to top