Re: [csswg-drafts] [css-display] ::marker is not a box

This quote from [Introduction](https://drafts.csswg.org/css-display-3/#display-value-summary) should be edited too:

> some display values (e.g. [`display: list-item`](https://www.w3.org/TR/CSS2/visuren.html#principal-box)) generate more than one box (e.g. a principal block box and a [marker box](https://www.w3.org/TR/CSS2/generate.html#lists))

I guess saying this "marker box" concept is a reminiscence from CSS 2.1, which didn't allow to style the `::marker` pseudo-element, so it always established a single box. This could still apply with the very limited `::marker` defined in CSS Pseudo, but it does not work with the full-fledged `::marker` defined in CSS Lists. I'm assuming the last one is the good definition.

About the quote in Introduction, I would just use another example. An element can originate a pseudo-element which can generate boxes, so saying that these boxes are originated by the element itself is not entirely wrong. But I would prefer not to say so; otherwise #1604 would worsen, because an element is not supposed to generate more than one principal box.

Instead, the example could mention `display: table` with its table wrapper box and table box, or `display: block ruby` with its block container and ruby container.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1625#issuecomment-316812765 using your GitHub account

Received on Thursday, 20 July 2017 19:56:53 UTC