Open Bug 1132859 Opened 9 years ago Updated 2 years ago

[computed view] Logical CSS properties are not handled

Categories

(DevTools :: Inspector, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: sebo, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [btpp-backlog])

Multiple logical CSS properties as of the CSS Logical Properties spec[1] got introduced lately (check the 'See Also' field).

These properties are mapped to physical properties, which is currently not recognized by the Computed side panel.

The panel should list the physical properties (without having 'Browser styles' checked) and allow to expand them to display the logical properties.

E.g. for the given test case I'd expect to see 'margin-top   50px' and when it's expanded it should list 'margin-block-start > 50px' resp. 'padding-bottom   20px' and when it's expanded it should list 'padding-block-end > 20px'.

Sebastian

[1] http://dev.w3.org/csswg/css-logical-props/
Thanks for filing Sebastian, indeed we don't support this for now, but it'd be good to do.

Also weird with your test case, the padding-bottom property isn't displayed at all unless you check the "browser styles" checkbox.

It looks like supporting this would require some changes to css-logic.js/CssPropertyInfo which, right now, only knows about physical property name, and doesn't know how to map them back to corresponding logical properties.
We'll need a platform API (probably a new method in inIDOMUtils.idl) that provides this mapping, if there isn't one already.
Depends on: 1132868
Inspector bug triage. Filter on CLIMBING SHOES.

CSS logical properties are only supported on FF for now => P3.
Priority: -- → P3
Whiteboard: [btpp-backlog]
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.