Fix trival typos related to the word "coordinate".
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 12 Apr 2015 22:33:13 +0000 (22:33 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 12 Apr 2015 22:33:13 +0000 (22:33 +0000)
https://bugs.webkit.org/show_bug.cgi?id=143644

Patch by Sungmann Cho <sungmann.cho@navercorp.com> on 2015-04-12
Reviewed by Alexey Proskuryakov.

No new tests, no behavior change.

Source/WebCore:

* rendering/RenderBox.cpp:
(WebCore::RenderBox::layoutOverflowRectForPropagation):

Source/WebKit2:

* Shared/WebHitTestResult.cpp:
(WebKit::WebHitTestResult::Data::encode):
(WebKit::WebHitTestResult::Data::decode):
* Shared/WebHitTestResult.h:
* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::performActionMenuHitTestAtLocation):
(WebKit::WebPage::lookupTextAtLocation):

LayoutTests:

* css3/scroll-snap/scroll-snap-property-computed-style-expected.txt:
* css3/scroll-snap/scroll-snap-property-computed-style.js:
* platform/gtk/svg/custom/svg-curve-with-relative-cordinates-expected.png: Removed.
* platform/gtk/svg/custom/svg-curve-with-relative-cordinates-expected.txt: Removed.
* platform/ios-sim-deprecated/svg/custom/svg-curve-with-relative-cordinates-expected.txt: Removed.
* platform/ios-simulator/svg/custom/svg-curve-with-relative-cordinates-expected.txt: Removed.
* platform/mac/svg/custom/svg-curve-with-relative-cordinates-expected.png: Removed.
* platform/mac/svg/custom/svg-curve-with-relative-cordinates-expected.txt: Removed.
* platform/win/svg/custom/svg-curve-with-relative-cordinates-expected.txt: Removed.
* svg/custom/svg-curve-with-relative-cordinates.html: Removed.

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

17 files changed:
LayoutTests/ChangeLog
LayoutTests/css3/scroll-snap/scroll-snap-property-computed-style-expected.txt
LayoutTests/css3/scroll-snap/scroll-snap-property-computed-style.js
LayoutTests/platform/gtk/svg/custom/svg-curve-with-relative-coordinates-expected.png [moved from LayoutTests/platform/gtk/svg/custom/svg-curve-with-relative-cordinates-expected.png with 100% similarity]
LayoutTests/platform/gtk/svg/custom/svg-curve-with-relative-coordinates-expected.txt [moved from LayoutTests/platform/gtk/svg/custom/svg-curve-with-relative-cordinates-expected.txt with 100% similarity]
LayoutTests/platform/ios-sim-deprecated/svg/custom/svg-curve-with-relative-coordinates-expected.txt [moved from LayoutTests/platform/ios-sim-deprecated/svg/custom/svg-curve-with-relative-cordinates-expected.txt with 100% similarity]
LayoutTests/platform/ios-simulator/svg/custom/svg-curve-with-relative-coordinates-expected.txt [moved from LayoutTests/platform/ios-simulator/svg/custom/svg-curve-with-relative-cordinates-expected.txt with 100% similarity]
LayoutTests/platform/mac/svg/custom/svg-curve-with-relative-coordinates-expected.png [moved from LayoutTests/platform/mac/svg/custom/svg-curve-with-relative-cordinates-expected.png with 100% similarity]
LayoutTests/platform/mac/svg/custom/svg-curve-with-relative-coordinates-expected.txt [moved from LayoutTests/platform/mac/svg/custom/svg-curve-with-relative-cordinates-expected.txt with 100% similarity]
LayoutTests/platform/win/svg/custom/svg-curve-with-relative-coordinates-expected.txt [moved from LayoutTests/platform/win/svg/custom/svg-curve-with-relative-cordinates-expected.txt with 100% similarity]
LayoutTests/svg/custom/svg-curve-with-relative-coordinates.html [moved from LayoutTests/svg/custom/svg-curve-with-relative-cordinates.html with 100% similarity]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBox.cpp
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/WebHitTestResult.cpp
Source/WebKit2/Shared/WebHitTestResult.h
Source/WebKit2/WebProcess/WebPage/mac/WebPageMac.mm

