Re: [css-writing-modes][CSS21] propagation of 'direction' from <body>

fantasai <fantasai.lists@inkedblade.net> wrote on 2015/02/11 13:22:27
> There are three options for what to do:
> 
>    1) require 'direction' propagation from body to html, fix browsers
>    2) forbid 'direction' propagation from body to html, fix browsers
>    3) require dir=rtl propagation from body to html, fix browsers
> 
> I think #3 makes the most sense because
...

>    Proposal is to forbid 'direction' and 'writing-mode' propagation from <body>
>    to <html> and instead require dir=rtl propagation from <body> to <html>.
>    Simpler model with less potential for bugs, and solves web compat issues.

Unfortunately, I found a bunch of tutorial web pages and books about how to make vertial text Web/EPUB3, teaching 'body { writing-mode: vertical-rl; }' relying on current browser's behavior, see:

https://code.google.com/p/epubcheck/issues/attachmentText?id=240&aid=2400000001&name=ebook_style_v.css&token=ZNxnF4MH67szO8_UUbEc6zVntK8%3A1368786112317

http://blog.imagedrive.jp/web/research/2011-01-14/css3-chgov-writing-mode

http://t2aki.doncha.net/?id=1380773358

https://books.google.com.au/books?id=lOSV_Cq6hmMC&pg=PA163&lpg=PA163&dq=%22body%22+%22writing-mode%22+%22vertical-rl%22&source=bl&ots=MtUb447947&sig=LMfsorH3mrPaFJmuPzX3XInVpaI&hl=ja&sa=X&ei=yu3aVJflNY_zoASOtYDQBQ&redir_esc=y#v=onepage&q=%22body%22%20%22writing-mode%22%20%22vertical-rl%22&f=false

https://books.google.com.au/books?id=FGnZmGhOdqsC&pg=PA222&lpg=PA222&dq=%22body%22+%22writing-mode%22+%22vertical-rl%22&source=bl&ots=e9M_jag1Hl&sig=ksZVNsMZlDHBgQkU6NCSDhkCgH8&hl=ja&sa=X&ei=sOzaVOrLNZGqoQSzy4GgDw&redir_esc=y#v=onepage&q=%22body%22%20%22writing-mode%22%20%22vertical-rl%22&f=false

https://books.google.com.au/books?id=lyEfBAAAQBAJ&pg=PA93&lpg=PA93&dq=%22body%22+%22writing-mode%22+%22vertical-rl%22&source=bl&ots=ewrdjpjeDx&sig=bSbVkrlb58f6wkIgFXZGBA4kLyU&hl=ja&sa=X&ei=yu3aVJflNY_zoASOtYDQBQ&redir_esc=y#v=onepage&q=%22body%22%20%22writing-mode%22%20%22vertical-rl%22&f=false

So I think #1 is better than #3.

--
Shinyu Murakami (ζ‘δΈŠ ηœŸι›„)
CEO & Founder, Vivliostyle Inc.
http://vivliostyle.com
murakami@vivliostyle.com

Received on Wednesday, 11 February 2015 06:20:36 UTC