Unprefix -webkit-font-feature-settings
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Oct 2015 17:27:16 +0000 (17:27 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Oct 2015 17:27:16 +0000 (17:27 +0000)
https://bugs.webkit.org/show_bug.cgi?id=149722

Reviewed by Sam Weinig.

Source/WebCore:

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::propertyValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseFontFeatureSettings):
* css/CSSPropertyNames.in:
* css/CSSValueKeywords.in:
* css/StyleBuilderCustom.h:
(WebCore::StyleBuilderCustom::applyInitialFontFeatureSettings):
(WebCore::StyleBuilderCustom::applyInheritFontFeatureSettings):
(WebCore::StyleBuilderCustom::applyInitialWebkitFontFeatureSettings): Deleted.
(WebCore::StyleBuilderCustom::applyInheritWebkitFontFeatureSettings): Deleted.

Source/WebInspectorUI:

* UserInterface/Models/CSSKeywordCompletions.js:

LayoutTests:

* css3/font-feature-settings-parsing.html:
* css3/font-feature-settings-preinstalled-fonts.html:
* css3/font-feature-settings-rendering-2.html:
* css3/font-feature-settings-rendering.html:
* fast/css/inherited-properties-rare-text-expected.txt:
* fast/css/inherited-properties-rare-text.html:
* fast/text/shaping/shaping-script-order.html:
* fast/text/shaping/shaping-selection-rect.html:
* fonts/unicode-character-font-crash.html:
* scrollbars/scrollbar-scrollbarparts-repaint-crash.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190564 268f45cc-cd09-0410-ab3c-d52691b4dbfc

19 files changed:
LayoutTests/ChangeLog
LayoutTests/css3/font-feature-settings-parsing.html
LayoutTests/css3/font-feature-settings-preinstalled-fonts.html
LayoutTests/css3/font-feature-settings-rendering-2.html
LayoutTests/css3/font-feature-settings-rendering.html
LayoutTests/fast/css/inherited-properties-rare-text-expected.txt
LayoutTests/fast/css/inherited-properties-rare-text.html
LayoutTests/fast/text/shaping/shaping-script-order.html
LayoutTests/fast/text/shaping/shaping-selection-rect.html
LayoutTests/fonts/unicode-character-font-crash.html
LayoutTests/scrollbars/scrollbar-scrollbarparts-repaint-crash.html
Source/WebCore/ChangeLog
Source/WebCore/css/CSSComputedStyleDeclaration.cpp
Source/WebCore/css/CSSParser.cpp
Source/WebCore/css/CSSPropertyNames.in
Source/WebCore/css/CSSValueKeywords.in
Source/WebCore/css/StyleBuilderCustom.h
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js

index 3524a8e..ad73e26 100644 (file)
@@ -1,3 +1,21 @@
+2015-10-05  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Unprefix -webkit-font-feature-settings
+        https://bugs.webkit.org/show_bug.cgi?id=149722
+
+        Reviewed by Sam Weinig.
+
+        * css3/font-feature-settings-parsing.html:
+        * css3/font-feature-settings-preinstalled-fonts.html:
+        * css3/font-feature-settings-rendering-2.html:
+        * css3/font-feature-settings-rendering.html:
+        * fast/css/inherited-properties-rare-text-expected.txt:
+        * fast/css/inherited-properties-rare-text.html:
+        * fast/text/shaping/shaping-script-order.html:
+        * fast/text/shaping/shaping-selection-rect.html:
+        * fonts/unicode-character-font-crash.html:
+        * scrollbars/scrollbar-scrollbarparts-repaint-crash.html:
+
 2015-10-04  Alexey Proskuryakov  <ap@apple.com>
 
         Mark tests as flaky for 
 2015-10-04  Alexey Proskuryakov  <ap@apple.com>
 
         Mark tests as flaky for 
index b65c57f..d157ec7 100644 (file)
 <head>
 <style>
 #valid_normal {
 <head>
 <style>
 #valid_normal {
-    -webkit-font-feature-settings: normal;
+    font-feature-settings: normal;
 }
 
 #valid_value_1 {
 }
 
 #valid_value_1 {
