Title: [94531] trunk/Source/WebCore
Revision
94531
Author
[email protected]
Date
2011-09-05 08:01:59 -0700 (Mon, 05 Sep 2011)

Log Message

Fix the regression of bug 65333 introduced by 60170.
This caused the speech input bubble to appear in the wrong side for RTL text inputs.
https://bugs.webkit.org/show_bug.cgi?id=67597

Reviewed by Tony Gentilcore.

No new tests. Fixing regression.

* html/shadow/TextControlInnerElements.cpp:
(WebCore::InputFieldSpeechButtonElement::startSpeechInput):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (94530 => 94531)


--- trunk/Source/WebCore/ChangeLog	2011-09-05 14:46:03 UTC (rev 94530)
+++ trunk/Source/WebCore/ChangeLog	2011-09-05 15:01:59 UTC (rev 94531)
@@ -1,3 +1,16 @@
+2011-09-05  Leandro Gracia Gil  <[email protected]>
+
+        Fix the regression of bug 65333 introduced by 60170.
+        This caused the speech input bubble to appear in the wrong side for RTL text inputs.
+        https://bugs.webkit.org/show_bug.cgi?id=67597
+
+        Reviewed by Tony Gentilcore.
+
+        No new tests. Fixing regression.
+
+        * html/shadow/TextControlInnerElements.cpp:
+        (WebCore::InputFieldSpeechButtonElement::startSpeechInput):
+
 2011-09-05  Alexander Pavlov  <[email protected]>
 
         Web Inspector: F5 results in a Web Inspector frontend reload on non-Macs

Modified: trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp (94530 => 94531)


--- trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp	2011-09-05 14:46:03 UTC (rev 94530)
+++ trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp	2011-09-05 15:01:59 UTC (rev 94531)
@@ -527,7 +527,7 @@
     RefPtr<HTMLInputElement> input = static_cast<HTMLInputElement*>(shadowAncestorNode());
     AtomicString language = input->computeInheritedLanguage();
     String grammar = input->getAttribute(webkitgrammarAttr);
-    IntRect rect = input->renderer()->absoluteBoundingBoxRect();
+    IntRect rect = renderer()->absoluteBoundingBoxRect();
     if (speechInput()->startRecognition(m_listenerId, rect, language, grammar, document()->securityOrigin()))
         setState(Recording);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to