This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 18930 - Do all rendered elements generate a principal box?
Summary: Do all rendered elements generate a principal box?
Status: RESOLVED MOVED
Alias: None
Product: CSS
Classification: Unclassified
Component: CSS Level 2 (show other bugs)
Version: unspecified
Hardware: All Windows 3.1
: P2 normal
Target Milestone: ---
Assignee: Bert Bos
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 08:17 UTC by Anton P
Modified: 2018-06-15 03:12 UTC (History)
1 user (show)

See Also:


Attachments

Description 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.)
Comment 1 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
Comment 2 Geoffrey Sneddon 2018-06-15 03:12:38 UTC
https://github.com/w3c/csswg-drafts/issues/2783