-    -webkit-font-feature-settings: "dlig" 1;
+    font-feature-settings: "dlig" 1;
 }
 
 #valid_value_2 {
 }
 
 #valid_value_2 {
-    -webkit-font-feature-settings: "swsh" 2;
+    font-feature-settings: "swsh" 2;
 }
 
 #valid_value_on {
 }
 
 #valid_value_on {
-    -webkit-font-feature-settings: "smcp" on;
+    font-feature-settings: "smcp" on;
 }
 
 #valid_value_off {
 }
 
 #valid_value_off {
-    -webkit-font-feature-settings: "liga" off;
+    font-feature-settings: "liga" off;
 }
 
 #valid_value_omit {
 }
 
 #valid_value_omit {
-    -webkit-font-feature-settings: "c2sc";
+    font-feature-settings: "c2sc";
 }
 
 #valid_valuelist {
 }
 
 #valid_valuelist {
-    -webkit-font-feature-settings: "tnum", 'hist';
+    font-feature-settings: "tnum", 'hist';
 }
 
 #valid_singlequote {
 }
 
 #valid_singlequote {
-    -webkit-font-feature-settings: 'PKRN';
+    font-feature-settings: 'PKRN';
 }
 
 #valid_unusual_tag {
 }
 
 #valid_unusual_tag {
-    -webkit-font-feature-settings: "!@#$";
+    font-feature-settings: "!@#$";
 }
 
 #valid_tag_space {
 }
 
 #valid_tag_space {
-    -webkit-font-feature-settings: "a bc";
+    font-feature-settings: "a bc";
 }
 
 #valid_composite {
 }
 
 #valid_composite {
-    -webkit-font-feature-settings: "dlig" 1, 'smcp' on, 'lig ' off;
+    font-feature-settings: "dlig" 1, 'smcp' on, 'lig ' off;
 }
 
 #invalid_ident {
 }
 
 #invalid_ident {
-    -webkit-font-feature-settings: dlig;
+    font-feature-settings: dlig;
 }
 
 #invalid_cases {
 }
 
 #invalid_cases {
-    -webkit-font-feature-settings: dlig, DLIG, DLig;
+    font-feature-settings: dlig, DLIG, DLig;
 }
 
 #invalid_1 {
 }
 
 #invalid_1 {
-    -webkit-font-feature-settings: 1;
+    font-feature-settings: 1;
 }
 
 #invalid_off {
 }
 
 #invalid_off {
-    -webkit-font-feature-settings: off;
+    font-feature-settings: off;
 }
 
 #invalid_normal_duplicate {
 }
 
 #invalid_normal_duplicate {
-    -webkit-font-feature-settings: normal, normal;
+    font-feature-settings: normal, normal;
 }
 
 #invalid_normal_list {
 }
 
 #invalid_normal_list {
-    -webkit-font-feature-settings: normal, aaaa;
+    font-feature-settings: normal, aaaa;
 }
 
 #invalid_longer_ident {
 }
 
 #invalid_longer_ident {
-    -webkit-font-feature-settings: aaaaa;
+    font-feature-settings: aaaaa;
 }
 
 #invalid_longer_quote {
 }
 
 #invalid_longer_quote {
-    -webkit-font-feature-settings: "aaaaa";
+    font-feature-settings: "aaaaa";
 }
 
 #invalid_negative {
 }
 
 #invalid_negative {
-    -webkit-font-feature-settings: aaaa -1;
+    font-feature-settings: aaaa -1;
 }
 
 #invalid_float {
 }
 
 #invalid_float {
-    -webkit-font-feature-settings: aaaa 1.5;
+    font-feature-settings: aaaa 1.5;
 }
 
 #invalid_missing_comma {
 }
 
 #invalid_missing_comma {
-    -webkit-font-feature-settings: aaaa "bbbb";
+    font-feature-settings: aaaa "bbbb";
 }
 
 #invalid_missing_comma_ident {
 }
 
 #invalid_missing_comma_ident {