index 784da76..5883c88 100644 (file)
@@ -1,3 +1,23 @@
+2015-04-12  Sungmann Cho  <sungmann.cho@navercorp.com>
+
+        Fix trival typos related to the word "coordinate".
+        https://bugs.webkit.org/show_bug.cgi?id=143644
+
+        Reviewed by Alexey Proskuryakov.
+
+        No new tests, no behavior change.
+
+        * css3/scroll-snap/scroll-snap-property-computed-style-expected.txt:
+        * css3/scroll-snap/scroll-snap-property-computed-style.js:
+        * platform/gtk/svg/custom/svg-curve-with-relative-cordinates-expected.png: Removed.
+        * platform/gtk/svg/custom/svg-curve-with-relative-cordinates-expected.txt: Removed.
+        * platform/ios-sim-deprecated/svg/custom/svg-curve-with-relative-cordinates-expected.txt: Removed.
+        * platform/ios-simulator/svg/custom/svg-curve-with-relative-cordinates-expected.txt: Removed.
+        * platform/mac/svg/custom/svg-curve-with-relative-cordinates-expected.png: Removed.
+        * platform/mac/svg/custom/svg-curve-with-relative-cordinates-expected.txt: Removed.
+        * platform/win/svg/custom/svg-curve-with-relative-cordinates-expected.txt: Removed.
+        * svg/custom/svg-curve-with-relative-cordinates.html: Removed.
+
 2015-04-12  Simon Fraser  <simon.fraser@apple.com>
 
         Selects don't scroll at some aspect ratios
