mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
597f660d81
The Google weather search result widget has an SVG inside a transform, inside a scrollframe. The patch in bug 1523776 broke the clipping in that the SVG elements would not get clipped by the scrollframe. This reftest exercises that scenario. Differential Revision: https://phabricator.services.mozilla.com/D18273
9 lines
323 B
HTML
9 lines
323 B
HTML
<!DOCTYPE html>
|
|
<div style="overflow:hidden; width: 300px; height: 200px; border: solid 1px black">
|
|
<div style="width: 600px; transform: translateX(0px); will-change: transform">
|
|
<svg style="height: 200px" width="600">
|
|
<path d="M0 0 H 300 V 25 Z" fill="red"></path>
|
|
</svg>
|
|
</div>
|
|
</div>
|