forked from mirrors/gecko-dev
Automatic update from web-platform-tests overflow-clip-margin: Make sure we can inherit from any parent. This patch ensures that we can inherit the value from any parent, even if the value itself has no effect on the parent. R=ikilpatrick@chromium.org, chrishtr@chromium.org Change-Id: I26586956884a1b8b922e9fce75ee4ad408cb4798 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3335076 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Vladimir Levin <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/main@{#952542} -- wpt-commits: 17cbe4740c8718505a8a4e76f77dcc37e995a258 wpt-pr: 32036
22 lines
567 B
HTML
22 lines
567 B
HTML
<!doctype html>
|
|
<html class="reftest">
|
|
<meta charset="utf-8">
|
|
<title>Overflow-clip-margin can be inherited even if it has no effect on specified element</title>
|
|
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#propdef-overflow-clip-margin">
|
|
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
|
|
<style>
|
|
.container {
|
|
width: 100px;
|
|
height: 100px;
|
|
overflow-clip-margin: 20px;
|
|
overflow: clip;
|
|
}
|
|
.child {
|
|
width: 200px;
|
|
height: 200px;
|
|
background: lightblue;
|
|
}
|
|
</style>
|
|
<div class=container>
|
|
<div class=child></div>
|
|
</div>
|