[Webkit-unassigned] [Bug 93770] New: When SVG is embedded as an image, the default font size is very small
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Aug 11 17:19:55 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=93770
Summary: When SVG is embedded as an image, the default font
size is very small
Product: WebKit
Version: 420+
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pdr at google.com
CC: zimmermann at kde.org
Consider the following SVG:
<svg id="svg" width="300" height="300" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect x="0" y="0" width="100" height="100" fill="lightgray"/>
<text x="10" y="20">PASS1</text>
<text x="10" y="40" font-size="14">PASS2</text>
</svg>
Viewed alone, PASS1 and PASS2 are visible on a gray square. If the SVG is embedded though:
<html>
<img src="svg.svg"/>
</html>
PASS2 will be rendered as expected but PASS1 will render very small--one pixel high and just a few pixels across.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list