diff options
Diffstat (limited to 'testing/web-platform/tests/css/selectors/nth-last-child-of-classname-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/selectors/nth-last-child-of-classname-ref.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/selectors/nth-last-child-of-classname-ref.html b/testing/web-platform/tests/css/selectors/nth-last-child-of-classname-ref.html new file mode 100644 index 0000000000..7df68b2aee --- /dev/null +++ b/testing/web-platform/tests/css/selectors/nth-last-child-of-classname-ref.html @@ -0,0 +1,16 @@ +<!doctype html> +<html> +<body> + <p>This test the styling of paragraphs with :nth-last-child(An+B of selector). If the test succeed, paragraphs that say "green" should have a green background.</p> + <p>White</p> + <p>White</p> + <p style="background-color: lime">Green!</p> + <p>White</p> + <p>White</p> + <p>White</p> + <p>White</p> + <p style="background-color: lime">Green!</p> + <p>White</p> + <p>White</p> +</body> +</html> |