[Bug 28170] New: Reference to CSS element content in <br> and <wbr> rendering

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

            Bug ID: 28170
           Summary: Reference to CSS element content in <br> and <wbr>
                    rendering
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: master.skywalker.88@gmail.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

HTML5 specification suggests that some phrasing content elements are rendered
according to default CSS rules, that is common practice. However, when it's
matter of some elements, proposed rules are as follows.

br { content: '\A'; }
wbr { content: '\200B'; }
(http://www.w3.org/TR/html51/rendering.html#phrasing-content-0)

According to current CSS spec, the "content" property cannot be set on real
elements, as it defines the content of generated pseudo-elements (such as
element::before and element::after).

This rule has been inherited from WHATWG living standard, maintaining that
future CSS would extend this property to real elements as well.
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26264
However, not only this has not been done, but the only drawing programming
something similar is long dead or at least it hasn't been updated for long.
http://www.w3.org/TR/2003/WD-css3-content-20030514/

This rule should be either modified, so that it becomes available and
modifiable by stylesheets, or dropped altogether, so that user agents keep on
relying on internal working to display these elements.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Sunday, 8 March 2015 18:21:19 UTC