https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 67918e50c7f9aae6c81060ae466a47b8482d6beb authored by Eric Willigers on 25 March 2018, 12:48:42 UTC
CSS Backgrounds and Borders 3 parsing tests
Tip revision: 67918e5
hsl-005.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: HSL functions hsl() and hsla()</title>
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation">
<link rel="match" href="greentext-ref.html">
<meta name="assert" content="hsl() with number and percent alpha, also no comma">
<style>
    .test {color: hsl(120 100% 25% / 100%)}
</style>
<body>
    <p class="test">Test passes if this text is green</p>
</body>
back to top