- From: Stephen Chenney via GitHub <sysbot+gh@w3.org>
- Date: Fri, 20 Dec 2024 16:15:14 +0000
- To: public-css-archive@w3.org
schenney-chromium has just created a new issue for https://github.com/w3c/csswg-drafts: == [CSS Writing Modes] The initial value for "direction" is misleading == The initial value for [direction](https://drafts.csswg.org/css-writing-modes/#direction) is 'ltr', but that is not what happens in Chromium, WebKit or Gecko. All of those will report the document's HTML [dir](https://html.spec.whatwg.org/multipage/dom.html#the-dir-attribute) attribute value in getComputedStyle(). Obviously if the CSS `direction` is not set but the HTML `dir` is given then HTML will define the rendering. The motivation for clarifying this in the CSS Writing Modes spec is to have an accurate reference for the behavior of the HTML [CanvasTextDrawingStyles `direction` IDL attribute](https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-direction). If it is clear that the computed style includes the HTML dir information then the HTML spec can just say "use the computed style direction" which covers all the sub-cases in one go. I would like to add such information to the spec. Any objections? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11402 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 20 December 2024 16:15:15 UTC