Just a minor bug: attr() according to the CSS 2.1/3[1] spec should accept percentages as a <type>.
doesn't work with
as expected. Unfortunately, I can't find a validator that appropriately validates it, either. Note that doing width: attr(width) and using width="80%" works as expected.
[1] http://www.w3.org/TR/css3-values/#attribute
table[width] {
width: attr(width, %);
}
doesn't work with
<table>
as expected. Unfortunately, I can't find a validator that appropriately validates it, either. Note that doing width: attr(width) and using width="80%" works as expected.
[1] http://www.w3.org/TR/css3-values/#attribute