Bug 71545

Summary: Very small zoomed text is not rendered
Product: WebKit Reporter: Edoardo Panfili <edoardo@aspix.it>
Component: SVGAssignee: Nobody <webkit-unassigned@lists.webkit.org>
Status: UNCONFIRMED    
Severity: Normal CC: fmalita@chromium.org, zimmermann@kde.org
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description From 2011-11-04 01:25:58 PST
I think I have reported this thing some time ago but did not find it.

A document contains a very small text inside a group with a big zoom factor.
Safari (and Chrome) does not render the text.

This bug is visible in Safari 5.1.1

You can find a test page at http://elrond.aspix.it/tests/webkit.xhtml

As default render please open that link with Firefox or Opera
------- Comment #1 From 2011-11-11 12:53:51 PST -------
The problem with your example appears to be a leading space in the 'x' attribute of <text>:

<text x=" 12.8333335" ...
         ^

After removing that, the number rendered for me.

I remember seeing a discussion about leading spaces in value attributes on some other bug, and the conclusion was that according to the spec they're not allowed.
------- Comment #2 From 2011-11-12 05:19:30 PST -------
I verified this, all works fine after removing the leading spaces.

It seems that leading spaces are allowed only in list attributes like d in path.