1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

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
parent e013306df8
commit bf8aa33b68
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>