https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 53404f2d3739378a8885dc649dd560553d631cdf authored by Luke Bjerring on 03 April 2018, 17:15:14 UTC
Changes as per review
Tip revision: 53404f2
lab-006.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="blacktext-ref.html">
<meta name="assert" content="lab() with no alpha, positive b axis">
<style>
    .test { color: red; }
    .test { color: lab(70 0 70)}
    .match { color: rgb(76.62%, 66.36%, 5.58%)} /* lab(70,0,70) converted to sRGB */
</style>
<body>
    <p>Test passes if the two lines of filler text are the same color.</p>
    <p class="test">Filler text. Filler text. Filler text. </p>
    <p class="match">Filler text. Filler text. Filler text. </p>
</body>
back to top