-    -webkit-font-feature-settings: aaaa bbbb;
+    font-feature-settings: aaaa bbbb;
 }
 
 #invalid_comma {
 }
 
 #invalid_comma {
-    -webkit-font-feature-settings: ,;
+    font-feature-settings: ,;
 }
 
 #invalid_ending_comma {
 }
 
 #invalid_ending_comma {
-    -webkit-font-feature-settings: aaaa,;
+    font-feature-settings: aaaa,;
 }
 
 #invalid_beginning_comma {
 }
 
 #invalid_beginning_comma {
-    -webkit-font-feature-settings: ,aaaa;
+    font-feature-settings: ,aaaa;
 }
 
 #invalid_on {
 }
 
 #invalid_on {
-    -webkit-font-feature-settings: aaaa, on;
+    font-feature-settings: aaaa, on;
 }
 
 #invalid_0 {
 }
 
 #invalid_0 {
-    -webkit-font-feature-settings: "aaaa" 1, "bbbb", 0;
+    font-feature-settings: "aaaa" 1, "bbbb", 0;
 }
 
 #invalid_composite {
 }
 
 #invalid_composite {
-    -webkit-font-feature-settings: aaaaa on, dlig on, PKRN -1;
+    font-feature-settings: aaaaa on, dlig on, PKRN -1;
 }
 </style>
 <style>
 @font-face {
 }
 </style>
 <style>
 @font-face {
-    -webkit-font-feature-settings: 'liga';
+    font-feature-settings: 'liga';
 }
 
 @font-face {
 }
 
 @font-face {
-    -webkit-font-feature-settings: aaaaa;
+    font-feature-settings: aaaaa;
 }
 </style>
 <script src="../resources/js-test-pre.js"></script>
 }
 </style>
 <script src="../resources/js-test-pre.js"></script>
 <div id="invalid_on"></div>
 <div id="invalid_0"></div>
 
 <div id="invalid_on"></div>
 <div id="invalid_0"></div>
 
-<div id="outer" style="-webkit-font-feature-settings: 'dlig';">
+<div id="outer" style="font-feature-settings: 'dlig';">
   <div id="inner"></div>
 </div>
 
   <div id="inner"></div>
 </div>
 
@@ -179,7 +179,7 @@ function canonicalize(fontFeatureSettingsString) {
 
 function parseResultOf(id) {
     var element = document.getElementById(id);
 
 function parseResultOf(id) {
     var element = document.getElementById(id);
-    return window.getComputedStyle(element)['-webkit-font-feature-settings'];
+    return window.getComputedStyle(element)['font-feature-settings'];
 }
 
 debug('- Tests valid inputs.');
 }
 
 debug('- Tests valid inputs.');
@@ -219,8 +219,8 @@ shouldBeEqualToString('canonicalize(parseResultOf("outer"))', canonicalize("'dli
 shouldBeEqualToString('canonicalize(parseResultOf("inner"))', canonicalize("'dlig' 1"));
 
 debug('- Tests @font-face.');
 shouldBeEqualToString('canonicalize(parseResultOf("inner"))', canonicalize("'dlig' 1"));
 
 debug('- Tests @font-face.');
-var fontFaceRuleValid = document.styleSheets[1].cssRules[0].style['-webkit-font-feature-settings'];
-var fontFaceRuleInvalid = document.styleSheets[1].cssRules[1].style['-webkit-font-feature-settings'];
+var fontFaceRuleValid = document.styleSheets[1].cssRules[0].style['font-feature-settings'];
+var fontFaceRuleInvalid = document.styleSheets[1].cssRules[1].style['font-feature-settings'];
 shouldBeEqualToString('canonicalize(fontFaceRuleValid)', canonicalize("'liga' 1"));
 shouldBeEqualToString('fontFaceRuleInvalid', "");
 
 shouldBeEqualToString('canonicalize(fontFaceRuleValid)', canonicalize("'liga' 1"));
 shouldBeEqualToString('fontFaceRuleInvalid', "");
 
index bca88c7..ff8dcd2 100644 (file)
@@ -14,7 +14,7 @@ fonts.map(function(font) {
         var element = document.createElement("div");
         element.textContent = "Lucky affluent actor asks to feast on giant 10.34\" cheese-filled quiche in fjord.";
         element.style.fontFamily = font;
         var element = document.createElement("div");
         element.textContent = "Lucky affluent actor asks to feast on giant 10.34\" cheese-filled quiche in fjord.";
         element.style.fontFamily = font;
-        element.style.webkitFontFeatureSettings = feature;
+        element.style.fontFeatureSettings = feature;
         document.body.appendChild(element);
     });
 });
         document.body.appendChild(element);
     });
 });
