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
rgb-002.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: RGB functions rgb() and rgba()</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#rgb-functions">
<link rel="match" href="greentext-ref.html">
<meta name="assert" content="rgb() with 8-bit numbers and no alpha, also no comma">
<style>
    .test {color: rgb(0 128.0 0)}
</style>
<body>
    <p class="test">Test passes if this text is green</p>
</body>
back to top