Re: [csswg-drafts] [css-logical-1] Interaction of shorthands and logical properties (#3030)

@emilio Not sure if I get it the spec text right, taking for example this *declaration block*:

margin-top: 10px;
margin-right: 10px;
margin-left: 10px;
margin-inline-start: 10px;
margin-block-start: 10px;
margin-block-end: 10px;
margin-inline-end: 10px;
margin-bottom: 10px

So we reach the new step with
property = margin-top
already-serialized = []
shorthands = [margin, all]
shorthand = margin
longhands = [margin-top, margin-right, margin-left, margin-inline-start,
             margin-block-start, margin-block-end, margin-inline-end, margin-bottom]
current-longhands = [...longhands]

Then, we have mixed mapping logic, but all declarations in *declaration block* are in *current longhands*, so it seems to me we would serialize using `margin`?

GitHub Notification of comment by Loirooriol
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Thursday, 5 November 2020 14:25:38 UTC