forked from mirrors/gecko-dev
Automatic update from web-platform-tests [TransformInterop] Make preserve-3d still be no-op on inlines. Make transform-style: preserve-3d still be a no-op on non-replaced inline elements rather than making it force a stacking context and a containing block. This matches Gecko's behavior, and I think the intent of the spec change that this is implementing. The proposal to change the spec to match is in https://github.com/w3c/csswg-drafts/issues/6430 . This change also means we can avoid worrying about fixing the DCHECK() failures triggered by having an additional way of making non-replaced inlines be a containing block for fixed-positioned elements. Fixed: 1226287 Change-Id: Ifeb472de072355001d71f37f3e6bf7c71d085154 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3011457 Reviewed-by: Stefan Zager <szager@chromium.org> Commit-Queue: David Baron <dbaron@chromium.org> Cr-Commit-Position: refs/heads/master@{#899617} -- wpt-commits: 3373bcff73e290f95342a9b71c5a967bf47da582 wpt-pr: 29605
21 lines
422 B
HTML
21 lines
422 B
HTML
<!DOCTYPE HTML>
|
|
<meta charset="UTF-8">
|
|
<title>CSS Test Reference: transform-style: preserve-3d not being a containing block on inlines</title>
|
|
<link rel="author" title="L. David Baron" href="https://dbaron.org/">
|
|
<link rel="author" title="Google" href="http://www.google.com/">
|
|
<style>
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
#ref {
|
|
display: block;
|
|
width: 50px;
|
|
height: 50px;
|
|
background: blue;
|
|
}
|
|
|
|
</style>
|
|
|
|
<span id="ref"></span>
|