Bug 239910

Summary: [cssom] Some logical longhands still not enumerated in the computed style
Product: WebKit Reporter: Oriol Brufau <obrufau>
Component: CSSAssignee: Oriol Brufau <obrufau>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, koivisto, macpherson, menard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=210695
Attachments:
Description Flags
Patch none

Oriol Brufau
Reported 2022-04-29 13:43:41 PDT
Bug 210695 added support for enumerating most logical longhands in the computed style. But as the commit message acknowledged, > Using the specification->category for this seems a bit hacky Indeed, not all logical properties are defined in the css-logical spec. For example, css-scroll-snap defines some of them. This causes problems: - overscroll-behavior-{block,inline} are not enumerated - scroll-margin-block-{end,start} are not enumerated - scroll-margin-block is enumerated (since its longhands are not) - scroll-margin-inline-{end,start} are not enumerated - scroll-margin-inline is enumerated (since its longhands are not) - scroll-padding-block-{end,start} are not enumerated - scroll-padding-block is enumerated (since its longhands are not) - scroll-padding-inline-{end,start} are not enumerated - scroll-padding-inline is enumerated (since its longhands are not) Rather than checking the spec, the code should check "logical-property-group".
Attachments
Patch (27.48 KB, patch)
2022-04-29 14:17 PDT, Oriol Brufau
no flags
Oriol Brufau
Comment 1 2022-04-29 14:17:52 PDT
EWS
Comment 2 2022-05-02 11:06:13 PDT
Committed r293670 (250172@main): <https://commits.webkit.org/250172@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 458608 [details].
Radar WebKit Bug Importer
Comment 3 2022-05-02 11:07:16 PDT
Note You need to log in before you can comment on or make changes to this bug.