Skip to content

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented May 2, 2023

This CL follows resolutions of
w3c/csswg-drafts#5575.

  • ParseDisplayMultipleKeywords() reorders and shortens keywords, but
    does not change the specified keywords to legacy keywords.
    It means

    • "el.style.display = 'block flow'; el.style.display" returns 'block'.
    • "el.style.display = 'flow-root inline'; el.style.display" returns
      'inline flow-root', not 'inline-block'.
  • Display::ApplyValue() uses ValidateDisplayKeywords()

Bug: w3c/csswg-drafts#5575
Bug: mozilla/wg-decisions#622
Bug: 995106
Change-Id: I6c916a8910b32f1d4849c68ac5595f9024bfa0f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4493792
Reviewed-by: Oriol Brufau <[email protected]>
Auto-Submit: Kent Tamura <[email protected]>
Commit-Queue: Kent Tamura <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1141725}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-4493792 branch from 4a77c3f to 2ddaf04 Compare May 8, 2023 07:11
@chromium-wpt-export-bot chromium-wpt-export-bot changed the title css-multiple-display: Apply "shortest, most backwards-compatible serialization" only to computed values. css-multiple-display: Update serialization May 8, 2023
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-4493792 branch 2 times, most recently from 546bba7 to b6073b3 Compare May 9, 2023 00:13
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-4493792 branch 2 times, most recently from a0e7c09 to 606a3d8 Compare May 9, 2023 22:04
This CL follows resolutions of
w3c/csswg-drafts#5575.

* ParseDisplayMultipleKeywords() reorders and shortens keywords, but
  does not change the specified keywords to legacy keywords.
  It means
  - "el.style.display = 'block flow'; el.style.display" returns 'block'.
  - "el.style.display = 'flow-root inline'; el.style.display" returns
    'inline flow-root', not 'inline-block'.

* Display::ApplyValue() uses ValidateDisplayKeywords()

Bug: w3c/csswg-drafts#5575
Bug: mozilla/wg-decisions#622
Bug: 995106
Change-Id: I6c916a8910b32f1d4849c68ac5595f9024bfa0f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4493792
Reviewed-by: Oriol Brufau <[email protected]>
Auto-Submit: Kent Tamura <[email protected]>
Commit-Queue: Kent Tamura <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1141725}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants