gecko-dev/gfx/tests/reftest/1524353-ref.html
Kartikaya Gupta 597f660d81 Bug 1524353 - Add a reftest to prevent regression. r=jrmuizel
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
2019-01-31 19:40:54 -05:00

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>