viewport-fit=cover

For technical support and bug reports for all editions of CSS HTML Validator, including htmlval for Linux and Mac.
Frontier
Rank I - Novice
Posts: 15
Joined: Fri May 19, 2006 2:18 am
Location: Denmark

viewport-fit=cover

Post by Frontier »

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
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: viewport-fit=cover

Post by Albert Wiersch »

Hello,

Yes, thank you. viewport-fit will be added in the next update.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial