rtl-span-only-ib.html 738 B

1234567891011121314151617181920
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title>
  5. <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
  6. <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
  7. <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/>
  8. <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting"/>
  9. <meta name="flags" content="" />
  10. <style>
  11. .r { direction: rtl; }
  12. .l { direction: ltr; }
  13. span { border: 2px solid; padding: 0 10px 0 5px; margin: 0 60px 0 30px; }
  14. </style>
  15. </head>
  16. <body>
  17. <div><span class="r">One<div></div>Two</span></div>
  18. </body>
  19. </html>