[webkit-dev] question about Viewport
Could anyone give some help to understand the concept of viewport meta tag? I got the introduction from apple developer site: http://developer.apple.com/library/safari/#documentation/appleapplications/reference/safariwebcontent/UsingtheViewport/UsingtheViewport.html In this introduction, Figure 3-7 makes me confused. The width of viewport (with scale=0.5) is the same as that of visible area, while width of viewport with scale = 1.5 is 1.5 times of visible area(shown by Figure 3-6). In my understanding, scale = [width of viewport]/[width of visible area], and hence, the width of viewport in Figure 3-7 should be half of width of visible area. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] [chromium] using WEBKIT_API properly
If you do not work on the Chromium port of WebKit, you can stop reading now. I've noticed that there is some confusion about how to use WEBKIT_API properly. WEBKIT_API causes a function to be exported from WebKit when it is built as a DLL, allowing Chromium to call the function. The rule is actually quite simple: WEBKIT_API should be affixed to any public, non-inline function that is intended for the embedder (Chromium) to call. Put another way: -- Do not apply WEBKIT_API to inline functions. -- Do not apply WEBKIT_API to private functions. -- Do not apply WEBKIT_API to public functions within a #if WEBKIT_IMPLEMENTATION block. (Of related note, we never put WEBKIT_API on public constructors and destructors. Instead, we have constructors call an initialize method and destructors call a reset method. Those then end up having the WEBKIT_API prefix applied.) Thanks! -Darin ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] Is the default height of the replaced elements 150PX ?
Hi,all I found the default height of iframe is 150px if it has not the height. why do this? It caused there are the blanks on my page. how do solved it? -- 波澜壮阔心无涟漪 ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev