Fix some minor typos: psuedo -> pseudo
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 28 Sep 2014 23:18:25 +0000 (23:18 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 28 Sep 2014 23:18:25 +0000 (23:18 +0000)
https://bugs.webkit.org/show_bug.cgi?id=137192

Patch by Sungmann Cho <sungmann.cho@navercorp.com> on 2014-09-28
Reviewed by Alexey Proskuryakov.

PerformanceTests:

* Speedometer/resources/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js:

Source/WebCore:

No new tests, no behavior change.

* css/CSSSelector.cpp:
(WebCore::CSSSelector::specificityForOneSelector):

LayoutTests:

* fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements-expected.txt:
* fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements.html:
* fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-expected.txt:
* fast/dom/Window/getMatchedCSSRules-with-pseudo-elements.html:
* fast/selectors/159.html:
* fast/selectors/160.html:
* fast/selectors/166.html:
* platform/efl/fast/selectors/166-expected.txt:
* platform/gtk/fast/selectors/166-expected.txt:
* platform/ios-sim/fast/selectors/166-expected.txt:
* platform/mac/fast/selectors/166-expected.txt:

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

16 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements-expected.txt
LayoutTests/fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements.html
LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-expected.txt
LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements.html
LayoutTests/fast/selectors/159.html
LayoutTests/fast/selectors/160.html
LayoutTests/fast/selectors/166.html
LayoutTests/platform/efl/fast/selectors/166-expected.txt
LayoutTests/platform/gtk/fast/selectors/166-expected.txt
LayoutTests/platform/ios-sim/fast/selectors/166-expected.txt
LayoutTests/platform/mac/fast/selectors/166-expected.txt
PerformanceTests/ChangeLog
PerformanceTests/Speedometer/resources/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js
Source/WebCore/ChangeLog
Source/WebCore/css/CSSSelector.cpp

index 7fa3bf0..ae0762b 100644 (file)
@@ -1,3 +1,22 @@
+2014-09-28  Sungmann Cho  <sungmann.cho@navercorp.com>
+
+        Fix some minor typos: psuedo -> pseudo
+        https://bugs.webkit.org/show_bug.cgi?id=137192
+
+        Reviewed by Alexey Proskuryakov.
+
+        * fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements-expected.txt:
+        * fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements.html:
+        * fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-expected.txt:
+        * fast/dom/Window/getMatchedCSSRules-with-pseudo-elements.html:
+        * fast/selectors/159.html:
+        * fast/selectors/160.html:
+        * fast/selectors/166.html:
+        * platform/efl/fast/selectors/166-expected.txt:
+        * platform/gtk/fast/selectors/166-expected.txt:
+        * platform/ios-sim/fast/selectors/166-expected.txt:
+        * platform/mac/fast/selectors/166-expected.txt:
+
 2014-09-26  Filip Pizlo  <fpizlo@apple.com>
 
         Disable function.arguments
index 1b7b814..f6dd7a5 100644 (file)
@@ -1,4 +1,4 @@
-getMatchedCSSRules with invalid Psuedo Elements
+getMatchedCSSRules with invalid Pseudo Elements
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
index 9a71b92..fccdb2f 100644 (file)
@@ -7,7 +7,7 @@
 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=83298">https://bugs.webkit.org/show_bug.cgi?id=83298</a></p>
 <div>First letter of this sentence should be red.</div>
 <script>
-description("getMatchedCSSRules with invalid Psuedo Elements");
+description("getMatchedCSSRules with invalid Pseudo Elements");
 
 var expectedResult1 = "p { color: green; }";
 shouldBeEqualToString("getMatchedCSSRules(document.querySelector('p'), '')[0].cssText", expectedResult1)
index 579ab89..cce858b 100644 (file)
@@ -1,4 +1,4 @@
-Test for getMatchedCSSRules for Psuedo Elements
+Test for getMatchedCSSRules for Pseudo Elements
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
index f5db8c5..798c82e 100644 (file)
@@ -15,7 +15,7 @@
 <body>
 <div id="div1"></div>
 <script>
-description("Test for getMatchedCSSRules for Psuedo Elements");
+description("Test for getMatchedCSSRules for Pseudo Elements");
 var element = document.getElementById('div1');
 var pseudoRules = window.getMatchedCSSRules(element, "after");
 var selectorText = "#div1::after";
index c28095b..33ad456 100644 (file)
@@ -8,7 +8,7 @@
 </style>
   <link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
   <link rel="prev" href="css3-modsel-158.html" title="Syntax and parsing">
-  <link rel="next" href="css3-modsel-160.html" title="Syntax and parsing of unknown psuedo-classes">
+  <link rel="next" href="css3-modsel-160.html" title="Syntax and parsing of unknown pseudo-classes">
   <link rel="last" href="css3-modsel-d5e.html" title="NEGATED :indeterminate with :checked">
   <link rel="up" href="./index.html">
   <link rel="top" href="../../index.html">
index 64661b1..f82de36 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
 <html>
  <head>
-  <title>Syntax and parsing of unknown psuedo-classes</title>
+  <title>Syntax and parsing of unknown pseudo-classes</title>
   <style type="text/css">
   p { background: lime; }
   p:subject { background: red; } /* this is not valid CSS, and if UAs
@@ -10,7 +10,7 @@
 </style>
   <link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
   <link rel="prev" href="css3-modsel-159.html" title="Syntax and parsing of new pseudo-elements">
-  <link rel="next" href="css3-modsel-161.html" title="Syntax and parsing of unknown psuedo-classes and pseudo-elements">
+  <link rel="next" href="css3-modsel-161.html" title="Syntax and parsing of unknown pseudo-classes and pseudo-elements">
   <link rel="last" href="css3-modsel-d5e.html" title="NEGATED :indeterminate with :checked">
   <link rel="up" href="./index.html">
   <link rel="top" href="../../index.html">
index 9d0bbae..24f4c8d 100644 (file)
    <li><a href="tests/css3-modsel-157.html">Syntax and parsing</a> (#157)</li>
    <li><a href="tests/css3-modsel-158.html">Syntax and parsing</a> (#158)</li>
    <li><a href="tests/css3-modsel-159.html">Syntax and parsing of new pseudo-elements</a> (#159)</li>
-   <li><a href="tests/css3-modsel-160.html">Syntax and parsing of unknown psuedo-classes</a> (#160)</li>
-   <li><a href="tests/css3-modsel-161.html">Syntax and parsing of unknown psuedo-classes and pseudo-elements</a> (#161)</li>
+   <li><a href="tests/css3-modsel-160.html">Syntax and parsing of unknown pseudo-classes</a> (#160)</li>
+   <li><a href="tests/css3-modsel-161.html">Syntax and parsing of unknown pseudo-classes and pseudo-elements</a> (#161)</li>
    <li><a href="tests/css3-modsel-162.html">Contextual ::selection</a> (#162)</li>
    <li><a href="tests/css3-modsel-163.html">Contextual :contains</a> (#163)</li>
    <li><a href="tests/css3-modsel-164.html">:focus with ::selection</a> (#164)</li>
index 85d15e9..d595ea2 100644 (file)
@@ -1147,14 +1147,14 @@ layer at (0,0) size 785x3324
           RenderListMarker at (-17,0) size 7x17: bullet
           RenderInline {A} at (0,0) size 299x17 [color=#0000EE]
             RenderText {#text} at (0,0) size 299x17
-              text run at (0,0) width 299: "Syntax and parsing of unknown psuedo-classes"
+              text run at (0,0) width 299: "Syntax and parsing of unknown pseudo-classes"
           RenderText {#text} at (299,0) size 46x17
             text run at (299,0) width 46: " (#160)"
         RenderListItem {LI} at (40,2250) size 729x18
           RenderListMarker at (-17,0) size 7x17: bullet
           RenderInline {A} at (0,0) size 435x17 [color=#0000EE]
             RenderText {#text} at (0,0) size 435x17
-              text run at (0,0) width 435: "Syntax and parsing of unknown psuedo-classes and pseudo-elements"
+              text run at (0,0) width 435: "Syntax and parsing of unknown pseudo-classes and pseudo-elements"
           RenderText {#text} at (435,0) size 46x17
             text run at (435,0) width 46: " (#161)"
         RenderListItem {LI} at (40,2268) size 729x18
index 9c2f00d..202031b 100644 (file)
@@ -1147,14 +1147,14 @@ layer at (0,0) size 785x3149
           RenderListMarker at (-17,0) size 7x17: bullet
           RenderInline {A} at (0,0) size 299x17 [color=#0000EE]
             RenderText {#text} at (0,0) size 299x17
-              text run at (0,0) width 299: "Syntax and parsing of unknown psuedo-classes"
+              text run at (0,0) width 299: "Syntax and parsing of unknown pseudo-classes"
           RenderText {#text} at (299,0) size 46x17
             text run at (299,0) width 46: " (#160)"
         RenderListItem {LI} at (40,2125) size 729x17
           RenderListMarker at (-17,0) size 7x17: bullet
           RenderInline {A} at (0,0) size 435x17 [color=#0000EE]
             RenderText {#text} at (0,0) size 435x17
-              text run at (0,0) width 435: "Syntax and parsing of unknown psuedo-classes and pseudo-elements"
+              text run at (0,0) width 435: "Syntax and parsing of unknown pseudo-classes and pseudo-elements"
           RenderText {#text} at (435,0) size 46x17
             text run at (435,0) width 46: " (#161)"
         RenderListItem {LI} at (40,2142) size 729x17
index 5db8b05..6772703 100644 (file)
@@ -1146,14 +1146,14 @@ layer at (0,0) size 800x3669
           RenderListMarker at (-18,0) size 7x19: bullet
           RenderInline {A} at (0,0) size 303x19 [color=#0000EE]
             RenderText {#text} at (0,0) size 303x19
-              text run at (0,0) width 303: "Syntax and parsing of unknown psuedo-classes"
+              text run at (0,0) width 303: "Syntax and parsing of unknown pseudo-classes"
           RenderText {#text} at (302,0) size 48x19
             text run at (302,0) width 48: " (#160)"
         RenderListItem {LI} at (40,2500) size 744x20
           RenderListMarker at (-18,0) size 7x19: bullet
           RenderInline {A} at (0,0) size 442x19 [color=#0000EE]
             RenderText {#text} at (0,0) size 442x19
-              text run at (0,0) width 442: "Syntax and parsing of unknown psuedo-classes and pseudo-elements"
+              text run at (0,0) width 442: "Syntax and parsing of unknown pseudo-classes and pseudo-elements"
           RenderText {#text} at (441,0) size 47x19
             text run at (441,0) width 47: " (#161)"
         RenderListItem {LI} at (40,2520) size 744x20
index 8962668..5701edb 100644 (file)
@@ -1147,14 +1147,14 @@ layer at (0,0) size 785x3324
           RenderListMarker at (-17,0) size 7x18: bullet
           RenderInline {A} at (0,0) size 299x18 [color=#0000EE]
             RenderText {#text} at (0,0) size 299x18
-              text run at (0,0) width 299: "Syntax and parsing of unknown psuedo-classes"
+              text run at (0,0) width 299: "Syntax and parsing of unknown pseudo-classes"
           RenderText {#text} at (299,0) size 46x18
             text run at (299,0) width 46: " (#160)"
         RenderListItem {LI} at (40,2250) size 729x18
           RenderListMarker at (-17,0) size 7x18: bullet
           RenderInline {A} at (0,0) size 435x18 [color=#0000EE]
             RenderText {#text} at (0,0) size 435x18
-              text run at (0,0) width 435: "Syntax and parsing of unknown psuedo-classes and pseudo-elements"
+              text run at (0,0) width 435: "Syntax and parsing of unknown pseudo-classes and pseudo-elements"
           RenderText {#text} at (435,0) size 46x18
             text run at (435,0) width 46: " (#161)"
         RenderListItem {LI} at (40,2268) size 729x18
index 0087de2..1d201f3 100644 (file)
@@ -1,3 +1,12 @@
+2014-09-28  Sungmann Cho  <sungmann.cho@navercorp.com>
+
+        Fix some minor typos: psuedo -> pseudo
+        https://bugs.webkit.org/show_bug.cgi?id=137192
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Speedometer/resources/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js:
+
 2014-09-11  Geoffrey Garen  <ggaren@apple.com>
 
         Some MallocBench refinements
index bec7085..7fa2510 100644 (file)
@@ -380,7 +380,7 @@ var __module6__ = (function(__dependency1__, __dependency2__, __dependency3__) {
     }
 
     // Note: Using env.VM references rather than local var references throughout this section to allow
-    // for external users to override these as psuedo-supported APIs.
+    // for external users to override these as pseudo-supported APIs.
     var invokePartialWrapper = function(partial, name, context, helpers, partials, data) {
       var result = env.VM.invokePartial.apply(this, arguments);
       if (result != null) { return result; }
index 22db015..14c8e8b 100644 (file)
@@ -1,3 +1,15 @@
+2014-09-28  Sungmann Cho  <sungmann.cho@navercorp.com>
+
+        Fix some minor typos: psuedo -> pseudo
+        https://bugs.webkit.org/show_bug.cgi?id=137192
+
+        Reviewed by Alexey Proskuryakov.
+
+        No new tests, no behavior change.
+
+        * css/CSSSelector.cpp:
+        (WebCore::CSSSelector::specificityForOneSelector):
+
 2014-09-28  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         Unreviewed. Move RenderThemeGtk.h from platform/gtk to rendering.
index d919a08..5081da8 100644 (file)
@@ -99,7 +99,7 @@ inline unsigned CSSSelector::specificityForOneSelector() const
     case PagePseudoClass:
         break;
     case PseudoClass:
-        // FIXME: PsuedoAny should base the specificity on the sub-selectors.
+        // FIXME: PseudoAny should base the specificity on the sub-selectors.
         // See http://lists.w3.org/Archives/Public/www-style/2010Sep/0530.html
         if (pseudoClassType() == PseudoClassNot && selectorList())
             return selectorList()->first()->specificityForOneSelector();