mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests WPT Test: overlap testing takes into account clip transforms w/scale Bug: 548184 Change-Id: I3f25c49e94331dc306272dbeb4347b5cf2bef6f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2774221 Commit-Queue: Chris Harrelson <[email protected]> Auto-Submit: Chris Harrelson <[email protected]> Reviewed-by: Philip Rogers <[email protected]> Cr-Commit-Position: refs/heads/master@{#864880} -- wpt-commits: 3f765deedb84ad519de9d0a8a3fbe749b3b0cfc7 wpt-pr: 28155
23 lines
787 B
HTML
23 lines
787 B
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<title>CSS Test (Transforms): Tests overlap testing + clipping + scale transforms + compositing.</title>
|
|
<link rel="author" title="Chris Harrelson" href="mailto:[email protected]">
|
|
<link rel="help" href="http://www.w3.org/TR/css-transforms-1/">
|
|
<link rel="match" href="scale-transform-overlap-ref.html">
|
|
</head>
|
|
<style>
|
|
div {
|
|
position: absolute;
|
|
width: 50px;
|
|
height: 50px;
|
|
transform-origin: 0px 0px;
|
|
}
|
|
</style>
|
|
<div style="width: 250px; height: 100px; overflow: hidden; transform: translate(-250px, 50px) scale(1.8, 1.8);">
|
|
<div style="transform: translate(160px, 0px)">
|
|
<div style="background: lightblue; will-change: transform"></div>
|
|
<div style="background: green; left: 10px; top: 10px;"></div>
|
|
</div>
|
|
</div>
|
|
|