- From: Jean-Guilhem Rouel <jean-gui@w3.org>
- Date: Fri, 17 Oct 2008 11:57:11 +0200
- To: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
- CC: www-validator-css@w3.org
Lennart Borgman (gmail) a écrit :
> It would be nice if style="..." was validated to.
>
> Thanks.
Hi,
That's already the case. Try validating the following document with
warnings set to "all":
[[
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/\
xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"
lang="en-US">
<head">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Test</title>
</head>
<body>
<h1 style="color: foo">Test</h1>
<h1 style="color: red">Test2</h1>
</body>
</html>
]]
You should get 1 error and 1 warning, as expected.
Style attributes don't appear in the "computed stylesheet" though.
Regards,
Jean-Gui
Received on Friday, 17 October 2008 09:57:46 UTC