Revision dfc6293bd278f46fb6963950157a4f19b281dca4 authored by Ms2ger on 14 March 2018, 16:45:25 UTC, committed by Ms2ger on 14 March 2018, 16:45:25 UTC
1 parent e3d85ce
Raw File
lab-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="lab() with no alpha, positive a axis">
<style>
    .test { color: red; }
    .test { color: lab(50 50 0)}
    .match { color: rgb(75.62%, 30.45%, 47.56%)} /* lab(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