mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
Bug 1918178 - Set inputmode="none" to avoid opening the software keybaord in selection.html and selection-ref.html. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D227106
This commit is contained in:
parent
aa4bca5d79
commit
bf5d05ec06
@ -99,20 +99,20 @@ function selectText() {
|
||||
</head><body onload="selectText();">
|
||||
|
||||
<!-- LTR overflow:hidden -->
|
||||
<div contenteditable="true" spellcheck="true" class="test ltr hidden" end=6>Mispe|…</div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test ltr hidden" end=6>Mispe|…</div>
|
||||
<span style="display:block;width:15em"><div contenteditable="true" spellcheck="true" class="test ltr hidden" style="width:auto; float:right; font-family:TestEllipsisFallback; text-align:right; width:9em;" start=0 end=0>...<x><i>z</i>d word</x></div></span><br clear="all">
|
||||
|
||||
<div id="t1" contenteditable="true" spellcheck="true" class="test ltr hidden"><span class="rlo" endNode="1" start="0" end="6"><i>z</i>d word</span>… </div>
|
||||
<div id="t2" contenteditable="true" spellcheck="true" class="test ltr hidden" ><span class="rlo" endNode="2" start="1" end="1">…<i>z</i>d word</span></div>
|
||||
<div contenteditable="true" spellcheck="true" class="test ltr hidden"><span class="rlo">…<i>z</i>d word</div>
|
||||
<div contenteditable="true" spellcheck="true" class="test ltr hidden" endNode="1" start="2" end="3" style="text-indent:-0.2em"><span> …s</span><span>pe|</span>…<span></span></div>
|
||||
<div id="t1" contenteditable="true" inputmode="none" spellcheck="true" class="test ltr hidden"><span class="rlo" endNode="1" start="0" end="6"><i>z</i>d word</span>… </div>
|
||||
<div id="t2" contenteditable="true" inputmode="none" spellcheck="true" class="test ltr hidden" ><span class="rlo" endNode="2" start="1" end="1">…<i>z</i>d word</span></div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test ltr hidden"><span class="rlo">…<i>z</i>d word</div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test ltr hidden" endNode="1" start="2" end="3" style="text-indent:-0.2em"><span> …s</span><span>pe|</span>…<span></span></div>
|
||||
|
||||
<!-- RTL overflow:hidden -->
|
||||
<div contenteditable="true" spellcheck="true" class="test rtl hidden" endNode="2" start="8" end="6">Misp …<i>z</i>d word</div>
|
||||
<div contenteditable="true" spellcheck="true" class="test rtl hidden" end="2"><span class="lro"> …<i>z</i>d word</span></div>
|
||||
<div contenteditable="true" spellcheck="true" class="test rtl hidden" endNode="1" end=0 start=1><span class="lro">…<i>z</i>d</span><span class="rlo"> word</span></div>
|
||||
<div contenteditable="true" spellcheck="true" class="test rtl hidden"><span class="rlo">Mis</span><span class="rlo">pel… word</div>
|
||||
<div contenteditable="true" spellcheck="true" class="test rtl hidden"><span class="rlo">Mis</span><span class="rlo">pel… word</div>
|
||||
<div contenteditable="true" spellcheck="true" class="test rtl hidden"><span class="rlo" style="margin-right:-0.2em"> …s</span><span class="rlo">pel… </span><span class="rlo"> word</span></div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test rtl hidden" endNode="2" start="8" end="6">Misp …<i>z</i>d word</div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test rtl hidden" end="2"><span class="lro"> …<i>z</i>d word</span></div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test rtl hidden" endNode="1" end=0 start=1><span class="lro">…<i>z</i>d</span><span class="rlo"> word</span></div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test rtl hidden"><span class="rlo">Mis</span><span class="rlo">pel… word</div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test rtl hidden"><span class="rlo">Mis</span><span class="rlo">pel… word</div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test rtl hidden"><span class="rlo" style="margin-right:-0.2em"> …s</span><span class="rlo">pel… </span><span class="rlo"> word</span></div>
|
||||
|
||||
</body></html>
|
||||
|
@ -98,19 +98,19 @@ function selectText() {
|
||||
|
||||
|
||||
<!-- LTR overflow:hidden -->
|
||||
<div contenteditable="true" spellcheck="true" class="test ltr hidden">Mispe|led word</div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test ltr hidden">Mispe|led word</div>
|
||||
<span style="display:block;width:15em"><div contenteditable="true" spellcheck="true" class="test ltr hidden" style="width:auto; float:right; font-family:TestEllipsisFallback; text-indent:-1em; " start=0 end=9><x>M ispeled word</x></div></span><br clear="all">
|
||||
<div contenteditable="true" spellcheck="true" class="test ltr hidden"><span class="rlo">Mispelled word</span></div>
|
||||
<div contenteditable="true" spellcheck="true" class="test ltr hidden"><span class="rlo">Mispelled</span><span class="rlo"> word</span></div>
|
||||
<div contenteditable="true" spellcheck="true" class="test ltr hidden"><span class="rlo">Mis</span><span class="rlo">pelled word</div>
|
||||
<div contenteditable="true" spellcheck="true" class="test ltr hidden" endNode="1" style="text-indent:-0.2em"><span>Mis</span><span>pe|led</span><span> word</span></div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test ltr hidden"><span class="rlo">Mispelled word</span></div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test ltr hidden"><span class="rlo">Mispelled</span><span class="rlo"> word</span></div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test ltr hidden"><span class="rlo">Mis</span><span class="rlo">pelled word</div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test ltr hidden" endNode="1" style="text-indent:-0.2em"><span>Mis</span><span>pe|led</span><span> word</span></div>
|
||||
|
||||
<!-- RTL overflow:hidden -->
|
||||
<div contenteditable="true" spellcheck="true" class="test rtl hidden">Mispelled word</div>
|
||||
<div contenteditable="true" spellcheck="true" class="test rtl hidden" end="2"><span class="lro">Mispelled word</span></div>
|
||||
<div contenteditable="true" spellcheck="true" class="test rtl hidden"><span class="lro">Mispelled</span><span class="rlo"> word</span></div>
|
||||
<div contenteditable="true" spellcheck="true" class="test rtl hidden"><span class="rlo">Mis</span><span class="rlo">pelled word</div>
|
||||
<div contenteditable="true" spellcheck="true" class="test rtl hidden"><span class="rlo">Mis</span><span class="rlo">pelled word</div>
|
||||
<div contenteditable="true" spellcheck="true" class="test rtl hidden"><span class="rlo" style="margin-right:-0.2em">Mis</span><span class="rlo">pelled</span><span class="rlo"> word</span></div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test rtl hidden">Mispelled word</div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test rtl hidden" end="2"><span class="lro">Mispelled word</span></div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test rtl hidden"><span class="lro">Mispelled</span><span class="rlo"> word</span></div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test rtl hidden"><span class="rlo">Mis</span><span class="rlo">pelled word</div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test rtl hidden"><span class="rlo">Mis</span><span class="rlo">pelled word</div>
|
||||
<div contenteditable="true" inputmode="none" spellcheck="true" class="test rtl hidden"><span class="rlo" style="margin-right:-0.2em">Mis</span><span class="rlo">pelled</span><span class="rlo"> word</span></div>
|
||||
|
||||
</body></html>
|
||||
|
Loading…
Reference in New Issue
Block a user