index 94df05d..cf3d44b 100644 (file)
@@ -175,7 +175,7 @@ PASS window.getComputedStyle(document.body).getPropertyValue('-webkit-scroll-sna
 subpixel destination : 0.125px 2.4375px
 PASS window.getComputedStyle(document.body).getPropertyValue('-webkit-scroll-snap-destination') is '0.125px 2.4375px'
 
-subpixel cordinate : 110.125px 25.4375px
+subpixel coordinate : 110.125px 25.4375px
 PASS window.getComputedStyle(document.body).getPropertyValue('-webkit-scroll-snap-coordinate') is '110.125px 25.4375px'
 PASS successfullyParsed is true
 
index 13293de..2f00959 100644 (file)
@@ -80,6 +80,6 @@ testComputedScrollSnapRule("in/cm coordinate", "coordinate", "2in 5cm 5in 2cm",
 
 testComputedScrollSnapRule("subpixel along x axis with pixel repeat", "points-x", "100.5px repeat(50.25px)", "100.5px repeat(50.25px)");
 testComputedScrollSnapRule("subpixel destination", "destination", "0.125px 2.4375px", "0.125px 2.4375px");
-testComputedScrollSnapRule("subpixel cordinate", "coordinate", "110.125px 25.4375px", "110.125px 25.4375px");
+testComputedScrollSnapRule("subpixel coordinate", "coordinate", "110.125px 25.4375px", "110.125px 25.4375px");
 
 successfullyParsed = true;
index 2fa4831..7697ca5 100644 (file)
@@ -1,3 +1,15 @@
+2015-04-12  Sungmann Cho  <sungmann.cho@navercorp.com>
+
+        Fix trival typos related to the word "coordinate".
+        https://bugs.webkit.org/show_bug.cgi?id=143644
+
+        Reviewed by Alexey Proskuryakov.
+
+        No new tests, no behavior change.
+
+        * rendering/RenderBox.cpp:
+        (WebCore::RenderBox::layoutOverflowRectForPropagation):
+
 2015-04-12  Simon Fraser  <simon.fraser@apple.com>
 
         Scrollbars in composited overflow and iframes fail to render on Mac
index d7f5402..95764ba 100644 (file)
@@ -4634,7 +4634,7 @@ LayoutRect RenderBox::layoutOverflowRectForPropagation(RenderStyle* parentStyle)
 
 LayoutRect RenderBox::flippedClientBoxRect() const
 {
-    // Because of the special coodinate system used for overflow rectangles (not quite logical, not
+    // Because of the special coordinate system used for overflow rectangles (not quite logical, not
     // quite physical), we need to flip the block progression coordinate in vertical-rl and
     // horizontal-bt writing modes. Apart from that, this method does the same as clientBoxRect().
 
index 51e2105..a1b3117 100644 (file)
@@ -1,5 +1,22 @@
 2015-04-12  Sungmann Cho  <sungmann.cho@navercorp.com>
 
+        Fix trival typos related to the word "coordinate".
+        https://bugs.webkit.org/show_bug.cgi?id=143644
+
+        Reviewed by Alexey Proskuryakov.
+
+        No new tests, no behavior change.
+
+        * Shared/WebHitTestResult.cpp:
+        (WebKit::WebHitTestResult::Data::encode):
+        (WebKit::WebHitTestResult::Data::decode):
+        * Shared/WebHitTestResult.h:
+        * WebProcess/WebPage/mac/WebPageMac.mm:
+        (WebKit::WebPage::performActionMenuHitTestAtLocation):
+        (WebKit::WebPage::lookupTextAtLocation):
+
+2015-04-12  Sungmann Cho  <sungmann.cho@navercorp.com>
+
         Remove PluginModuleInfo.cpp from WebKit2
         https://bugs.webkit.org/show_bug.cgi?id=143643
 
index df121f3..a2dc69c 100644 (file)
@@ -114,7 +114,7 @@ void WebHitTestResult::Data::encode(IPC::ArgumentEncoder& encoder) const
     encoder << isOverTextInsideFormControlElement;
     encoder << allowsCopy;
     encoder << isDownloadableMedia;
-    encoder << hitTestLocationInViewCooordinates;
+    encoder << hitTestLocationInViewCoordinates;
     encoder << lookupText;
     encoder << dictionaryPopupInfo;
 
@@ -149,7 +149,7 @@ bool WebHitTestResult::Data::decode(IPC::ArgumentDecoder& decoder, WebHitTestRes
         || !decoder.decode(hitTestResultData.isOverTextInsideFormControlElement)
         || !decoder.decode(hitTestResultData.allowsCopy)
         || !decoder.decode(hitTestResultData.isDownloadableMedia)
-        || !decoder.decode(hitTestResultData.hitTestLocationInViewCooordinates)
+        || !decoder.decode(hitTestResultData.hitTestLocationInViewCoordinates)
         || !decoder.decode(hitTestResultData.lookupText)
         || !decoder.decode(hitTestResultData.dictionaryPopupInfo))
         return false;
index 044559e..a8485d9 100644 (file)
@@ -65,7 +65,7 @@ public:
         bool isDownloadableMedia;
 
         // FIXME: Added from ActionHitTestResult. All make sense?
-        WebCore::FloatPoint hitTestLocationInViewCooordinates;
+        WebCore::FloatPoint hitTestLocationInViewCoordinates;
         String lookupText;
         RefPtr<SharedMemory> imageSharedMemory;
         uint64_t imageSize;
index 24cd746..26a4741 100644 (file)
@@ -1011,7 +1011,7 @@ static TextIndicatorPresentationTransition textIndicatorTransitionForActionMenu(
     return forImmediateAction ? TextIndicatorPresentationTransition::FadeIn : TextIndicatorPresentationTransition::Bounce;
 }
 
-void WebPage::performActionMenuHitTestAtLocation(WebCore::FloatPoint locationInViewCooordinates, bool forImmediateAction)
+void WebPage::performActionMenuHitTestAtLocation(WebCore::FloatPoint locationInViewCoordinates, bool forImmediateAction)
 {
     layoutIfNeeded();
 
@@ -1021,7 +1021,7 @@ void WebPage::performActionMenuHitTestAtLocation(WebCore::FloatPoint locationInV
         return;
     }
 
-    IntPoint locationInContentCoordinates = mainFrame.view()->rootViewToContents(roundedIntPoint(locationInViewCooordinates));
+    IntPoint locationInContentCoordinates = mainFrame.view()->rootViewToContents(roundedIntPoint(locationInViewCoordinates));
     HitTestResult hitTestResult = mainFrame.eventHandler().hitTestResultAtPoint(locationInContentCoordinates);
 
     bool actionMenuHitTestPreventsDefault = false;
@@ -1034,7 +1034,7 @@ void WebPage::performActionMenuHitTestAtLocation(WebCore::FloatPoint locationInV
     }
 
     WebHitTestResult::Data actionMenuResult(hitTestResult, !forImmediateAction);
-    actionMenuResult.hitTestLocationInViewCooordinates = locationInViewCooordinates;
+    actionMenuResult.hitTestLocationInViewCoordinates = locationInViewCoordinates;
 
     RefPtr<Range> selectionRange = corePage()->focusController().focusedOrMainFrame().selection().selection().firstRange();
 
@@ -1046,7 +1046,7 @@ void WebPage::performActionMenuHitTestAtLocation(WebCore::FloatPoint locationInV
     }
 
     NSDictionary *options = nil;
-    RefPtr<Range> lookupRange = lookupTextAtLocation(locationInViewCooordinates, &options);
+    RefPtr<Range> lookupRange = lookupTextAtLocation(locationInViewCoordinates, &options);
     actionMenuResult.lookupText = lookupRange ? lookupRange->text() : String();
 
     if (lookupRange) {
@@ -1106,13 +1106,13 @@ void WebPage::performActionMenuHitTestAtLocation(WebCore::FloatPoint locationInV
     send(Messages::WebPageProxy::DidPerformActionMenuHitTest(actionMenuResult, forImmediateAction, actionMenuHitTestPreventsDefault, UserData(WebProcess::singleton().transformObjectsToHandles(userData.get()).get())));
 }
 
-PassRefPtr<WebCore::Range> WebPage::lookupTextAtLocation(FloatPoint locationInViewCooordinates, NSDictionary **options)
+PassRefPtr<WebCore::Range> WebPage::lookupTextAtLocation(FloatPoint locationInViewCoordinates, NSDictionary **options)
 {
     MainFrame& mainFrame = corePage()->mainFrame();
     if (!mainFrame.view() || !mainFrame.view()->renderView())
         return nullptr;
 
-    IntPoint point = roundedIntPoint(locationInViewCooordinates);
+    IntPoint point = roundedIntPoint(locationInViewCoordinates);
     HitTestResult result = mainFrame.eventHandler().hitTestResultAtPoint(m_page->mainFrame().view()->windowToContents(point));
     return rangeForDictionaryLookupAtHitTestResult(result, options);
 }