theme-overflow.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. text-overflow: ellipsis ellipsis;
  10. width: 200px;
  11. }
  12. .r {
  13. direction:rtl;
  14. }
  15. .x0 { margin:0px;}
  16. .x1 { margin:1px;}
  17. .x2 { margin:2px;}
  18. .x3 { margin:3px;}
  19. .x4 { margin-left:-1px;}
  20. .r .x4 { margin-right:-1px;}
  21. f { float:left; width:1px; height:1px; margin-left:-100px; }
  22. .r f { float:right; width:1px; height:1px; margin-right:-100px; }
  23. </style>
  24. </head>
  25. <body>
  26. <p>
  27. <input type="checkbox" class="x0"> 0<f></f><br>
  28. <input type="checkbox" class="x1"> 1<f></f><br>
  29. <input type="checkbox" class="x2"> 2<f></f><br>
  30. <input type="checkbox" class="x3"> 3<f></f><br>
  31. <input type="checkbox" class="x4"><f></f><br>
  32. </p>
  33. <p>
  34. <input type="radio" class="x0"> 0<f></f><br>
  35. <input type="radio" class="x1"> 1<f></f><br>
  36. <input type="radio" class="x2"> 2<f></f><br>
  37. <input type="radio" class="x3"> 3<f></f><br>
  38. <input type="radio" class="x4"><f></f><br>
  39. </p>
  40. <p class="r">
  41. <input type="checkbox" class="x0"> 0<f></f><br>
  42. <input type="checkbox" class="x1"> 1<f></f><br>
  43. <input type="checkbox" class="x2"> 2<f></f><br>
  44. <input type="checkbox" class="x3"> 3<f></f><br>
  45. <input type="checkbox" class="x4"><f></f><br>
  46. </p>
  47. <p class="r">
  48. <input type="radio" class="x0"> 0<f></f><br>
  49. <input type="radio" class="x1"> 1<f></f><br>
  50. <input type="radio" class="x2"> 2<f></f><br>
  51. <input type="radio" class="x3"> 3<f></f><br>
  52. <input type="radio" class="x4"><f></f><br>
  53. </p>
  54. </body>
  55. </html>