accesskey-3-ref.xul 967 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/"?>
  3. <window title="textbox access key tests (see bug 698185)"
  4. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  5. xmlns:html="http://www.w3.org/1999/xhtml">
  6. <html:style type="text/css">
  7. hbox {
  8. margin-top: 0px;
  9. padding-top: 0px;
  10. font-size: 36px;
  11. }
  12. label, textbox {
  13. -moz-appearance: none;
  14. background: inherit;
  15. border: none 0px;
  16. }
  17. label {
  18. margin-top: 0px;
  19. padding-top: 0px;
  20. margin-bottom: 0px;
  21. padding-bottom: 0px;
  22. }
  23. textbox {
  24. margin-top: 12px;
  25. padding-top: 8px;
  26. margin-bottom: 5px;
  27. padding-bottom: 9px;
  28. }
  29. </html:style>
  30. <hbox align="baseline">
  31. <!-- access key in LTR text that follows RTL text (mixed direction) -->
  32. <label value="&#x627;&#x644;&#x639;&#x631;&#x628;&#x64a; hello world" accesskey="d"/>
  33. <textbox value=""/>
  34. </hbox>
  35. </window>