DescriptionMerge 91249 - Fix microphone icon placement in speech input control for dir=rtl.
https://bugs.webkit.org/show_bug.cgi?id=64668
Reviewed by Dimitri Glazkov.
Source/WebCore:
Modify default stylesheet to propagate dir=rtl from the outer input
control to the shadow DOM container. This makes the microphone
icon appear on the left for dir=rtl, which is the desired behavior.
Test: fast/speech/speech-bidi-rendering.html
* css/html.css:
(input[x-webkit-speech][dir=rtl]::-webkit-textfield-decoration-container):
LayoutTests:
Added test that verifies placement of microphone icon for dir=rtl.
* fast/speech/speech-bidi-rendering.html: Added.
* platform/mac/fast/speech/speech-bidi-rendering-expected.png: Added.
* platform/mac/fast/speech/speech-bidi-rendering-expected.txt: Added.
TBR=jeremy@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91254
Patch Set 1 #
Created: 9 years, 5 months ago
(Patch set is too large to download)
Messages
Total messages: 1 (0 generated)
|