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>
Hello,

"
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.
"
http://www.w3.org/TR/CSS21/colors.html#propdef-background-position
http://www.w3.org/TR/CSS21/colors.html#propdef-background-repeat

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
http://www.w3.org/TR/CSS21/visuren.html#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...

Gérard
-- 
CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Wednesday, 28 November 2012 05:16:10 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:03 GMT