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 7fa3bf0510f00fbecc734f4a5d8ccb8f8170551a..ae0762b4a4ee414ff8b07a35c43127ca5d156a93 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 1b7b814ad85170968cf910569cebc32273e3fe00..f6dd7a5d037cb866e6c5c0b882305b32bc1f5e8a 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 9a71b92103f349f082fa8a173c95d9e2c7915746..fccdb2f31b2b2d1673b1c9a5af0acafe12a8935a 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 579ab89d72930a5dd537d2cbf2e121a713da6da9..cce858b18399135e778fca6553eb0b4d16328049 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 f5db8c57bf0f036dced1b97bddf20316c2223b46..798c82ef75d9c2c6824fb229be3706c2a5334f2d 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 c28095b86f56cd26c1563c01a1e1cc90df32aedc..33ad456b4c62aeebdb452d30f219a3f07f459159 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 64661b1c26a6e02ec5fdb34be429c5e480043c27..f82de362997f70bdf6d8aa6ab42b7f758fda2501 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 9d0bbae14210d931bcdad8a4fda4450b0680179e..24f4c8dc61a76814268092118412f9f55dba195a 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 85d15e92a9bdde4f4117b9fd400f34b5dbdab8ce..d595ea2bd107600e880f4f39c6a828295670317d 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 9c2f00d4dae0a35f847a065da19a2fe8daf53f27..202031b54ab30107aff0ae320909cc2a5e048dc1 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 5db8b05f42a2a8b50ecb19cdb3b9e90f1cc870cb..6772703841fc466b79417d39a1f2b118301d1465 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 89626689524031d0882a313cfb9490d1d77d8881..5701edbd93dc38fba649a04ed4ab63d3cd351a89 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 0087de2d91f100fd3faedaccad12cd53b8d7a8ae..1d201f3655737fa319e8a2ff60ada2c855909550 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 bec7085c510185199d205a26576046bc832861a3..7fa251033b4cdf3530b38e7cf8dd8891074d2236 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 22db015a55ad2a8c478877c28447b12801949dc0..14c8e8be56b2392323239967439931a05f49a403 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 d919a088ee2d801cf4f017d327d149fe34d7fe6d..5081da87f14720700bc3d5cf782c1aca63dee41f 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();