1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 // InactivePropertyHelper `object-fit` and `object-position` test cases.
8 info: "object-fit is inactive on inline element",
9 property: "object-fit",
11 rules: ["span { object-fit: cover; }"],
15 info: "object-fit is active on replaced element",
16 property: "object-fit",
18 rules: ["img { object-fit: cover; }"],
22 info: "object-position is inactive on inline element",
23 property: "object-position",
25 rules: ["span { object-position: 50% 50%; }"],
29 info: "object-position is active on replaced element",
30 property: "object-position",
32 rules: ["img { object-position: 50% 50%; }"],