Bug 103691 - SVGImage::dataChanged() should set default font size
Summary: SVGImage::dataChanged() should set default font size
Status: RESOLVED DUPLICATE of bug 68090
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Stephen Chenney
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-29 17:26 PST by Kenichi Ishibashi
Modified: 2012-11-30 05:31 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenichi Ishibashi 2012-11-29 17:26:38 PST
This is a follow-up bug entry (suggested by inferno@ on https://bugs.webkit.org/show_bug.cgi?id=99506#c17)

SVGIMage::dataChanged() creates a page object for svg image, but not set default font size for the page. The default font size is initialized as zero in the constructor of Settings. If we don't set appropriate default font size, it could cause unexpected behavior like https://bugs.webkit.org/show_bug.cgi?id=99506.

It should call Settings::setDefaultFontSize() with appropriate default font value. I'm not sure which value is suitable.
Comment 1 Florin Malita 2012-11-30 05:22:57 PST

*** This bug has been marked as a duplicate of bug 68090 ***