Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE xhtml>
<head>
<link rel="match" href="../reference/ref-filled-green-100px-square.xht"></link>
<style>
@namespace color "http://www.example.com/";
div {
background-color: red;
}
.a {
width: 100px;
height: 100px;
background-color: attr(color|myAttr type(*), red);
}
</style>
</head>
<body>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div class="a" color:myAttr="green"></div>
</body>
</html>