mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb: Add tests for basic attr() behavior and fallback values
This commit is contained in:
parent
e013306df8
commit
bf8aa33b68
Notes:
sideshowbarker
2024-07-16 23:34:49 +09:00
Author: https://github.com/AtkinsSJ
Commit: bf8aa33b68
Pull-request: https://github.com/SerenityOS/serenity/pull/20945
Reviewed-by: https://github.com/shannonbooth
4 changed files with 18 additions and 0 deletions
7
Tests/LibWeb/Ref/css-attr-basic.html
Normal file
7
Tests/LibWeb/Ref/css-attr-basic.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!doctype html>
|
||||
<style>
|
||||
.foo::before {
|
||||
content: attr(bar);
|
||||
}
|
||||
</style>
|
||||
<div class="foo" bar="Well, hello friends!"></div>
|
Loading…
Add table
Add a link
Reference in a new issue