mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 08:11:13 +00:00
LibWeb: Test parsing of CSS Level 4 rgb and hsl syntax
This commit is contained in:
parent
019e3a342d
commit
626e7a5c7f
Notes:
sideshowbarker
2024-07-17 11:06:06 +09:00
Author: https://github.com/madmoose Commit: https://github.com/SerenityOS/serenity/commit/626e7a5c7f Pull-request: https://github.com/SerenityOS/serenity/pull/14230 Reviewed-by: https://github.com/AtkinsSJ ✅
|
@ -13,6 +13,10 @@
|
|||
#h { background-color: hsl(120, 100%, 50%); }
|
||||
#i { background-color: hsla(120, 100%, 50%, 1); }
|
||||
#j { color: lime; background-color: currentColor; }
|
||||
#k { background-color: rgba(0 255 0 / 100%); }
|
||||
#l { background-color: rgba(0% 100% 0% / 1); }
|
||||
#m { background-color: hsl(120 100% 50%); }
|
||||
#n { background-color: hsla(120 100% 50% / 1); }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -27,5 +31,9 @@
|
|||
<div id="h">This is green, using hsl(120, 100%, 50%).</div>
|
||||
<div id="i">This is green, using hsla(120, 100%, 50%, 1).</div>
|
||||
<div id="j"><span style="color: black;">This is green, using currentcolor.</span></div>
|
||||
<div id="k">This is green, using rgba(0 255 0 / 100%).</div>
|
||||
<div id="l">This is green, using rgba(0% 100% 0% / 1).</div>
|
||||
<div id="m">This is green, using hsl(120 100% 50%).</div>
|
||||
<div id="n">This is green, using hsla(120 100% 50% / 1).</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue