W3C home > Mailing lists > Public > www-style@w3.org > June 2013

[css-writing-modes] Should <svg> be upright in vertical writing modes?

From: Simon Pieters <simonp@opera.com>
Date: Tue, 18 Jun 2013 15:23:47 +0200
Message-ID: <51C05F63.2040909@opera.com>
To: "www-style@w3.org" <www-style@w3.org>
Should <svg> be upright in vertical writing modes? In IE10 it does, in 
Chrome it doesn't.

The spec says
[[
The content of replaced elements do not rotate due to the writing mode: 
images, for example, remain upright. However replaced content involving 
text (such as MathML content or form elements) should match the replaced 
element's writing mode and line orientation if the UA supports such a 
vertical writing mode for the replaced content.
]]

I can't tell from the current spec which behavior is correct. <svg> is 
an image, but it can also involve text. A literal reading would result 
in upright if the <svg> did not involve text and not if it does, but 
that would be quite silly.

It would be good if the spec was more explicit here. Not only for <svg> 
but for other things also. "images, for example, remain upright" doesn't 
actually require anything...

-- 
Simon Pieters
Opera Software
Received on Tuesday, 18 June 2013 13:22:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC