<!DOCTYPE HTML> | |
<head> | |
<title>CSS Color 4: Decimal RGB channel parsing</title> | |
<style type="text/css"> | |
body {color: green; font: 10px/1 Ahem;} | |
h1#floatnumnum {color: rgb(255.0, 0, 0);} | |
h1#numnumfloat {color: rgb(0, 0, 128.0);} | |
</style> | |
<script src="/resources/ahem.js"></script> | |
</head> | |
<body> | |
<h1 id="floatnumnum">This should be red, not green</h1> | |
<h1 id="numnumfloat">This should be blue, not green</h1> | |
</body> |