W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2014

[whatwg] [CSSWG][css-display] Updated WD of CSS Display L3

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 27 Sep 2014 15:31:18 -0400
Message-ID: <54271086.9090606@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>, Boris Zbarsky <bzbarsky@mit.edu>, "public-cssacc@w3.org" <public-cssacc@w3.org>, whatwg@lists.whatwg.org, "public-html@w3.org" <public-html@w3.org>, List WAI Liaison <wai-liaison@w3.org>, Daniel Weck <daniel.weck@gmail.com>
About a fortnight ago, the CSS WG published an updated Working Draft of
the CSS Display Module L3:

     http://www.w3.org/TR/css-display-3/

CSS Display describes how the CSS formatting box tree is generated from the
document element tree and defines properties that control the types of boxes
thus generated.

Significant changes since CSS2.1 include:

   * Splitting 'display' into 'display-inside' and 'display-outside'
     to independently control the layout mode inside the box and its
     role in the parent formatting context, respectively.

   * Adding an independent "noneness" switch that does not overwrite
     the box type declaration. (This will make it way more straightforward
     to dynamically show/hide content.)

   * Reintroducing 'display: run-in', but with more reasonable behavior
     (as in, you can better reason about it. yay!)

   * Adding a 'display: contents' value that eliminates the element's
     own box and brings its children up to act as children of its
     parent box.

   * Adding a handy glossary of key terms from CSS2.1 chapter 9.

Significant changes since the previous draft are listed at:

   http://www.w3.org/TR/2014/WD-css-display-3-20140911/#changes

We have a couple of key issues open that we would particularly like
feedback on:

   A. Naming of the box-hiding-and-showing property. Please send us
   suggestions for improvement! (Or comments on what you like about
   the current name. We're pretty unsure atm, but want it to be
   easily understandable.)
   http://www.w3.org/TR/css-display-3/#box-suppress

   B. Run-in model: we're looking for a review by Boris Zbarsky ;) and
   also for comments on how best to handle out-of-flow elements between
   run-ins that form a sequence.
   http://www.w3.org/TR/css-display-3/#run-in

   C. Interaction of 'display: contents' and counter numbering:
   specifically, comments from implementers about the implementability
   of various options, and comments from authors about how they'd expect
   the numbering to behave.
   http://www.w3.org/TR/2014/WD-css-display-3-20140911/#valdef-display-outside-contents

   D. Figuring out an ideal interaction for the new show/hide switch
   and its equivalent (the 'speak' property) from CSS Speech.
   http://www.w3.org/TR/css-display-3/#box-suppress
   http://www.w3.org/TR/css3-speech/#speaking-props-speak
   (Likely we'll make 'auto' depend on the value of 'box-suppress',
   but we're open to other considerations.)

Our plan going forward is to
   1. resolve all the open issues (obviously)
   2. defer the longhands of 'display' to another level [1]
   3. hopefully transition to CR in the next six months

Please send any comments to the archived www-style mailing list,
<www-style@w3.org>, and please, prefix the subject line with

     [css-display]

(as I did on this message). Also, please start a new thread; don't
reply to this one.

[1] It was a good exercise to split them, since we now have a properly
     combinatorial understanding of how the various aspects of 'display'
     interact. We plan to split them out again in a future level. But
     there are combinations--like table cell flex containers--to this
     that are very difficult to implement atm, and we can disallow at
     a syntactic level if we retain only the shorthand 'display'. (The
     show/hide switch, not being a longhand of 'display', will stay
     separate.)

For the CSS WG,
~fantasai
Received on Saturday, 27 September 2014 19:31:57 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:23 UTC