W3C home > Mailing lists > Public > www-style@w3.org > February 2008

[css3-box] comments on 'float-displace' and 'indent-edge-reset'

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 10 Feb 2008 19:12:07 -0800
To: www-style@w3.org
Message-ID: <20080211031207.GA23398@ridley.dbaron.org>

Some comments follow on the 'float-displace' and 'indent-edge-reset'
properties in
http://www.w3.org/TR/2002/WD-css3-box-20021024/#the-float-displace

It's not clear to me why these have been dropped from the latest
draft.  Was it part of splitting the drafts?  Are they likely to
reappear?

Making float-displace inherited seems a little problematic to me.
A user-agent style rule using float-displace could cause strange
behavior when certain objects are nested inside something (like a
list item) that specifies float-displace in a way that would violate
author expectations.  Perhaps it would be better to specify that it
is not inherited, but that float-displace:indent causes the
indentation for any lines inside the element that are not inside an
intervening element that establishes a new block formatting context
or has float-displace:block or float-displace:block-in-page.

Having to specify the indent-edge-reset property all the time seems
like a usability flaw with this pair of properties.  Is there an
'auto' value for indent-edge-reset that could provide a more useful
default?  For example, something that acts like border-box for any
element with a nonzero computed border-width or a non-transparent
computed background-color?

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Monday, 11 February 2008 03:12:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:01 GMT