Dactyloidae/layout/reftests/svg/svg-integration/transform-outer-svg-01.xhtml
Moonchild 0bcaa2ff90 Issue #2355 - Apply self-transforms to the frame of top level <svg>
We previously didn't do this because we relied on our anonymous wrapper
to perform transforms. However, that resulted in only the children
transforming, and the frame's cliprect wouldn't be updated,
giving the impression of the z-ordering being wrong.

Also adds reftests from the relevant BZ bug found later.

Resolves #2355
2023-10-25 09:58:41 +08:00

18 lines
558 B
HTML

<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test that the 'transform' attribute transforms our border too</title>
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=1353697 -->
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"
style="border: 50px solid black;" transform="translate(50,50)">
<rect x="25" y="25" width="50" height="50" fill="blue"/>
</svg>
</body>
</html>