W3C home > Mailing lists > Public > www-style@w3.org > September 2012

Re: [css3-lists] position:marker and compatibility with existing 'outside' implementations/content

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 26 Sep 2012 10:47:22 -0700
Message-ID: <CAAWBYDDufz0LZbBFuzPVZQ4S-xX_TdisKA5Axj=r_37CNQjqiQ@mail.gmail.com>
To: Leif Arne Storset <lstorset@opera.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Mon, Sep 24, 2012 at 5:48 AM, Leif Arne Storset <lstorset@opera.com> wrote:
> On Fri, 17 Aug 2012 17:52:13 +0200, √ėyvind Stenhaug <oyvinds@opera.com>
> wrote:
>> 5) No special attention is given to floats. For instance, here the marker
>> will overlap the float (and will be a long distance away from the text that
>> starts the line):
>>
>> <!doctype html>
>> <style>
>>     div {
>>        float: left;
>>        width: 100px;
>>        height: 100px;
>>        background: gray;
>>        margin-right: 40px;
>>     }
>> </style>
>> <div></div>
>> <ul><li>list-item</li></ul>
>>
>> That doesn't happen in Firefox or Gecko, though it does in IE9 and Opera
>> with Presto>=2.9 or thereabouts. Since changing, we've seen some issues
>> popping up in the wild about this (e.g. on Wikipedia).
>
> I'd like to reiterate this point. It breaks quite a few sites. Examples
>   from our bug tracker:
>
> -
> http://lifehacker.com/5864004/the-done-manifesto-lays-out-13-ground-rules-for-getting-to-done
> - http://distrowatch.com/table.php?distribution=ubuntu
> - http://en.wikipedia.org/w/index.php?title=Deventer&oldid=511633874
>
> Perhaps a way forward is to place the marker positioning edge flush with
> the first line box in the ancestor list item, rather than the border edge.

I wonder how IE gets away with it, then?  Just letting things break?

~TJ
Received on Wednesday, 26 September 2012 17:48:11 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:00 GMT