viewport-fit=cover

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
Frontier
Rank I - Novice
Rank I - Novice
Posts: 12
Joined: Fri May 19, 2006 2:18 am
Location: Denmark
Contact:

viewport-fit=cover

Post by Frontier » Wed May 22, 2019 5:19 am

Hi there :)


When wanting to address the notches on phones, one has to include the viewport-fit=cover in the META tag "viewport", like shown here:

Code: Select all

<META NAME="viewport" CONTENT="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=3, viewport-fit=cover">
More info here: https://webkit.org/blog/7929/designing- ... -iphone-x/

But...it makes HTML validator throw an error. Should it be added to HTML validator?

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3417
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: viewport-fit=cover

Post by Albert Wiersch » Wed May 22, 2019 10:21 am

Hello,

Yes, thank you. viewport-fit will be added in the next update.
Image
Albert Wiersch

Post Reply