Skip to content

consider adding inset-area as a "prefix" for position-area in chromium 125-128 #1730

@jsnkuhn

Description

@jsnkuhn

What would you want to propose?

Have been looking at updating some Twitch layouts with anchor positioning. These are webpages that get captured with Open Broadcaster Software (OBS) to be displayed on stream as backgrounds. OBS is stuck on a year and a half old version of chromium embedded framework (127) with no update in site. Even once this is updated it's unrealistic to expect that folks will all upgrade right away.

https://caniuse.com/?search=position-area

Suggested solution

The issue is that this version falls into the window of 125-128 when chromium's implementation used an old property name "inset-area" instead of the currently spec-ed name position-area. So both need to be used to make position-area code work as far back as possible.

The existing anchor position polyfill does not run for 125-128 and they do not plan on adding support for this:
oddbird/css-anchor-positioning#370

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

  • I'm willing to open a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions