[webkit-gtk] WebKit2 zoom API

Carlos Garcia Campos cgarcia at igalia.com
Tue Dec 27 23:50:16 PST 2011


El mar, 27-12-2011 a las 09:23 -0800, Martin Robinson escribió:
> On Tue, Dec 27, 2011 at 2:45 AM, Carlos Garcia Campos
> <cgarcia at igalia.com> wrote:
> >  - WebKitSettings:zoom-text-only set to FALSE by default
> 
> The structure of your proposal seems good to me. One comment about
> using the word "text" to describe non-full content zoom though. "Text"
> may not be appropriate, because I think this still zooms non-textual
> elements such as form controls.

I guess form controls are scaled because they contain text. The C API is
WKPageSetTextZoomFactor(), the WebCore API is Frame::textZoomFactor()
and Mac API is setTextSizeMultiplier() and the method
_setZoomMultiplier() uses a preference called zoomsTextOnly to decide.

> --Martin
> 

-- 
Carlos Garcia Campos
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20111228/f18c7fb4/attachment.bin>


More information about the webkit-gtk mailing list