[1]
In Japanese typography, numbers are written in Arabic digit
(i.e. DIGIT ZERO
〜DIGIT NINE
)
for horizontal text (writing-mode: lr-tb
)
or in Han (CJK ideographic) digit (such as
CJK UNIFIED IDEOGRAPH-4E00
)
for vertical text (writing-mode: tb-rl
).
Styling language that support both horizontal and
vertical layout should provide a way to display
representation of number in some other format
than in source document tree (as in
list-style-type
for list bullets).
In addition, to support this styling (and, e.g. scripting) in semantic and standadized way, an element type whose instance contains a textual representation of a number should be introduced.
<p>そこには<number>100</number>個の林檎があります。</p> <!-- There were 100 apples. -->
This example markup should be rendered as...
そこには 100 個の林檎があります。
... or ...
そ こ に は 百 個 の 林 檎 が あ り ま す ゜
[2] 英語圏のWebアプリケーションなどではしばしば「52.4K」 (= 5万2400) のような表現が用いられますが、日本語圏では一般的な表現ではありません (分野によっては用いられることもあります)。
[20] HTML において数値を number
要素などとしてマーク付けすることは古くから提案されてきました。
数値のマーク付けには単に数値が数値たることを明記するべきという意味マーク付け的に過激な主張にとどまらず、
コンマ等桁区切り記号挿入等 CSS によるスタイル付けの実現や桁区切り記号・小数点の局所化のような実益もあります。
>>1 に示されるような縦書き時の漢数字化も同様です。
[21] とはいえ、実際に Web で >>20 に示したようなスタイル付けの実現が強く望まれているかには疑問が呈されています。 HTML5 の策定に当たっても数値のマーク付けのための要素の追加の要望がありましたが、 まずは CSS でのスタイル付けの検討を待つべきだとして却下されています (>>18、>>19)。
[23] - XHTML Text Module ( 版) http://www.w3.org/TR/2003/WD-xhtml2-20030131/mod-text.html#s_textmodule_issue_2
XHTML2 第4次案では検討課題として nr
要素の提案があると触れられていました。
[18] Re: simple numbers (Ian Hickson 著, 版) http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/12448
[19] Re: simple numbers (Ian Hickson 著, 版) http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/14012
[3] その後 data
要素が追加され、数値も必要があればこの要素でマーク付けできるようになりました。
[22] フォームコントロールとしては数値のための <input type=number>
が Web Forms 2.0
で追加されています。
[24] Basic Data Types and Interfaces – SVG 1.1 (Second Edition) ( ( 版)) http://www.w3.org/TR/2011/REC-SVG11-20110816/types.html#DataTypeNumber
[25] Basic Data Types and Interfaces – SVG 1.1 (Second Edition) ( ( 版)) http://www.w3.org/TR/2011/REC-SVG11-20110816/types.html#Precision
[26] csswg: changeset 8602:26edc24f2215 ( ( 版)) https://dvcs.w3.org/hg/csswg/rev/26edc24f2215
[4] 車の希望ナンバー制がピンチ 英字も導入し対応へ | NHKニュース ( (日本放送協会著, )) http://www3.nhk.or.jp/news/html/20160713/k10010594091000.html?utm_int=all_side_ranking-access_004
[7] 巨大数研究 Wiki | Fandom () https://googology.wikia.org/ja/wiki/%E5%B7%A8%E5%A4%A7%E6%95%B0%E7%A0%94%E7%A9%B6Wiki