W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2015

[Bug 29076] New: :after selector does not accept content attr(attribute)

From: <bugzilla@jessica.w3.org>
Date: Sun, 23 Aug 2015 22:02:09 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-29076-169@http.www.w3.org/Bugs/Public/>

            Bug ID: 29076
           Summary: :after selector does not accept content
           Product: CSSValidator
           Version: CSS Validator
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 2.1
          Assignee: dave.null@w3.org
          Reporter: walt.farrell@gmail.com
        QA Contact: www-validator-cvs@w3.org
  Target Milestone: ---

Sometime in about mid-June, 2015, the w3c CSS validator stopped accepting CSS
:after selectors that use the "content:" keyword with the
"attr(<attribute-name>)" value:
  :after { content: attr(<attribute-name>); }

Though files with that selector used to validate properly, and still work in
all browsers, the w3 CSS validator has started giving the error message:
  Value Error : content Parse Error attr(<attribute-name>) 

This CSS statement
  .pageno:after { content: attr(title); }

gives this error:
  Value Error : content Parse Error attr(title)

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 23 August 2015 22:02:11 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 23 August 2015 22:02:12 UTC