Re: [css3-lists] Recent changes, and request for new WD

On Tue, Jun 14, 2011 at 1:39 PM, L. David Baron <dbaron@dbaron.org> wrote:
> On Tuesday 2011-06-14 13:27 -0700, Tab Atkins Jr. wrote:
>> * changed the way I address the marker-in-content use-case, from
>> "display:marker" to "position:marker".  The latter is a new
>> positioning scheme that emulates 'outside' list marker positioning.
>
> Why?

It seems to be a much cleaner solution.  The distinguishing aspect of
an outside marker is that it's positioned specially.  Capturing that
specifically via positioning seems to be the right thing to do.  Using
"display" required introducing the notion of "candidates", and was
more confusing with how it interacted with ::marker.  (Not all of that
is strictly necessary, but I felt it was the best way to do it at the
time, and it's just not very good in general.)


> I much prefer 'display' rather than 'position' (though we
> really never should have had 'position' in the first place).

I boggled when I heard this at the FtF.  ^_^  position:absolute is too
weak in CSS2.1, and thus of limited utility, but positioning in
general is a good thing that is useful.  It's just an alternate layout
model that can operate simultaneously with other layout models.

~TJ

Received on Tuesday, 14 June 2011 20:59:10 UTC