github web-platform-tests/wpt merge_pr_47484

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
7 months ago

Rename inset-area to position-area

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 futhark@chromium.org
Reviewed-by: Rune Lillesveen futhark@chromium.org
Commit-Queue: Mason Freed masonf@chromium.org
Auto-Submit: Mason Freed masonf@chromium.org
Cr-Commit-Position: refs/heads/main@{#1337930}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.