Bug 226878 - [css-logical] Implement logical property groups
Summary: [css-logical] Implement logical property groups
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Oriol Brufau
Keywords: InRadar
Depends on:
Blocks: 226461
  Show dependency treegraph
Reported: 2021-06-10 07:32 PDT by Oriol Brufau
Modified: 2021-06-17 06:14 PDT (History)
12 users (show)

See Also:

Patch (67.63 KB, patch)
2021-06-10 07:44 PDT, Oriol Brufau
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oriol Brufau 2021-06-10 07:32:20 PDT

> Each set of parallel flow-relative properties and physical properties
> (ignoring shorthand properties) related by setting equivalent styles
> on the various sides or dimensions of a box, forms a logical property group.
> For example, the padding-* properties form a single logical property group,
> the margin-* properties form a separate logical property group,
> the border-*-style properties form another logical property group, etc.

Currently we only know the physical properties belonging to the same logical property group as a given logical property.
But given a physical property, we don't know if there are logical properties that could map to it.

In order to have proper CSSOM support for logical properties (bug 226461),
we will need to determine whether two properties belong to the same
logical property group but with a different mapping logic.

So we need to implement the concept of logical property groups.
Comment 1 Oriol Brufau 2021-06-10 07:44:32 PDT
Created attachment 431078 [details]
Comment 2 EWS 2021-06-17 06:13:58 PDT
Committed r278985 (238911@main): <https://commits.webkit.org/238911@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 431078 [details].
Comment 3 Radar WebKit Bug Importer 2021-06-17 06:14:47 PDT