blob: fd0a816f014e9da5ea54a3545c9b75a6deddb3d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!DOCTYPE html>
<html lang="ja">
<meta charset="utf-8">
<style>
body {
font: 16px/2 sans-serif;
}
.test {
font: 32px sans-serif;
text-decoration: 2px red underline;
text-underline-offset: 1px;
}
span {
text-decoration-skip-ink: none;
}
</style>
<div>The underline should skip descenders on the English but not the Japanese:</div>
<div class=test>skipping <span>土砂災害警戒情報</span> skipping</div>
|