index 34d0a2c..9eff14c 100644 (file)
@@ -20,7 +20,7 @@ function addElement(feature, c) {
         var element = document.createElement("span");
         element.textContent = c;
         element.style.fontFamily = "FontFeaturesTest";
         var element = document.createElement("span");
         element.textContent = c;
         element.style.fontFamily = "FontFeaturesTest";
-        element.style.webkitFontFeatureSettings = '"' + feature + '" ' + state;
+        element.style.fontFeatureSettings = '"' + feature + '" ' + state;
         insertionpoint.appendChild(element);
     });
     insertionpoint.appendChild(document.createTextNode(" "));
         insertionpoint.appendChild(element);
     });
     insertionpoint.appendChild(document.createTextNode(" "));
index 2c6c275..5b3b125 100644 (file)
 }
 .dligOn {
     font-family: 'test';
 }
 .dligOn {
     font-family: 'test';
-    -webkit-font-feature-settings: 'dlig';
+    font-feature-settings: 'dlig';
 }
 .dligOff {
     font-family: 'test';
 }
 .dligOff {
     font-family: 'test';
-    -webkit-font-feature-settings: 'dlig' 0;
+    font-feature-settings: 'dlig' 0;
 }
 .dligNone {
     font-family: 'test';
 }
 .dligNone {
     font-family: 'test';
index f0f04ca..c9b7837 100644 (file)
@@ -1,5 +1,5 @@
-test1 -webkit-font-feature-settings: 'dlig' 1
-test2 -webkit-font-feature-settings: normal
+test1 font-feature-settings: 'dlig' 1
+test2 font-feature-settings: normal
 test1 -webkit-font-smoothing: antialiased
 test2 -webkit-font-smoothing: auto
 test1 -webkit-text-orientation: upright
 test1 -webkit-font-smoothing: antialiased
 test2 -webkit-font-smoothing: auto
 test1 -webkit-text-orientation: upright
index aa6c9c0..75324ce 100644 (file)
@@ -3,7 +3,7 @@ if (window.testRunner)
     testRunner.dumpAsText();
 </script>
 <style>
     testRunner.dumpAsText();
 </script>
 <style>
-.a { -webkit-font-feature-settings: 'dlig'; -webkit-font-smoothing: antialiased; -webkit-text-orientation: upright; }
+.a { font-feature-settings: 'dlig'; -webkit-font-smoothing: antialiased; -webkit-text-orientation: upright; }
 </style>
 <div class=a>
     <div id=test1></div>
 </style>
 <div class=a>
     <div id=test1></div>
@@ -16,10 +16,10 @@ function test(e, p) {
     document.write(e + " " + p + ": " + cssValue.cssText + "<br>");
 }
     
     document.write(e + " " + p + ": " + cssValue.cssText + "<br>");
 }
     
-test('test1', '-webkit-font-feature-settings');
-test('test2', '-webkit-font-feature-settings');
+test('test1', 'font-feature-settings');
+test('test2', 'font-feature-settings');
 test('test1', '-webkit-font-smoothing');
 test('test2', '-webkit-font-smoothing');
 test('test1', '-webkit-text-orientation');
 test('test2', '-webkit-text-orientation');
 test('test1', '-webkit-font-smoothing');
 test('test2', '-webkit-font-smoothing');
 test('test1', '-webkit-text-orientation');
 test('test2', '-webkit-text-orientation');
