text-decoration-propagation-1-standards.html 995 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!DOCTYPE html>
  2. <title>text-decoration</title>
  3. <h1>text-decoration on a block</h1>
  4. <div style="text-decoration: underline">
  5. text directly in parent
  6. <div>text in block</div>
  7. <div style="float:left; clear: left">text in float</div>
  8. <div style="clear:left"></div>
  9. <div style="display:inline-block">text in<br>inline-block</div>
  10. <div style="display:inline-table">text in<br>inline-table</div>
  11. <div style="height: 2em">
  12. <div style="position: absolute">text in abs-pos</div>
  13. </div>
  14. </div>
  15. <h1>text-decoration on an inline</h1>
  16. <div style="text-decoration: underline; display: inline">
  17. text directly in parent
  18. <div>text in block</div>
  19. <div style="float:left; clear: left">text in float</div>
  20. <div style="clear:left"></div>
  21. <div style="display:inline-block">text in<br>inline-block</div>
  22. <div style="display:inline-table">text in<br>inline-table</div>
  23. <div style="height: 2em">
  24. <div style="position: absolute">text in abs-pos</div>
  25. </div>
  26. </div>