Changeset 169635 in webkit
- Timestamp:
- Jun 5, 2014 7:22:26 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r169632 r169635 1 2014-06-05 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r169570. 4 https://bugs.webkit.org/show_bug.cgi?id=133565 5 6 It breaks Baidu (Requested by benjaminp on #webkit). 7 8 Reverted changeset: 9 10 "[iOS] Start ignoring common bogus viewport parameters" 11 https://bugs.webkit.org/show_bug.cgi?id=133466 12 http://trac.webkit.org/changeset/169570 13 1 14 2014-06-05 Michael Timbrook <timbrook@apple.com> 2 15 -
trunk/Source/WebCore/dom/ViewportArguments.cpp
r169570 r169635 405 405 void finalizeViewportArguments(ViewportArguments& arguments, const FloatSize& screenSize) 406 406 { 407 if (arguments.width == ViewportArguments::ValueDeviceWidth && (arguments.zoom == 1 || arguments.minZoom == 1)) { 408 // A large amount of pages are using the viewport width=device-width + scaling parameters incorrectly. 409 // This has become so pervasive that the vast majority of those pages render better without viewport meta tag than with it. 410 // Clearing the width is a workaround for the most common incorrect viewports. :( 411 arguments.width = ViewportArguments::ValueAuto; 412 } else if (arguments.width == ViewportArguments::ValueDeviceWidth) 407 if (arguments.width == ViewportArguments::ValueDeviceWidth) 413 408 arguments.width = screenSize.width(); 414 409 else if (arguments.width == ViewportArguments::ValueDeviceHeight)
Note: See TracChangeset
for help on using the changeset viewer.