text-decoration-subelements-004.html (774B)
1 <!DOCTYPE html> 2 <title>Test case for text-decoration with subelements</title> 3 <meta name="assert" content="Test when ancestor block has decorations, as in the EXAMPLE 1 of the spec"> 4 <link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org"> 5 <link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#text-underline-position-property"> 6 <link rel="match" href="reference/text-decoration-subelements-004-ref.html"> 7 <style> 8 blockquote { 9 text-decoration: underline; 10 color: blue; 11 font-size: 80px; 12 } 13 p { 14 font-size: 20px; 15 } 16 </style> 17 <blockquote> 18 <p> 19 <span> 20 From EXAMPLE 1 of the spec, 21 the underlining for the blockquote element is propagated to an anonymous inline box that surrounds the span element. 22 </span> 23 </p> 24 </blockquote>