W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

[csswg-drafts] Do all rendered elements generate a principal box?

From: Geoffrey Sneddon via GitHub <sysbot+gh@w3.org>
Date: Fri, 15 Jun 2018 03:11:03 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-332632621-1529032262-sysbot+gh@w3.org>
gsnedders has just created a new issue for https://github.com/w3c/csswg-drafts:

== Do all rendered elements generate a principal box? ==
Originally from https://www.w3.org/Bugs/Public/show_bug.cgi?id=18930.


### Anton P 2012-09-20 08:17:36 UTC

Reported by Anton Prowse

The WG resolved to accept a proposal for Bug 18346 that contains the following wording:

  > Certain values of the 'display' property cause an element of
  > the source document to generate a *principal box* that contains
  > descendant boxes and generated content and is also the box involved
  > in any positioning scheme.

but a desire was expressed to be more specific about which values of 'display' result in a principal box.

Firstly, do inline elements generate a principal box (which may well be fragmented across multiple line boxes)?  Is that consistent with the inline formatting model defined in CSS21, and if not, is it possible to change that model without breaking implementations?

Secondly, will other values of 'display' defined in future specifications necessarily result in a principal box? (It is not strictly necessary to address this for CSS21 errata, but it may provide useful input.)

### Anton P 2012-10-22 18:27:01 UTC

Boris Zbarsky provides the following case that would need to be accounted for when trying to spec how an inline element generates a principal box:

<!DOCTYPE html>
<meta charset="utf-8">
ע<span style="border:1px solid green;background:yellow">ִבְרִית 17</span>95


http://lists.w3.org/Archives/Public/www-style/2012Oct/0626.html


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2783 using your GitHub account
Received on Friday, 15 June 2018 03:11:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 08:16:44 UTC