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
lab-001.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: Specifying Lab and LCH</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#specifying-lab-lch">
<link rel="match" href="greentext-ref.html">
<meta name="assert" content="lab() with no alpha">
<style>
    .test {color: lab(46.277 -47.562 48.583)} /* green (sRGB #008000) converted to Lab */
</style>
<body>
    <p class="test">Test passes if this text is green</p>
</body>
back to top