mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
https://codereview.chromium.org/899753003 incorrectly passed down the RenderView's clipping rect all the down through transforms instead of using the one from the LayerPaintingInfo, which is adjusted for transforms as you recurse down the tree. TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/957643002
29 lines
473 B
Plaintext
29 lines
473 B
Plaintext
<import src="../resources/run-after-display.sky" />
|
|
|
|
<style>
|
|
transformer {
|
|
transform: translateY(-500px);
|
|
}
|
|
child {
|
|
opacity: 0.5;
|
|
background-image: linear-gradient(green, yellow);
|
|
height: 1900px;
|
|
}
|
|
</style>
|
|
<transformer>
|
|
<child />
|
|
</transformer>
|
|
|
|
<script>
|
|
import "dart:sky";
|
|
import "dart:sky.internals" as internals;
|
|
|
|
void main() {
|
|
window.addEventListener('load', (_) {
|
|
runAfterDisplay(() {
|
|
internals.notifyTestComplete("");
|
|
});
|
|
});
|
|
}
|
|
</script>
|