W3C home > Mailing lists > Public > www-validator-css@w3.org > June 2015

Error using :after

From: Walt Farrell <walt.farrell@gmail.com>
Date: Tue, 23 Jun 2015 18:17:06 -0400
Message-ID: <5589DAE2.9020508@gmail.com>
To: www-validator-css@w3.org
Suddenly the W3C CSS validator is complaining about a statement that I 
do not believe it has complained about before.

Statement:
    .pageno:after { color: silver; content: attr(title); }

Error message:
18 	.pageno:after 	Value Error : content 
<http://www.w3.org/TR/2011/REC-CSS2-20110607/generate.html#propdef-content> 
Parse Error attr(title)


I'm validating as CSS 2.1. Is that statement really invalid for some 
reason I don't understand, or has a recent change to the validator 
introduced this behavior in error?

Thanks,
Walt
Received on Wednesday, 24 June 2015 12:16:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:17 UTC