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

New object-view-box feature #1247

Merged
merged 2 commits into from
Jun 18, 2024
Merged

New object-view-box feature #1247

merged 2 commits into from
Jun 18, 2024

Conversation

captainbrosset
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the feature definition Creating or defining new features or groups of features. label Jun 14, 2024
features/object-view-box.yml Outdated Show resolved Hide resolved
description: The `object-view-box` CSS property defines the subset within an image that should be drawn in the content box of the image.
spec: https://drafts.csswg.org/css-images-5/#the-object-view-box
compat_features:
- css.properties.object-view-box
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should the descendant key css.properties.object-view-box.none be a part of this? If not, why not?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

none is the initial value of the property and does nothing. I would expect any browser that supports object-view-box to also support the none value, from the get go.

I think it would be more interesting to add the inset and rect value types once they get added to BCD (I'll take a look and open a PR in BCD for it).

Copy link
Collaborator

Choose a reason for hiding this comment

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

OK, that's fine. I suspect we may end up tagging none into this feature as well (and the other values, as they get added) as we merge the tools to consume BCD more comprehensively, but this is fine for now. Thank you!

Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
@ddbeck ddbeck merged commit 2e13803 into main Jun 18, 2024
3 checks passed
@ddbeck ddbeck deleted the object-view-box branch June 18, 2024 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature definition Creating or defining new features or groups of features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants