On Wed, Sep 10, 2014 at 5:03 PM, Daniel Holbert <dholb...@mozilla.com> wrote:
> Summary: The 'object-fit' and 'object-position' properties allow web
> developers to customize how a replaced element's content gets scaled and
> positioned to fit the element's content-box. (i.e. how an image or a
> video gets scaled/positioned inside of an <img>/<video> tag) The
> 'object-fit' property lets authors request e.g. 'contain' or 'cover'
> behavior (or several other behaviors), and 'object-position' lets the
> them specify how the content should be aligned when there's extra space
> available.  Together, these properties provide similar functionality to
> the preserveAspectRatio attribute in SVG.

Yes!

Do we have a sense for how supportive other browser vendors are of
these properties? And how stable we can expect these properties to be
in the spec?

/ Jonas

/ Jonas
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to