[Webkit-unassigned] [Bug 155056] AX: Force allow user zoom

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 8 19:40:47 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=155056

--- Comment #36 from Nan Wang <n_wang at apple.com> ---
Comment on attachment 273273
  --> https://bugs.webkit.org/attachment.cgi?id=273273
Support the Internals setting on Mac

View in context: https://bugs.webkit.org/attachment.cgi?id=273273&action=review

>>>> LayoutTests/ChangeLog:9
>>>> +        * accessibility/ios-simulator/force-user-scalable.html: Added.
>>> 
>>> I would prefer that these tests use UIScriptController to test that the view is actually zoomable. See tests under LayoutTests/fast/viewport/ios/
>> 
>> I've taken some look into this. Seems we have to expose a function to set the ViewportConfiguration in WebPage class so that UIScriptController can call that. However the TestController only has access to a WKPageRef. I guess I have to expose another function in WKPage to cast call the WebPage function? Correct me if I'm wrong. This seems to make things even more complicated.
> 
> If forceAlwaysUserScalable were a setting, you could set it via internals in a test.
> 
> Then you'd have to synthesize a pinch-out to simulate zooming.

It's only a setting in ViewportConfiguration. So should I expose ViewportConfiguration in Internals and add that setting?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160309/3d018d2e/attachment.html>


More information about the webkit-unassigned mailing list