fune/testing/web-platform/tests/css/css-overflow/overflow-img-display-table-ref.html
Khushal Sagar 2497c6b128 Bug 1779333 [wpt PR 34826] - blink: Fix computed style overrides for overflow., a=testonly
Automatic update from web-platform-tests
blink: Fix computed style overrides for overflow.

StyleAdjuster enforces that an element with table layout can only use
overflow with values 'visible' or 'hidden'. There is no reason to
disallow 'clip' in this case.

See update to the spec here: https://github.com/w3c/csswg-drafts/pull/7492/files

Bug: 1321217
Change-Id: I6eea2c5fd105f6b46adef590f35eafa0b3598031
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3758250
Auto-Submit: Khushal Sagar <khushalsagar@chromium.org>
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Vladimir Levin <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1023858}

--

wpt-commits: 3afcc8cbd5512970bbd079071872fcb3cc8df13b
wpt-pr: 34826
2022-07-21 00:24:46 +00:00

19 lines
525 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>Verifies img elements are clipped with display:table</title>
<link rel="help" href="https://drafts.csswg.org/css-overflow/#propdef-overflow">
<link rel="author" title="Khushal Sagar" href="mailto:khushalsagar@chromium.org">
<style>
.default {
width: 25px;
height: 50px;
border-radius: 2px;
overflow: clip;
border-radius: 2px;
}
</style>
<body>
<div class="default">
<img src="../css-images/support/exif-orientation-6-ru.jpg"></img>
</div>
</body>