| Summary: | Add a mechanism to opt-out of the automatic scaling applied to not-really-responsive sites | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||||
| Component: | New Bugs | Assignee: | Tim Horton <thorton> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | benjamin, commit-queue, dbates, esprehn+autocc, kangil.han, sam, simon.fraser, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar, WebExposed | ||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Tim Horton
2015-05-07 14:26:19 PDT
Created attachment 252628 [details]
Patch
Comment on attachment 252628 [details]
Patch
Going in a different direction with this.
Created attachment 252645 [details]
Patch
Comment on attachment 252645 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=252645&action=review > Source/WebCore/dom/ViewportArguments.cpp:398 > // FIXME: Ignore silently for now. This should eventually fallback to the warning. the verb fall back is two words > Source/WebCore/dom/ViewportArguments.h:91 > + , shrinkToFit(ValueAuto) Should initialize below instead of here in the constructor (now that we can). > Source/WebCore/dom/ViewportArguments.h:109 > + float shrinkToFit; I don’t get why this is a float. > Source/WebCore/page/ViewportConfiguration.cpp:306 > + if (booleanViewportArgumentIsSet(m_viewportArguments.userZoom)) > m_configuration.allowsUserScaling = m_viewportArguments.userZoom != 0.; Strange to use a function for one thing and inline code for the other. Also the use of != 0. here is strangely different from what booleanViewportArgumentIsSet does. |