W3C home > Mailing lists > Public > www-style@w3.org > March 2015

[css3-background][css-writing-modes] background-position:bottom to root elements

From: Koji Ishii <kojiishi@gmail.com>
Date: Thu, 26 Mar 2015 22:55:07 +0900
Message-Id: <989BF3D9-9E1E-4AF8-968A-1B8229CB3FAF@gmail.com>
To: www-style list <www-style@w3.org>
Gérard and I are a little in trouble understanding expected behavior, appreciate advices.

First question is hopefully easy; see this test file[1]. I suppose, in all browsers, you’ll see a cat NOT touching the bottom of the window. Is this the expected behavior? I read “The Canvas Background and the Root Element”[2], and it reads to me that this is correct, but experts’ confirmation appreciated.

The second question is when "writing-mode: vertical-rl" is applied to this document.

My understanding is, given the definition above, “background-position: right” touches the right edge of the window, while “left” does not. And if “writing-mode: vertical-lr”, “left” touches the left edge, while “right” does not.

Am I reading the Background spec correctly?

[1] http://jsbin.com/vuzajo/1/edit?html,css,output
[2] http://dev.w3.org/csswg/css-backgrounds-3/#root-background

Received on Thursday, 26 March 2015 13:55:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:52 UTC