Status: FAIL | Duration: 25ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-backgrounds/background-clip/clip-text-text-decorations.html
<!DOCTYPE html> <meta charset="utf-8"> <title>background-clip: text shows text decorations</title> <link rel="match" href="clip-text-text-decorations-ref.html"> <link rel="help" href="https://drafts.csswg.org/css-backgrounds-4/#valdef-background-clip-text"> <style> .test { line-height: 2em; font-size: 40px; color: transparent; background-color: green; background-clip: text; text-decoration-thickness: 20px; } </style> <body> <div class="test" style="text-decoration: underline">AAAA</div> <div class="test" style="text-decoration: line-through">AAAA</div> <div class="test" style="text-decoration: overline">AAAA</div> </body>
/css/css-backgrounds/background-clip/clip-text-text-decorations-ref.html
<!DOCTYPE html> <meta charset="utf-8"> <style> .test { line-height: 2em; font-size: 40px; color: green; text-decoration-thickness: 20px; } </style> <body> <div class="test" style="text-decoration: underline">AAAA</div> <div class="test" style="text-decoration: line-through">AAAA</div> <div class="test" style="text-decoration: overline">AAAA</div> </body>