- From: Øyvind Stenhaug <oyvinds@opera.com>
- Date: Wed, 24 Mar 2010 18:43:52 +0100
- To: "Tab Atkins Jr." <jackalmage@gmail.com>, "Axel Dahmen" <brille1@hotmail.com>
- Cc: www-style@w3.org
On Wed, 24 Mar 2010 16:31:34 +0100, Tab Atkins Jr. <jackalmage@gmail.com>
wrote:
> On Tue, Mar 23, 2010 at 4:46 PM, Axel Dahmen <brille1@hotmail.com> wrote:
>>> Once everyone properly supports the existing ::marker pseudoelement
>>> and content properties, you can do this without any special
>>> intervention:
>>>
>>> li::marker {
>>> content: "»";
>>> }
>>
>>
>> I see... From new discussion in the newsgroup I read that the above rule
>> would be insufficient. It was said to be:
>>
>> ul
>> {list-style-type: none;
>> }
>>
>> li::marker
>> {content: "»";
>> }
I don't see where this is said. That rule is only necessary when using the
alternate suggestion with li:before from CSS 2.1.
>> What is correct then?
>
> It doesn't look like that *should* be necessary. If it is, I'd chalk
> it up to a buggy implementation. (In fact, I suspect that in a
> non-buggy implementation that would simply hide the marker entirely.)
I interpret section 6 to mean that the list-style-type is only relevant if
the marker pseudo has content:normal, though it's not completely clear.
In any case, list-style-type:none would just give worse fallback for user
agents without ::marker support.
--
Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Wednesday, 24 March 2010 17:43:49 UTC