theme-overflow-ref.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  5. <title>Testcase for bug 669284</title>
  6. <style type="text/css">
  7. p {
  8. overflow: hidden;
  9. width: 200px;
  10. }
  11. .r {
  12. direction:rtl;
  13. }
  14. .x0 { margin:0px;}
  15. .x1 { margin:1px;}
  16. .x2 { margin:2px;}
  17. .x3 { margin:3px;}
  18. .x4 { margin-left:-1px; }
  19. .r .x4 { margin-right:-1px;}
  20. f { float:left; width:1px; height:1px; margin-left:-100px; }
  21. .r f { float:right; width:1px; height:1px; margin-right:-100px; }
  22. </style>
  23. </head>
  24. <body>
  25. <p>
  26. <input type="checkbox" class="x0"> 0<f></f><br>
  27. <input type="checkbox" class="x1"> 1<f></f><br>
  28. <input type="checkbox" class="x2"> 2<f></f><br>
  29. <input type="checkbox" class="x3"> 3<f></f><br>
  30. <input type="checkbox" class="x4"><f></f><br>
  31. </p>
  32. <p>
  33. <input type="radio" class="x0"> 0<f></f><br>
  34. <input type="radio" class="x1"> 1<f></f><br>
  35. <input type="radio" class="x2"> 2<f></f><br>
  36. <input type="radio" class="x3"> 3<f></f><br>
  37. <input type="radio" class="x4"><f></f><br>
  38. </p>
  39. <p class="r">
  40. <input type="checkbox" class="x0"> 0<f></f><br>
  41. <input type="checkbox" class="x1"> 1<f></f><br>
  42. <input type="checkbox" class="x2"> 2<f></f><br>
  43. <input type="checkbox" class="x3"> 3<f></f><br>
  44. <input type="checkbox" class="x4"><f></f><br>
  45. </p>
  46. <p class="r">
  47. <input type="radio" class="x0"> 0<f></f><br>
  48. <input type="radio" class="x1"> 1<f></f><br>
  49. <input type="radio" class="x2"> 2<f></f><br>
  50. <input type="radio" class="x3"> 3<f></f><br>
  51. <input type="radio" class="x4"><f></f><br>
  52. </p>
  53. </body>
  54. </html>