Warnings for non-applicable properties

CSS defines when properties are applicable (see the Applies column:
<http://www.w3.org/TR/CSS21/propidx.html>)

Should we generate warnings when properties are not applicable? For example:

p
{
    border-collapse : collapse;
}

We could warn about the paragraph not being a table or inline-table
element. (I get no warnings with Warnings set to All.)

I'm hoping this will help catch common problems such as trying to
centre inline elements:

a
{
    text-align: center;
}

Received on Sunday, 9 November 2008 11:14:05 UTC