Status: PASS | Duration: 8ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-text-decor/text-underline-position-horizontal.html
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <link rel="help" href="https://www.w3.org/TR/css-text-decor-3/#text-underline-position-property"> <link rel="match" href="reference/text-underline-position-horizontal-ref.html"> <style> .underline { text-decoration: underline; } .overline { text-decoration: overline; } </style> </head> <body lang="en"> <div class="overline" style="text-underline-position: under right">サンプル</div> <div class="overline" style="text-underline-position: under left">サンプル</div> <div class="underline" style="text-underline-position: right">"text-underline-position: right" alone should be same as "auto right"</div> <div class="underline" style="text-underline-position: left">"text-underline-position: left" alone should be same as "auto left"</div> </body> </html>
/css/css-text-decor/reference/text-underline-position-horizontal-ref.html
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <style> .underline { text-decoration: underline; } .overline { text-decoration: overline; } </style> </head> <body lang="en"> <div class="overline">サンプル</div> <div class="overline">サンプル</div> <div class="underline">"text-underline-position: right" alone should be same as "auto right"</div> <div class="underline">"text-underline-position: left" alone should be same as "auto left"</div> </body> </html>