W3C home > Mailing lists > Public > public-html-admin@w3.org > December 2013

[Bug 24111] New: (Rendering) Proposal for styles inheritance on lists numbers and bullets (actually :before and :after pseudo-elements)

From: <bugzilla@jessica.w3.org>
Date: Mon, 16 Dec 2013 12:13:19 +0000
To: public-html-admin@w3.org
Message-ID: <bug-24111-2495@http.www.w3.org/Bugs/Public/>

            Bug ID: 24111
           Summary: (Rendering) Proposal for styles inheritance on lists
                    numbers and bullets (actually :before and :after
           Product: HTML WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CR HTML5 spec
          Assignee: robin@w3.org
          Reporter: f.knabben@cksource.com
        QA Contact: public-html-bugzilla@w3.org
                CC: public-html-admin@w3.org

# Problem

List item numbers and bullets (or pseudo-elements created by :before and
:after) don't inherit styles present in the list item contents.

# Examples

A few examples can be found here:

# Proposal

If any style apply to the whole contents of list items (or any element defining
:before and :after pseudo-elements), the item numbers and bullets (or related
pseudo-elements) should inherit such style.

To avoid breaking the web, a CSS property could be made available for it,
enabling this inheritance on all pseudo-elements created by :before and :after
(touching <li> at this point, I assume).

This is a rendering suggestion proposal, eventually touching this:

# Reasoning / Background / tl;dr

This proposal is a follow-up for the following CKEditor issue:

While HTML and CSS provide some control for web developers to style lists and
their numbers/bullets, more and more HTML content (actually the great majority
of it) is produced by non-technical people, using web-based tools like

Many times, understanding the user intentions based on his/her behavior is
difficult and in some situations, even if the intention is clearly understood,
HTML brings limitations hard to both accept by end-users and to workaround by
editing tools producers.

The described lists numbers and bullets case is a good example for the above.
While it is doable to provide tools to write and style list item contents,
transporting styles applied to list items contents to their relative
numbers/bullets is very hard in some basic cases (e.g. bold and del) and even
impossible in many other situations (e.g. header and classes).

The only real solution for this issue is relying on browsers, expecting that
they can handle such situations. All this must, of course, be normalized into
well accepted standards, guaranteeing its wider adoption.

Hopefully this proposal can be taken in consideration.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 16 December 2013 12:13:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:35 UTC