Confirmed users
166
edits
m (Initial version) |
m (Minor corrections) |
||
| Line 11: | Line 11: | ||
|Feature overview=Add support for vertical text layout. | |Feature overview=Add support for vertical text layout. | ||
Many scripts can be laid out vertically or horizontally (e.g. Japanese) and some can only be laid out vertically (e.g. Mongolian). For those that can be laid out either vertically or horizontally, vertical layout is sometimes more suitable (e.g. Japanese novels are typically laid out vertically). | Many scripts can be laid out vertically or horizontally (e.g. Japanese) and some can only be laid out vertically (e.g. classical Mongolian). For those that can be laid out either vertically or horizontally, vertical layout is sometimes more suitable (e.g. Japanese novels are typically laid out vertically). | ||
|Feature users and use cases=Users: publishers of vertically typeset content (e-publishing organisations, independent web authors, especially in East Asia) | |Feature users and use cases=Users: publishers of vertically typeset content (e-publishing organisations, independent web authors, especially in East Asia) | ||
Example use cases: | |||
* Web-based e-readers for Japanese novels (especially on mobile devices) | * Web-based e-readers for Japanese novels (especially on mobile devices) | ||
* Web pages that use classical Mongolian script | * Web pages that use classical Mongolian script | ||
| Line 19: | Line 20: | ||
|Feature requirements=* Support vertical text for whole documents (i.e. initial containing block uses a vertical writing mode) and document fragments (i.e. orthogonal flows) | |Feature requirements=* Support vertical text for whole documents (i.e. initial containing block uses a vertical writing mode) and document fragments (i.e. orthogonal flows) | ||
* Support both top-to-bottom, right-to-left (e.g. CJK) and top-to-bottom, left-to-right (e.g. Mongolian) writing modes. | * Support both top-to-bottom, right-to-left (e.g. CJK) and top-to-bottom, left-to-right (e.g. Mongolian) writing modes. | ||
* As far as possible given that the spec is in flux, conform to the relevant parts of [http://dev.w3.org/csswg/css3-writing-modes/ CSS3 Writing Modes specification]—most likely the <code>writing-mode</code> and <code>text-orientation</code> properties. | * As far as possible (particularly given that the spec is in flux), conform to the relevant parts of [http://dev.w3.org/csswg/css3-writing-modes/ CSS3 Writing Modes specification]—most likely the <code>writing-mode</code> and <code>text-orientation</code> properties. | ||
|Feature non-goals=* Support ''all'' of the [http://dev.w3.org/csswg/css3-writing-modes/ CSS Writing Modes specification] | |Feature non-goals=* Support ''all'' of the [http://dev.w3.org/csswg/css3-writing-modes/ CSS Writing Modes specification] | ||
** Specifically, properties such as <code>unicode-bidi</code>, <code>text-combine-horizontal</code>, and <code>text-combine-mode</code> are outside the scope of this feature | ** Specifically, properties such as <code>unicode-bidi</code>, <code>text-combine-horizontal</code>, and <code>text-combine-mode</code> are outside the scope of this feature | ||
* Support for [https://bugzilla.mozilla.org/show_bug.cgi?id=33339 HTML ruby] | * Support for [https://bugzilla.mozilla.org/show_bug.cgi?id=33339 HTML ruby] | ||
* Support for vertical text in SVG | * Support for vertical text in SVG | ||
|Feature implementation plan=Some ''very rough'' ideas of ''some'' of the work items ( | |Feature implementation plan=Some ''very rough'' ideas of ''some'' of the work items (this is likely to be '''very''' wrong): | ||
* Parsing of <code>writing-mode</code> and <code>text-orientation</code> | * Parsing of <code>writing-mode</code> and <code>text-orientation</code> | ||
* Virtualizing layout parameters??? | * Virtualizing layout parameters??? | ||