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

Question on Text-Combine-Horizontal in the Writing Mode Module

From: Stephen Zilles <szilles@adobe.com>
Date: Tue, 24 Apr 2012 11:12:56 -0700
To: fantasai <fantasai@inkedblade.net>
CC: "www-style@w3.org list (www-style@w3.org)" <www-style@w3.org>
Message-ID: <CE2F61DA5FA23945A4EA99A212B1579569B177C168@nambx03.corp.adobe.com>
In the description of the "all" value of "text-combine-horizontal" the following sentence occurs, "If the content contains any element boundaries this is treated as 'text-combine-horizontal: none' on the element and any descendants." What does it mean to "contain any element boundaries"?

In particular, what happens with

vertical text<span style="text-combine-horizontal: all"> H<sub>2</sub>O</span>more vertical text

I would expect that the "H2O" (with the 2 being a subscript) would be set horizontally as three characters. Is this what happens? Or, is the <sub> element considered to be an element boundary?

Steve Zilles
Received on Tuesday, 24 April 2012 18:13:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:58 UTC