Update safe area inset demo pages to use env()
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Oct 2017 03:22:18 +0000 (03:22 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Oct 2017 03:22:18 +0000 (03:22 +0000)
commit3176ba8d31f3ea9a760f260cffaad50c0f24f557
tree253385a2f6b28bdd2cadec64e8c97671556fc561
parent62ae41205aaf9fe239abe8fbd521ed352482ad75
Update safe area inset demo pages to use env()
https://bugs.webkit.org/show_bug.cgi?id=179041

Reviewed by Simon Fraser.

* demos/safe-area-insets/1-default.html:
* demos/safe-area-insets/2-viewport-fit.html:
* demos/safe-area-insets/3-safe-area-constants.html:
* demos/safe-area-insets/4-min-max.html:
* demos/safe-area-insets/safe-areas.html:
Update to use env() instead of constant(), but keep constant() around
for backwards-compatibility.

Adjust the colors on the safe areas test page to look a little less holiday-like.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224219 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/webkit.org/ChangeLog
Websites/webkit.org/demos/safe-area-insets/1-default.html
Websites/webkit.org/demos/safe-area-insets/2-viewport-fit.html
Websites/webkit.org/demos/safe-area-insets/3-safe-area-constants.html
Websites/webkit.org/demos/safe-area-insets/4-min-max.html
Websites/webkit.org/demos/safe-area-insets/safe-areas.html