Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename inset-area to position-area #47484

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Aug 6, 2024

Per the CSSWG, this property has been renamed:

w3c/csswg-drafts#10209 (comment)

This does a mechanical rename:

  • inset-area to position-area
  • insetArea to positionArea
  • InsetArea to PositionArea
  • inset_area to position_Area

After the mechanical rename, there were a handful of hand-fixups,
e.g. in cases where the old property (inset-area) needs to stay,
or in setting up feature access to both.

This CL also adds a surrogate from inset-area to position-area,
so that both names keep working. Separate runtime flags are created
to enable either of these property names. As-is, inset-area is
enabled for "stable", and position-area is "experimental". And
finally, a virtual test suite is added that enables inset-area
and disables position-area and tests that the old WPTs still pass.
Note that the WPTs had to be slightly modified for their new copied
location within the VTS.

Bug: 352333393
Change-Id: I92d3347ae109546a155771a21b5d6aee2a81391d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5698212
Commit-Queue: Rune Lillesveen <[email protected]>
Reviewed-by: Rune Lillesveen <[email protected]>
Commit-Queue: Mason Freed <[email protected]>
Auto-Submit: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1337930}

Per the CSSWG, this property has been renamed:

w3c/csswg-drafts#10209 (comment)

This does a mechanical rename:
 - `inset-area` to `position-area`
 - `insetArea` to `positionArea`
 - `InsetArea` to `PositionArea`
 - `inset_area` to `position_Area`

After the mechanical rename, there were a handful of hand-fixups,
e.g. in cases where the old property (inset-area) needs to stay,
or in setting up feature access to both.

This CL also adds a surrogate from `inset-area` to `position-area`,
so that both names keep working. Separate runtime flags are created
to enable either of these property names. As-is, `inset-area` is
enabled for "stable", and `position-area` is "experimental". And
finally, a virtual test suite is added that enables `inset-area`
and disables `position-area` and tests that the old WPTs still pass.
Note that the WPTs had to be slightly modified for their new copied
location within the VTS.

Bug: 352333393
Change-Id: I92d3347ae109546a155771a21b5d6aee2a81391d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5698212
Commit-Queue: Rune Lillesveen <[email protected]>
Reviewed-by: Rune Lillesveen <[email protected]>
Commit-Queue: Mason Freed <[email protected]>
Auto-Submit: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1337930}
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 merged commit 5338286 into master Aug 6, 2024
21 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-5698212 branch August 6, 2024 17:20
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.

3 participants