From 48270925546f5b51252eb1aa03c6910b4baf48ed Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Sun, 20 Mar 2022 13:26:59 +0000 Subject: [PATCH] Base: Add a :focus/:focus-within test page --- Base/res/html/misc/focus.html | 28 ++++++++++++++++++++++++++++ Base/res/html/misc/welcome.html | 1 + 2 files changed, 29 insertions(+) create mode 100644 Base/res/html/misc/focus.html diff --git a/Base/res/html/misc/focus.html b/Base/res/html/misc/focus.html new file mode 100644 index 0000000000..a85d54f548 --- /dev/null +++ b/Base/res/html/misc/focus.html @@ -0,0 +1,28 @@ + + + + + :focus and :focus-within test + + + +

:focus and :focus-within test

+

+ Anything with :focus will have a magenta background. + + +

+

+ This paragraph will turn green if anything inside it is focused. + + +

+ + diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html index 7ec47402fd..8937bdb7df 100644 --- a/Base/res/html/misc/welcome.html +++ b/Base/res/html/misc/welcome.html @@ -101,6 +101,7 @@
  • :not()
  • :where()
  • :hover
  • +
  • :focus
  • Properties

  • Backgrounds
  • Background-repeat