mdn / mdn/browser-compat-data

css.properties.object-position - BCD on this doesn't cover support in iframe

Open
#23,586 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser:multiple data:css
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

What type of issue is this?

Missing compatibility data

What information was incorrect, unhelpful, or incomplete?

Related to https://github.com/mdn/content/issues/32474#issuecomment-2182407633

The property doesn't work on iframes in Chromium-based browsers and Safari. But it does work in Firefox. In the OWD weekly meeting, it was decided that BCD needs to cover the iframe entry for the object-position property.

What browsers does this problem apply to, if applicable?

Chromium (Chrome, Edge 79+, Opera, Samsung Internet), Safari

What did you expect to see?

In the object-fit BCD entry, show iframe is supported in Firefox and not in other browsers.
Or in the iframe BCD entry, show object-fit is supported only in Firefox.

Did you test this? If so, how?

Run the following playground demo in various browsers.
https://developer.mozilla.org/en-US/play?id=M%2BIuRXx6jXT3WN%2FzFjlc5FQ1p%2B8VB0qGSpBnv%2F4B8bTvJRCQtdgRm9Qi%2BaXMV3jGMLkxAnciNkCPtL9a

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/object-position

MDN metadata
MDN page report details
  • Query: css.properties.object-position
  • Report started: 2024-07-01T06:25:22.629Z

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the css.properties.object-position BCD entry and the linked MDN object-position page. Run the provided MDN playground demo in the affected browsers and compare the existing data with Firefox's iframe support. Done means the appropriate BCD entry records iframe support for Firefox and lack of support in Chromium-based browsers and Safari.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.