Skip to content

Commit

Permalink
Bug 1603635 [wpt PR 20761] - Enable the CSS image-orientation always,…
Browse files Browse the repository at this point in the history
… a=testonly

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 <[email protected]>
Commit-Queue: Stephen Chenney <[email protected]>
Cr-Commit-Position: refs/heads/master@{#725393}

--

wpt-commits: 8662126200210242385c75b285219c2107433204
wpt-pr: 20761
  • Loading branch information
schenney-chromium authored and moz-wptsync-bot committed Dec 23, 2019
1 parent f16906b commit e9dd079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/web-platform/tests/css/css-images/inheritance.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div id="target"></div>
</div>
<script>
assert_inherited('image-orientation', '0deg', 'from-image'); // none is 0deg
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');
Expand Down

0 comments on commit e9dd079

Please sign in to comment.