Remove runtime flag for variation fonts
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jan 2017 04:35:48 +0000 (04:35 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jan 2017 04:35:48 +0000 (04:35 +0000)
commit3a15d9545d04f2646e601a9fdfbacd04070a40ce
tree651893a1a5e47259017aa18233a3d2aec35ec4e9
parent3ddda0cb2bed5f360578ab44f8bcddffe363730a
Remove runtime flag for variation fonts
https://bugs.webkit.org/show_bug.cgi?id=164251

Reviewed by Dean Jackson.

Source/WebCore:

No new tests because there is no behavior change, but updated the following
tests to stop setting the flag:
- animations/font-variations/font-variation-settings-order.html:
- animations/font-variations/font-variation-settings-unlike.html:
- animations/font-variations/font-variation-settings.html:
- fast/text/variations/duplicate.html:
- fast/text/variations/exist.html:
- fast/text/variations/getComputedStyle.html:
- fast/text/variations/inheritance.html:
- fast/text/variations/order.html:
- fast/text/variations/outofbounds.html:

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::propertyValue):
* css/parser/CSSParser.cpp:
(WebCore::CSSParserContext::CSSParserContext):
(WebCore::operator==):
* css/parser/CSSParserMode.h:
(WebCore::CSSParserContext::completeURL):
(WebCore::CSSParserContextHash::hash):
* css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::parseSingleValue):
* page/Settings.in:
* testing/InternalSettings.cpp:
(WebCore::InternalSettings::Backup::Backup):
(WebCore::InternalSettings::Backup::restoreTo):
(WebCore::InternalSettings::variationFontsEnabled): Deleted.
(WebCore::InternalSettings::setVariationFontsEnabled): Deleted.
* testing/InternalSettings.h:
* testing/InternalSettings.idl:

Source/WebKit2:

* Shared/WebPreferencesDefinitions.h:
* UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::registerUserDefaultsIfNeeded):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):

LayoutTests:

* animations/font-variations/font-variation-settings-expected.html:
* animations/font-variations/font-variation-settings-order-expected.html:
* animations/font-variations/font-variation-settings-order.html:
* animations/font-variations/font-variation-settings-unlike-expected.html:
* animations/font-variations/font-variation-settings-unlike.html:
* animations/font-variations/font-variation-settings.html:
* fast/text/variations/duplicate-expected.html:
* fast/text/variations/duplicate.html:
* fast/text/variations/exist-expected-mismatch.html:
* fast/text/variations/exist.html:
* fast/text/variations/getComputedStyle.html:
* fast/text/variations/inheritance-expected.html:
* fast/text/variations/inheritance.html:
* fast/text/variations/order-expected.html:
* fast/text/variations/order.html:
* fast/text/variations/outofbounds-expected.html:
* fast/text/variations/outofbounds.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210315 268f45cc-cd09-0410-ab3c-d52691b4dbfc
30 files changed:
LayoutTests/ChangeLog
LayoutTests/animations/font-variations/font-variation-settings-expected.html
LayoutTests/animations/font-variations/font-variation-settings-order-expected.html
LayoutTests/animations/font-variations/font-variation-settings-order.html
LayoutTests/animations/font-variations/font-variation-settings-unlike-expected.html
LayoutTests/animations/font-variations/font-variation-settings-unlike.html
LayoutTests/animations/font-variations/font-variation-settings.html
LayoutTests/fast/text/variations/duplicate-expected.html
LayoutTests/fast/text/variations/duplicate.html
LayoutTests/fast/text/variations/exist-expected-mismatch.html
LayoutTests/fast/text/variations/exist.html
LayoutTests/fast/text/variations/getComputedStyle.html
LayoutTests/fast/text/variations/inheritance-expected.html
LayoutTests/fast/text/variations/inheritance.html
LayoutTests/fast/text/variations/order-expected.html
LayoutTests/fast/text/variations/order.html
LayoutTests/fast/text/variations/outofbounds.html
Source/WebCore/ChangeLog
Source/WebCore/css/CSSComputedStyleDeclaration.cpp
Source/WebCore/css/parser/CSSParser.cpp
Source/WebCore/css/parser/CSSParserMode.h
Source/WebCore/css/parser/CSSPropertyParser.cpp
Source/WebCore/page/Settings.in
Source/WebCore/testing/InternalSettings.cpp
Source/WebCore/testing/InternalSettings.h
Source/WebCore/testing/InternalSettings.idl
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/WebPreferencesDefinitions.h
Source/WebKit2/UIProcess/Cocoa/WebProcessPoolCocoa.mm
Source/WebKit2/WebProcess/WebPage/WebPage.cpp