Remove constant() in favor of env()
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Sep 2017 20:03:07 +0000 (20:03 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Sep 2017 20:03:07 +0000 (20:03 +0000)
commit4fc743f55c21107ea12651b4dc60f98f0294c917
treec7437fec70c95e77781202e02c22e073d07cb514
parent113d01ec86d70156e1b9e228c4db43c1b24eecac
Remove constant() in favor of env()
https://bugs.webkit.org/show_bug.cgi?id=177581
<rdar://problem/34701321>

Reviewed by Dean Jackson.

Source/WebCore:

No new tests, removing a feature.

* css/CSSValueKeywords.in:
* css/CSSVariableData.cpp:
(WebCore::CSSVariableData::checkVariablesForCyclesWithRange const):
(WebCore::CSSVariableData::resolveTokenRange const):
* css/parser/CSSVariableParser.cpp:
(WebCore::classifyBlock):

Source/WebInspectorUI:

* UserInterface/Models/CSSCompletions.js:
* UserInterface/Models/CSSKeywordCompletions.js:
(WI.CSSKeywordCompletions.forProperty):
(WI.CSSKeywordCompletions.forFunction):

LayoutTests:

* fast/css/variables/constants/invalid-constant-name-fallback-expected.html: Removed.
* fast/css/variables/constants/invalid-constant-name-fallback.html: Removed.
* fast/css/variables/constants/ios/safe-area-inset-set-expected.html: Removed.
* fast/css/variables/constants/ios/safe-area-inset-set.html: Removed.
* fast/css/variables/constants/safe-area-inset-cannot-override-expected.html: Removed.
* fast/css/variables/constants/safe-area-inset-cannot-override.html: Removed.
* fast/css/variables/constants/safe-area-inset-zero-expected.html: Removed.
* fast/css/variables/constants/safe-area-inset-zero.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18 files changed:
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/fast/css/variables/constants/invalid-constant-name-fallback-expected.html [deleted file]
LayoutTests/fast/css/variables/constants/invalid-constant-name-fallback.html [deleted file]
LayoutTests/fast/css/variables/constants/ios/safe-area-inset-set-expected.html [deleted file]
LayoutTests/fast/css/variables/constants/ios/safe-area-inset-set.html [deleted file]
LayoutTests/fast/css/variables/constants/safe-area-inset-cannot-override-expected.html [deleted file]
LayoutTests/fast/css/variables/constants/safe-area-inset-cannot-override.html [deleted file]
LayoutTests/fast/css/variables/constants/safe-area-inset-zero-expected.html [deleted file]
LayoutTests/fast/css/variables/constants/safe-area-inset-zero.html [deleted file]
LayoutTests/platform/ios/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/css/CSSValueKeywords.in
Source/WebCore/css/CSSVariableData.cpp
Source/WebCore/css/parser/CSSVariableParser.cpp
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Models/CSSCompletions.js
Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js