Title: [91988] trunk/Source/WebCore
- Revision
- 91988
- Author
- [email protected]
- Date
- 2011-07-29 05:49:04 -0700 (Fri, 29 Jul 2011)
Log Message
Fix speech input icon rect on RTL directions.
https://bugs.webkit.org/show_bug.cgi?id=65333
Reviewed by Tony Gentilcore.
No new tests. This is used by platforms, not WebCore, and
the base functionality is not changed but only the failing cases.
* html/shadow/TextControlInnerElements.cpp:
(WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (91987 => 91988)
--- trunk/Source/WebCore/ChangeLog 2011-07-29 12:32:52 UTC (rev 91987)
+++ trunk/Source/WebCore/ChangeLog 2011-07-29 12:49:04 UTC (rev 91988)
@@ -1,3 +1,16 @@
+2011-07-28 Leandro Gracia Gil <[email protected]>
+
+ Fix speech input icon rect on RTL directions.
+ https://bugs.webkit.org/show_bug.cgi?id=65333
+
+ Reviewed by Tony Gentilcore.
+
+ No new tests. This is used by platforms, not WebCore, and
+ the base functionality is not changed but only the failing cases.
+
+ * html/shadow/TextControlInnerElements.cpp:
+ (WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
+
2011-07-29 Kent Tamura <[email protected]>
Make the ExceptionCode argument of Element::setShadowPseudoId() ASSERT_NO_EXCEPTION by default
Modified: trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp (91987 => 91988)
--- trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp 2011-07-29 12:32:52 UTC (rev 91987)
+++ trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp 2011-07-29 12:49:04 UTC (rev 91988)
@@ -437,7 +437,7 @@
case Idle: {
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