Open Bug 1169065 Opened 9 years ago Updated 2 years ago

Propagate @dir from body to html element

Categories

(Core :: Layout, defect)

defect

Tracking

()

Tracking Status
firefox41 --- affected

People

(Reporter: MatsPalmgren_bugz, Unassigned)

Details

According to dbaron in bug 817406 comment 32 the CSSWG has decided how direction should be propagated from body to html/viewport. I haven't found any minutes yet that describes what was decided though.
From the CSSWG meeting minutes: - RESOLVED: No propagation of 'direction' from body to html, propagate dir attr with `html:not([dir]):has(>body:dir( rtl)) { direction: rtl; }, back out if web compat problems - RESOLVED: writing-mode and direction need to have the same propagation behavior, so writing-mode compat affects the previous resolution (which may be rescinded) https://lists.w3.org/Archives/Public/www-style/2015May/0313.html
Summary: Propagate @dir from body to html element, or perhaps 'direction'? → Propagate @dir from body to html element
I think we need :has() to implement what the CSSWG suggested above.
Depends on: has-pseudo
No, this should be done via the attribute mapping code anyway, so we don't.
No longer depends on: has-pseudo
Also see bug 1071098 about propagation from root to ICB/canvas.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.