[webkit-dev] sgv images need some default values

Tamas Gergely tgergely.u-szeged at partner.samsung.com
Mon Mar 10 10:28:51 PDT 2014

I've run into a problem when tried to give a solution for https://bugs.webkit.org/show_bug.cgi?id=125788.
Namely, as far as I can see, WebKit treats images as totally individual documents that require (and get) no information
at all from its context.  The main document has some default properties set from the browser window like
default font size. This info is not propagated to the images. This is not a problem for "legacy" images (jpeg,
png, ...), but it is for svg images that will not be able to use the proper font-dependent length units (em, ex).

Anyone has an idea who should pass the needed default values to the svg docs when they loaded as images?


More information about the webkit-dev mailing list