Bug 71545 - Very small zoomed text is not rendered
Summary: Very small zoomed text is not rendered
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-04 01:25 PDT by Edoardo Panfili
Modified: 2022-07-14 14:34 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edoardo Panfili 2011-11-04 01:25:58 PDT
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 Florin Malita 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 Edoardo Panfili 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.
Comment 3 Ahmad Saleem 2022-07-14 14:08:17 PDT
I think Comment 01 clarifies the issue with the test case for the reporter and then reported confirmed in Comment 02 that it fixes the issue for sample case. Can this be marked as "RESOLVED INVALID" or "RESOLVED WONTFIX"? Thanks!