Files
firefox/testing/web-platform/tests/css/css-transforms/transform-compound-ref.html
Chris Harrelson dff36257b9 Bug 1951487 [wpt PR 51062] - Full implementation of scale transform render surface trigger, a=testonly
Automatic update from web-platform-tests
Full implementation of scale transform render surface trigger

The general approach is as follows:

* Look for 2D scale transforms, and allocate effect nodes for them
(if all goes well, this should have little or no effect on cc layer
count or render surfaces)
* Upgrade the effect node for a 2D scale transform to a render surface
if it doesn't have a backdrop filter in a descendant effect node, and
has at least two composited layers under it.

Also, in particular this approach:

* Relies on implicit compositing of scale transform due to presence of
  composited descendants

Bug: 40084005

Change-Id: If7fff045752f5cf1c09e574a81d181b2a8ac4959
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6299812
Reviewed-by: Xianzhu Wang <[email protected]>
Commit-Queue: Chris Harrelson <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1427258}

--

wpt-commits: 8dd63a5942f11650d17b34d716dc4da1ae84bec9
wpt-pr: 51062
2025-03-05 09:53:31 +00:00

42 lines
1006 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Keith Schwarz" href="mailto:[email protected]">
<link rel="author" title="Robert O'Callahan" href="mailto:[email protected]">
<link rel="author" title="Aryeh Gregor" href="mailto:[email protected]">
<style>
body {
overflow: hidden;
}
div {
transform-origin: top left;
}
body > div {
position: relative;
left: 200px;
top: 0;
}
div.test {
background-color: gold;
width: 200px;
height: 100px;
}
</style>
</head>
<body>
<div>
<div style="transform: translate(100px);">
<div style="transform: scale(2);">
<div style="transform: rotate(90deg);">
<div style="transform: skewX(15deg);">
<div class="test">
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>