LibWeb: Add tests for basic attr() behavior and fallback values

This commit is contained in:
Sam Atkins 2023-08-31 12:42:14 +01:00 committed by Andreas Kling
commit bf8aa33b68
Notes: sideshowbarker 2024-07-16 23:34:49 +09:00
4 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,7 @@
<!doctype html>
<style>
.foo::before {
content: attr(bar);
}
</style>
<div class="foo" bar="Well, hello friends!"></div>