← back to v157 · object-fit-and-object-position-apply-to-svg-documents-in-object-and-embed
conformance · v157
v157 · object-fit-and-object-position-apply-to-svg-documents-in-object-and-embed — conformance probe
4 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
4
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
css-supports-object-fit-cover |
CSS.supports('object-fit', 'cover') recognizes the object-fit property. spec ↗ | script | … | |
css-supports-object-position-percentage |
CSS.supports('object-position', '80% 20%') recognizes percentage object-position coordinates. spec ↗ | script | … | |
computed-style-applies-to-object-and-embed |
getComputedStyle preserves object-fit and object-position declarations on <object> and <embed> elements. spec ↗ | script | … | |
object-svg-object-fit-none-geometry-probe |
An <object> sized 240x160 loading an intrinsic 120x80 SVG document with object-fit: none renders the inner SVG at scale 1.0 (unscaled 120x80 concrete object size) rather than stretching 2.0x across the 240x160 content box. spec ↗ | script | … |