Koji Ishii
Koji Ishii
Right, the spec is in HTML. We have a contributor on [our crbug 296863](https://crbug.com/296863) but he is not active these days.
The dir attributes [sets the CSS `direction` property](https://html.spec.whatwg.org/multipage/rendering.html#bidi-rendering) and rendering honors the CSS `direction` property, so it should inherit in the same way as CSS inheritance does in all places....
Ah, good point. I don't remember details, but Aharon and a few other bidi/i18n experts preferred to inherit the dir and lang attribute when I asked them before, and there...
@smaug---- `dir=auto` is the scenario I discussed with experts, and they wanted flat tree to compute auto-dir, from #bar in this case. But given their understanding on shadow dom isn't...
`:dir()` matches to elements with the 'dir' attribute, not the inherited value, no?
nvm, I was wrong. ^
Allow me to confirm what we're discussing. The original topic was about whether to inherit or not, I still prefer to inherit, but can't read whether we have consensus or...
I see, thank you, understood the topic. That part is probably about [the `dir` attribute](https://html.spec.whatwg.org/multipage/dom.html#the-dir-attribute) section defines to inherit from: > the element's parent element so if we're in consensus...
We don't have `:dir()` yet, so maybe situation is different, but for `dir=auto`, we have flat-tree traversal code that can traverse before we build box tree, and our `dir=auto` uses...
Then...sorry, I guess I don't understand what you meant by "before we construct the flat tree", thought it's about box tree. I guess I should delegate to @hayatoito, it's been...