mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 18:15:58 +00:00
LibWeb: Test parsing of CSS Level 4 rgb and hsl syntax
This commit is contained in:
parent
019e3a342d
commit
626e7a5c7f
|
@ -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