W3C home > Mailing lists > Public > www-style@w3.org > November 2012

[CSS21] background-position and background-repeat applicable on inline-block and inline-table elements

From: Gérard Talbot <www-style@gtalbot.org>
Date: Wed, 28 Nov 2012 00:15:38 -0500
Message-ID: <eefcb7a23d50b2eaf322cfbb6e36c233.squirrel@ed-sh-cp3.entirelydigital.com>
To: "W3C www-style mailing list" <www-style@w3.org>

The tiling and positioning of the background-image on inline elements is
undefined in this specification. A future level of CSS may define the
tiling and positioning of the background-image on inline elements.

I need to be sure: inline-block elements and inline-table elements are not
inline elements??

An inline box is one that is both inline-level and whose contents
participate in its containing inline formatting context. A non-replaced
element with a 'display' value of 'inline' generates an inline box.
Inline-level boxes that are not inline boxes (such as replaced
inline-level elements, inline-block elements, and inline-table elements)
9.2.2 Inline-level elements and inline boxes

Shouldn't the spec state "inline boxes" instead of "inline elements"?

I always thought that inline-blocks and inline-tables were inline elements...

CSS 2.1 Test suite RC6, March 23rd 2011

Contributions to CSS 2.1 test suite

Web authors' contributions to CSS 2.1 test suite
Received on Wednesday, 28 November 2012 05:16:10 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:22 UTC