mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
Automatic update from web-platform-tests Enable the CSS image-orientation always The spec has been updated to something we can commit to. Intent to Ship has been approved. So implement the CSS image-orientation property for all images (content and style) and change the valid values to "from-image" or "none". Update tests accordingly. This does not remove the flag in case we need to turn it off. Intent to Ship: https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/image-orientation%7Csort:date/blink-dev/jPgnRoivOis/X1E6SuOoAwAJ Bug: 158753 Change-Id: Ib50d263b01f7cf6b2d17174138fd223a8105da8e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1846319 Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/master@{#725393} -- wpt-commits: 8662126200210242385c75b285219c2107433204 wpt-pr: 20761
24 lines
859 B
HTML
24 lines
859 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Inheritance of CSS Images properties</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-images-3/#property-index">
|
|
<meta name="assert" content="Properties inherit or not according to the spec.">
|
|
<meta name="assert" content="Properties have initial values according to the spec.">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/css/support/inheritance-testcommon.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="container">
|
|
<div id="target"></div>
|
|
</div>
|
|
<script>
|
|
assert_inherited('image-orientation', 'from-image', 'none');
|
|
assert_inherited('image-rendering', 'auto', 'pixelated');
|
|
assert_not_inherited('object-fit', 'fill', 'contain');
|
|
assert_not_inherited('object-position', '50% 50%', '10px 20px');
|
|
</script>
|
|
</body>
|
|
</html>
|