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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 8 19:27:38 PST 2016


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

--- Comment #35 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
(In reply to comment #34)
> Comment on attachment 273273 [details]
> 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.

-- 
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/fe63ed06/attachment.html>


More information about the webkit-unassigned mailing list