The object-view-box and object-overflow properties allow the content for replaced elements to paint outside its content-box, similar to ink overflow for other elements.
Motivation
object-view-box and object-overflow allows the author to specify a subset within an image that should draw within the content box of the target replaced element. This enables an author to a create an image with a custom glow or shadow applied, with proper ink-overflow behavior like a CSS shadow would have.
Specification
Final published standard: Recommendation, Living Standard, Candidate Recommendation, or similar final form
Status in Chromium
In development
(tracking bug)
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- No signal
- No signal
- No signals
Owners
Intent to Prototype url
Intent to Prototype threadLast updated on 2022-05-10
Comments
Spec link for object-overflow : https://drafts.csswg.org/css-images-4/#the-object-overflow