[webkit-help] Mobile support in WinCairo port

Brent Fulgham bfulgham at gmail.com
Fri Jan 23 22:12:33 PST 2015

I’ve been running through the full set of Windows layout tests, and have found that several of the ViewPort tests fail.

It’s likely that there are some small bits of the IWebView/IWebFrame stuff that is not fully connected to the WebCore viewport pieces. It might not be much work to fix it.

A great first step would be to take a look at the LayoutTests viewport tests and figure out why they don’t work. These live in ‘LayoutTests/fast/viewport’ and are currently skipped on Windows.



> On Jan 23, 2015, at 8:18 PM, Benjamin Poulain <benjamin at webkit.org> wrote:
> On 1/23/15 7:41 PM, Luc R. wrote:
>> I've been trying to run a few examples of mobile web pages using
>> WinCairo port, and often seeing that content is not re-sized to fit the
>> window like on a smartphone screen. I am setting the window size to be
>> the analog of mobile viewport size (e.g. 320x568) + adding mobile user
>> agent.
>> In this setup seems like viewport html tag is not honored and the
>> default behavior is different from a mobile device. Could anyone advice
>> on the architecture of how device-specific rendering is handled in
>> WebKit, should it be implemented on per-port basis, and WinCairo missing
>> this, or am I just missing something obvious?
> Layout on touch devices works quite differently. The only port that uses that is iOS WebKit.
> Basically the viewport on touch devices is split in 3:
> -A layout viewport.
> -A visual viewport.
> -A fixed element viewport.
> The only port that uses that is iOS.
> Benjamin
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-help

More information about the webkit-help mailing list