[Bug 27884] New: Useful content pseudo-element selectors are not valid

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27884

            Bug ID: 27884
           Summary: Useful content pseudo-element selectors are not valid
           Product: CSS
           Version: unspecified
          Hardware: PC
               URL: http://drafts.csswg.org/css-scoping/#content-combinato
                    r
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS Scoping
          Assignee: jackalmage@gmail.com
          Reporter: wchen@mozilla.com
        QA Contact: public-css-bugzilla@w3.org

According to the grammar (http://www.w3.org/TR/selectors/#grammar):

  /* Note that pseudo-elements are restricted to one per selector and */
  /* occur only in the last simple_selector_sequence. */

The ::content pseudo-element isn't meaningful when it's the last simple
selector and it should be allowed to show up more than once per selector.

http://drafts.csswg.org/css-scoping/#content-combinator

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 23 January 2015 01:43:53 UTC