-</script>
\ No newline at end of file
+</script>
index bef0f07..6969b86 100644 (file)
@@ -11,6 +11,6 @@
 <body>
 The following two lines should be the same:
 <p class="lro">abc&#x05d2;&#x05d1;&#x05d0;&#x0661;&#x0662;&#x0663;</p>
 <body>
 The following two lines should be the same:
 <p class="lro">abc&#x05d2;&#x05d1;&#x05d0;&#x0661;&#x0662;&#x0663;</p>
-<p class="lro" style="-webkit-font-feature-settings: 'kern';">abc&#x05d2;&#x05d1;&#x05d0;&#x0661;&#x0662;&#x0663;</p>
+<p class="lro" style="font-feature-settings: 'kern';">abc&#x05d2;&#x05d1;&#x05d0;&#x0661;&#x0662;&#x0663;</p>
 </body>
 </html>
 </body>
 </html>
index 60128ce..daa5a8f 100644 (file)
@@ -9,10 +9,10 @@
         unicode-bidi: bidi-override;
     }
     #kerning {
         unicode-bidi: bidi-override;
     }
     #kerning {
-        -webkit-font-feature-settings: 'kern';
+        font-feature-settings: 'kern';
     }
     #smallcaps {
     }
     #smallcaps {
-        -webkit-font-feature-settings: 'smcp';
+        font-feature-settings: 'smcp';
     }
 </style>
 <script>
     }
 </style>
 <script>
index 413d9e2..5867038 100644 (file)
@@ -2,7 +2,7 @@
 
 <head>
 <style>
 
 <head>
 <style>
-.texhtml{-webkit-font-feature-settings:"lnum","tnum"}
+.texhtml{font-feature-settings:"lnum","tnum"}
 </style>
 </head>
 
 </style>
 </head>
 
index ac8bac6..357d0e1 100644 (file)
@@ -3,7 +3,7 @@
 <head>
 <style>
 body::-webkit-scrollbar {
 <head>
 <style>
 body::-webkit-scrollbar {
-    -webkit-font-feature-settings: "a bc";
+    font-feature-settings: "a bc";
 }
 </style>
 <script>
 }
 </style>
 <script>
index f3bf038..c265f22 100644 (file)
@@ -1,3 +1,23 @@
+2015-10-05  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Unprefix -webkit-font-feature-settings
+        https://bugs.webkit.org/show_bug.cgi?id=149722
+
+        Reviewed by Sam Weinig.
+
+        * css/CSSComputedStyleDeclaration.cpp:
+        (WebCore::ComputedStyleExtractor::propertyValue):
+        * css/CSSParser.cpp:
+        (WebCore::CSSParser::parseValue):
+        (WebCore::CSSParser::parseFontFeatureSettings):
+        * css/CSSPropertyNames.in:
+        * css/CSSValueKeywords.in:
+        * css/StyleBuilderCustom.h:
+        (WebCore::StyleBuilderCustom::applyInitialFontFeatureSettings):
+        (WebCore::StyleBuilderCustom::applyInheritFontFeatureSettings):
+        (WebCore::StyleBuilderCustom::applyInitialWebkitFontFeatureSettings): Deleted.
+        (WebCore::StyleBuilderCustom::applyInheritWebkitFontFeatureSettings): Deleted.
+
 2015-10-05  Zan Dobersek  <zdobersek@igalia.com>
 
         [GStreamer] Replace uses of std::bind() with lambdas
 2015-10-05  Zan Dobersek  <zdobersek@igalia.com>
 
         [GStreamer] Replace uses of std::bind() with lambdas
