layout/reftests/forms/textbox/accesskey-3.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/forms/textbox/accesskey-3.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<?xml-stylesheet href="chrome://global/skin/"?>
     1.6 +<window title="textbox access key tests (see bug 698185)"
     1.7 +        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     1.8 +	xmlns:html="http://www.w3.org/1999/xhtml">
     1.9 +  <html:style type="text/css">
    1.10 +    hbox {
    1.11 +      margin-top: 0px;
    1.12 +      padding-top: 0px;
    1.13 +      font-size: 36px;
    1.14 +    }
    1.15 +    label, textbox {
    1.16 +      -moz-appearance: none;
    1.17 +      background: inherit;
    1.18 +      border: none 0px;
    1.19 +    }
    1.20 +    label {
    1.21 +      margin-top: 0px;
    1.22 +      padding-top: 0px;
    1.23 +      margin-bottom: 0px;
    1.24 +      padding-bottom: 0px;
    1.25 +    }
    1.26 +    textbox {
    1.27 +      margin-top: 12px;
    1.28 +      padding-top: 8px;
    1.29 +      margin-bottom: 5px;
    1.30 +      padding-bottom: 9px;
    1.31 +    }
    1.32 +  </html:style>
    1.33 +
    1.34 +  <hbox align="baseline">
    1.35 +    <!-- access key in RTL-overridden English text -->
    1.36 +    <label value="&#x627;&#x644;&#x639;&#x631;&#x628;&#x64a; hello &#x202e;dlrow&#x202c;" accesskey="d"/>
    1.37 +    <textbox value=""/>
    1.38 +  </hbox>
    1.39 +</window>

mercurial