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
lch-004.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="lch() with no alpha, positive a axis">
<style>
    .test { color: red; }
    .test { color: lch(50 50 0)}
    .match { color: rgb(75.62%, 30.45%, 47.56%)} /* lch(50,0,0) 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