index a07ac13..e4d1e27 100644 (file)
@@ -2530,7 +2530,7 @@ RefPtr<CSSValue> ComputedStyleExtractor::propertyValue(CSSPropertyID propertyID,
             return fontWeightFromStyle(style.get());
         case CSSPropertyFontSynthesis:
             return fontSynthesisFromStyle(*style);
             return fontWeightFromStyle(style.get());
         case CSSPropertyFontSynthesis:
             return fontSynthesisFromStyle(*style);
-        case CSSPropertyWebkitFontFeatureSettings: {
+        case CSSPropertyFontFeatureSettings: {
             const FontFeatureSettings& featureSettings = style->fontDescription().featureSettings();
             if (!featureSettings.size())
                 return cssValuePool.createIdentifierValue(CSSValueNormal);
             const FontFeatureSettings& featureSettings = style->fontDescription().featureSettings();
             if (!featureSettings.size())
                 return cssValuePool.createIdentifierValue(CSSValueNormal);
index 2b2a81a..7ece1c7 100644 (file)
@@ -3055,7 +3055,7 @@ bool CSSParser::parseValue(CSSPropertyID propId, bool important)
         else
             return parseLineBoxContain(important);
         break;
         else
             return parseLineBoxContain(important);
         break;
-    case CSSPropertyWebkitFontFeatureSettings:
+    case CSSPropertyFontFeatureSettings:
         if (id == CSSValueNormal)
             validPrimitive = true;
         else
         if (id == CSSValueNormal)
             validPrimitive = true;
         else
@@ -10486,7 +10486,7 @@ bool CSSParser::parseFontFeatureSettings(bool important)
     if (m_valueList->size() == 1 && m_valueList->current()->id == CSSValueNormal) {
         RefPtr<CSSPrimitiveValue> normalValue = CSSValuePool::singleton().createIdentifierValue(CSSValueNormal);
         m_valueList->next();
     if (m_valueList->size() == 1 && m_valueList->current()->id == CSSValueNormal) {
         RefPtr<CSSPrimitiveValue> normalValue = CSSValuePool::singleton().createIdentifierValue(CSSValueNormal);
         m_valueList->next();
-        addProperty(CSSPropertyWebkitFontFeatureSettings, normalValue.release(), important);
+        addProperty(CSSPropertyFontFeatureSettings, normalValue.release(), important);
         return true;
     }
 
         return true;
     }
 
@@ -10501,7 +10501,7 @@ bool CSSParser::parseFontFeatureSettings(bool important)
             return false;
     }
     if (settings->length()) {
             return false;
     }
     if (settings->length()) {
-        addProperty(CSSPropertyWebkitFontFeatureSettings, settings.release(), important);
+        addProperty(CSSPropertyFontFeatureSettings, settings.release(), important);
         return true;
     }
     return false;
         return true;
     }
     return false;
index e861043..fbf0ad9 100644 (file)
@@ -105,7 +105,7 @@ font-style [Inherited, FontProperty, NameForMethods=Italic]
 font-variant [Inherited, FontProperty, NameForMethods=SmallCaps]
 font-weight [Inherited, Custom=All]
 text-rendering [Inherited, FontProperty, NameForMethods=TextRenderingMode]
 font-variant [Inherited, FontProperty, NameForMethods=SmallCaps]
 font-weight [Inherited, Custom=All]
 text-rendering [Inherited, FontProperty, NameForMethods=TextRenderingMode]
--webkit-font-feature-settings [Inherited, FontProperty, Custom=Initial|Inherit, Converter=FontFeatureSettings, NameForMethods=FeatureSettings]
+font-feature-settings [Inherited, FontProperty, Custom=Initial|Inherit, Converter=FontFeatureSettings, NameForMethods=FeatureSettings]
 -webkit-font-kerning [Inherited, FontProperty, NameForMethods=Kerning]
 -webkit-font-smoothing [Inherited, FontProperty]
 font-variant-ligatures [Inherited, FontProperty, NameForMethods=VariantLigatures, Custom=All]
 -webkit-font-kerning [Inherited, FontProperty, NameForMethods=Kerning]
 -webkit-font-smoothing [Inherited, FontProperty]
 font-variant-ligatures [Inherited, FontProperty, NameForMethods=VariantLigatures, Custom=All]
index 2690753..00d26cb 100644 (file)
@@ -1040,7 +1040,7 @@ inline-box
 initial-letter
 replaced
 
 initial-letter
 replaced
 
-// -webkit-font-feature-settings
+// font-feature-settings
 on
 off
 
 on
 off
 
index 241b33c..96b2d2b 100644 (file)
@@ -108,8 +108,8 @@ public:
     // Custom handling of initial + inherit value setting only.
     static void applyInitialWebkitMaskImage(StyleResolver&) { }
     static void applyInheritWebkitMaskImage(StyleResolver&) { }
     // Custom handling of initial + inherit value setting only.
     static void applyInitialWebkitMaskImage(StyleResolver&) { }
     static void applyInheritWebkitMaskImage(StyleResolver&) { }
-    static void applyInitialWebkitFontFeatureSettings(StyleResolver&) { }
-    static void applyInheritWebkitFontFeatureSettings(StyleResolver&) { }
+    static void applyInitialFontFeatureSettings(StyleResolver&) { }
+    static void applyInheritFontFeatureSettings(StyleResolver&) { }
 
     // Custom handling of inherit + value setting only.
     static void applyInheritDisplay(StyleResolver&);
 
     // Custom handling of inherit + value setting only.
     static void applyInheritDisplay(StyleResolver&);
index 551e4ea..ae851ae 100644 (file)
@@ -1,3 +1,12 @@
+2015-10-05  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Unprefix -webkit-font-feature-settings
+        https://bugs.webkit.org/show_bug.cgi?id=149722
+
+        Reviewed by Sam Weinig.
+
+        * UserInterface/Models/CSSKeywordCompletions.js:
+
 2015-10-04  Nikita Vasilyev  <nvasilyev@apple.com>
 
         Web Inspector: Wrong column numbers in error object views
 2015-10-04  Nikita Vasilyev  <nvasilyev@apple.com>
 
         Web Inspector: Wrong column numbers in error object views
index aa7b180..640ce87 100644 (file)
@@ -101,7 +101,7 @@ WebInspector.CSSKeywordCompletions.InheritedProperties = [
     "stroke-width", "tab-size", "text-align", "text-anchor", "text-decoration", "text-indent", "text-rendering",
     "text-shadow", "text-transform", "visibility", "voice-family", "volume", "white-space", "widows", "word-break",
     "word-spacing", "word-wrap", "writing-mode", "-webkit-aspect-ratio", "-webkit-border-horizontal-spacing",
     "stroke-width", "tab-size", "text-align", "text-anchor", "text-decoration", "text-indent", "text-rendering",
     "text-shadow", "text-transform", "visibility", "voice-family", "volume", "white-space", "widows", "word-break",
     "word-spacing", "word-wrap", "writing-mode", "-webkit-aspect-ratio", "-webkit-border-horizontal-spacing",
-    "-webkit-border-vertical-spacing", "-webkit-box-direction", "-webkit-color-correction", "-webkit-font-feature-settings",
+    "-webkit-border-vertical-spacing", "-webkit-box-direction", "-webkit-color-correction", "font-feature-settings",
     "-webkit-font-kerning", "-webkit-font-smoothing", "-webkit-font-variant-ligatures",
     "-webkit-hyphenate-character", "-webkit-hyphenate-limit-after", "-webkit-hyphenate-limit-before",
     "-webkit-hyphenate-limit-lines", "-webkit-hyphens", "-webkit-line-align", "-webkit-line-box-contain",
     "-webkit-font-kerning", "-webkit-font-smoothing", "-webkit-font-variant-ligatures",
     "-webkit-hyphenate-character", "-webkit-hyphenate-limit-after", "-webkit-hyphenate-limit-before",
     "-webkit-hyphenate-limit-lines", "-webkit-hyphens", "-webkit-line-align", "-webkit-line-box-contain",
@@ -958,7 +958,7 @@ WebInspector.CSSKeywordCompletions._propertyKeywordMap = {
     "-webkit-line-box-contain": [
         "block", "inline", "font", "glyphs", "replaced", "inline-box", "none", "initial"
     ],
     "-webkit-line-box-contain": [
         "block", "inline", "font", "glyphs", "replaced", "inline-box", "none", "initial"
     ],
-    "-webkit-font-feature-settings": [
+    "font-feature-settings": [
         "normal"
     ],
     "-webkit-font-variant-ligatures": [
         "normal"
     ],
     "-webkit-font-variant-ligatures": [