Open Bug 1661548 Opened 4 years ago Updated 4 years ago

[css-logical] Logical values should compute to themselves and be resolved with the wm of the containing block

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: Oriol, Unassigned)

Details

(Whiteboard: [layout:backlog:quality])

Run

document.body.style.float = "inline-start";
getComputedStyle(document.body).float;

Actual: "left".
Expected: "inline-start", as resolved in https://github.com/w3c/csswg-drafts/issues/2821


Load data:text/html,<div style="direction:rtl;float:inline-start;background:cyan">Foo</div>
Actual: the elements floats to the right, because it resolves inline-start using its own direction (rtl).
Expected: the elements floats to the left, because it resolves inline-start using the direction of its containing block (ltr).
See resolution in https://github.com/w3c/csswg-drafts/issues/3013
The spec is clear for float and clear, but not for resize (https://github.com/w3c/csswg-drafts/issues/3281)

Severity: -- → S4
Whiteboard: [layout:backlog:quality]

I'm pretty sure we had a bug on file for this already, but I couldn't find it...

You need to log in before you can comment on or make changes to this bug.