Skip to content

Commit

Permalink
elements that map to style and are not animated do not print correctly
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D188703

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1853727
gecko-commit: d60042e856fe53a4c5679a245a52b6c478db7be8
gecko-reviewers: emilio
  • Loading branch information
longsonr authored and pull[bot] committed Oct 10, 2023
1 parent 3417b9b commit 9e1de77
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions svg/layout/svg-use-symbol-width-2-print.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1853727">
<link rel="match" href="svg-use-symbol-width-print-ref.html">
<style>
body { margin: 0 }
</style>
<!-- Should see a blue square inside the top left quarter of a purple square -->
<svg width=200 height=200 viewbox="0 0 200 200">
<defs>
<symbol id="r" viewBox="0 0 200 200">
<rect fill="blue" style="width:100px;height:100px" />
</symbol>
</defs>
<rect fill="purple" style="width:100px;height:100px" />
<use href="#r" width="100" height="100" x="0" y="0" />
</svg>

0 comments on commit 9e1de77

Please sign in to comment.