Bug 103691
Summary: | SVGImage::dataChanged() should set default font size | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kenichi Ishibashi <bashi> |
Component: | SVG | Assignee: | Stephen Chenney <schenney> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | fmalita, pdr, schenney, zimmermann |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Kenichi Ishibashi
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Florin Malita
*** This bug has been marked as a duplicate of bug 68090 ***