ladybird/Tests/LibWeb/Ref/input/css-case-insensitive-html-attributes-selector.html
Sam Atkins b7efb61fbe Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others
Now each test type has the same directories:
- input
- expected
- data

Also, tests can be in subdirectories within ./input.
2024-11-05 14:02:07 +00:00

12 lines
436 B
HTML

<!doctype html>
<link rel="match" href="../expected/css-case-insensitive-html-attributes-selector-ref.html" />
<style>
div[type=one] { /* 'type' is a case-insensitive html attribute */
background: red;
}
div[test=two] { /* 'test' is NOT a case-insensitive html attribute */
background: green;
}
</style>
<div type="ONE">I have a red background</div>
<div type="TWO">I don't have a green background</div>