forked from mirrors/gecko-dev
Automatic update from web-platform-tests Add WPT tests for TransformInterop feature. Also, fix one bug revealed by these tests: getBoundingClientRect was incorrect in cases where a transform is present, the containing block has a perspective transform, and there are intervening DOM elements. This was correctly implemented in PaintPropertyTreeBuilder, but getBoundingClientRect uses another code path that goes through LayoutObject::GetTransformFromContainer. Bug: 1008483 Change-Id: Id075e3f3cfd9d6c725a724ad03534a4a2fc1d377 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2197895 Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#775848} -- wpt-commits: bfb60a4bebc6a8bb2a83cfb0caf5e43a36dea6d2 wpt-pr: 23865
15 lines
546 B
HTML
15 lines
546 B
HTML
<!DOCTYPE html>
|
|
<title>backface visibility: hidden self-transform</title>
|
|
<link rel="author" title="Chris Harrelson" href="mailto:chrishtr@chromium.org">
|
|
<link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-property">
|
|
<link rel="help" href="http://www.w3.org/TR/css-transforms-2/#propdef-backface-visibility">
|
|
|
|
<p>The test passes if there is a green rectangle and no red.</p>
|
|
<style>
|
|
div {
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
</style>
|
|
<div style="backface-visibility:hidden"></div>
|
|
<div style="background: green"></div>
|