- From: Simon Pieters <simonp@opera.com>
- Date: Thu, 13 Jun 2013 11:27:07 +0200
- To: Simon Pieters <simonp@opera.com>
- CC: "www-style@w3.org" <www-style@w3.org>, Koji Ishii <kojiishi@gluesoft.co.jp>
On 6/5/13 12:31 AM, Simon Pieters wrote: > On Mon, 02 Jan 2012 16:11:20 +0100, Koji Ishii > <kojiishi@gluesoft.co.jp> wrote: > >> A friend of mine found that scrollIntoView[1] doesn't work when >> principal writing mode is vertical, because the spec assumes text >> flows top to bottom, which is not true for vertical flow. He was >> developing a JavaScript to highlight text being read by SMIL[2]. >> >> I think we need to apply dimensional mapping[3] to CSSOM View. >> "Scroll an element into view"[4] must be logicalized. Whether to >> logicalize properties such as clientTop might need discussions. I >> think practical answer is to logicalize them as well because physical >> means many scripts must be re-written to run well in vertical flow, >> and I can't imagine good use of these properties as physical. >> >> Thoughts? >> >> [1] http://www.w3.org/TR/cssom-view/#dom-element-scrollintoview >> [2] http://www.epubcafe.jp/egls/epubcon01a/0101 >> [3] http://dev.w3.org/csswg/css3-writing-modes/#dimension-mapping >> [4] http://www.w3.org/TR/cssom-view/#scroll-an-element-into-view > > The spec has been updated to be aware of vertical writing modes. > > https://dvcs.w3.org/hg/csswg/rev/ed75c8f22fa1 > https://dvcs.w3.org/hg/csswg/rev/4173a32e6fc9 > https://dvcs.w3.org/hg/csswg/rev/676259865cac > https://dvcs.w3.org/hg/csswg/rev/90cfc79f2d83 > ...and now scrollIntoView is aware of vertical writing modes, too. https://dvcs.w3.org/hg/csswg/rev/b01ea2932d0c also see https://dvcs.w3.org/hg/csswg/rev/765077ceb106 -- Simon Pieters Opera Software
Received on Thursday, 13 June 2013 09:26:15 UTC