From fdf1c3c2f1bf8ffcadb9c5515da25451520d7b4a Mon Sep 17 00:00:00 2001 From: Daniel Glazman Date: Tue, 29 Mar 2022 18:02:29 +0200 Subject: [PATCH] LibWeb: More tests for attribute selectors --- .../html/misc/more-attribute-selectors.html | 452 ++++++++++++++++++ Base/res/html/misc/welcome.html | 1 + 2 files changed, 453 insertions(+) create mode 100644 Base/res/html/misc/more-attribute-selectors.html diff --git a/Base/res/html/misc/more-attribute-selectors.html b/Base/res/html/misc/more-attribute-selectors.html new file mode 100644 index 0000000000..5ec24f4a98 --- /dev/null +++ b/Base/res/html/misc/more-attribute-selectors.html @@ -0,0 +1,452 @@ + + + + + + + + selectorTest + + + + +
+

CSS Selectors tests

+

Author: Daniel Glazman

+ Last update: 2022-03-28

+
+ +
+
+
+ +
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ +
+
+

+

+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+

+

+
+

+
+
+
+
+
+

+

+
+

+
+
+
+
+
+

+

+
+

+
+
+

+
+
+
+ +
+

+
  +
+ +
+

+
+

+
+
+ +
+

+
+

+
+
+ +
+
+
+
+
+
+ +
+

+
+
+
+
+
+ +
+
+
+
+
+
 
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ + +
+
+
+ the previous square should be green when the checkbox is checked and become red when you uncheck it +
+
+
+ the previous square should be green when the checkbox is NOT checked and become red when you check it +
+ +
+
+
+
+
+ the three last squares should be green and become red when the pointer hovers over the white square +
+
+
+
+
+ the last square should be green and become red when the pointer hovers over the FIRST white square +
+ + diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html index fce80607a0..bbce692127 100644 --- a/Base/res/html/misc/welcome.html +++ b/Base/res/html/misc/welcome.html @@ -86,6 +86,7 @@
  • Selectors

  • Selectors
  • Attribute selectors
  • +
  • More attribute selectors
  • :first-child
  • :last-child
  • :nth-child