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

[css-logical-properties] the 'inline-{start,end}' values for 'float' and 'clear'

From: Jonathan Kew <jfkthame@gmail.com>
Date: Thu, 17 Sep 2015 17:17:54 +0100
To: www-style@w3.org
Message-ID: <55FAE7B2.6080402@gmail.com>
CSS Logical Properties[1] introduces new 'inline-start' and 'inline-end' 
values, as an alternative to the existing 'left' and 'right' (which are 
treated as line-left and line-right for vertical modes, AIUI).

We're ready to support these in Gecko[2], but in view of "issue 1" in 
the current ED:

# Is this a 2-directional property? Should these just be 'start'/'end'?

we'd like to check whether these values can be regarded as stable enough 
to implement?

(FWIW, I think it's preferable to retain the 'inline-' on these values, 
both for consistency with lots of other logical-direction terminology, 
and because it seems very plausible that we may want additional values 
for 'float' in the future, at which point we might deeply regret using 
bare 'start' and 'end' values here.)


A second point I'd like to clarify is that the [inline-]{start,end} 
values for 'float' are resolved according to the writing-mode and 
direction of the float's containing block, not those of the float 
itself. I believe this is what CSS Writing Modes normally expects, and 
is the more reasonable and useful behavior.


Any comments, corrections, clarifications, contradictions, ...?

JK


[1] https://drafts.csswg.org/css-logical-props/#float-clear
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1122918
Received on Thursday, 17 September 2015 16:18:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:57 UTC