[wp-trac] [WordPress Trac] #61988: Error page viewport missing initial-scale=1

WordPress Trac noreply at wordpress.org
Mon Sep 16 22:17:09 UTC 2024


#61988: Error page viewport missing initial-scale=1
--------------------------+---------------------
 Reporter:  kkmuffme      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.7
Component:  General       |     Version:
 Severity:  trivial       |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"59026" 59026]:
 {{{
 #!CommitTicketReference repository="" revision="59026"
 Bundled Themes: Add missing `initial-scale` value in viewport meta tag.

 The viewport meta should include `initial-scale=1.0` to ensure that high
 DPI/mobile display works as expected.

 Includes standardizing on `1.0` vs. `1` for consistency.

 References:
 * [https://css-tricks.com/probably-use-initial-scale1/ CSS-Tricks:
 Probably Use initial-scale=1]
 * [https://www.sitepoint.com/community/t/is-it-necessary-to-include-
 initial-scale-1-0-in-the-meta-viewport-tag/455119 SitePoint Forums: Is it
 necessary to include initial-scale=1.0 in the meta viewport tag?]

 Props dhruvang21, sabernhardt, kkmuffme, mukesh27, swissspidy,
 SergeyBiryukov.
 See #61988.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61988#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list