-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
text-underline-position property support
- Loading branch information
1 parent
6c925cf
commit 2c853cb
Showing
2 changed files
with
223 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
--- | ||
title: "text-underline-position" | ||
description: "Specifies the position of the underline which is set using the `text-decoration property`'s underline value." | ||
category: css | ||
keywords: underline | ||
last_test_date: "2023-12-08" | ||
test_url: "/tests/css-text-underline-position.html" | ||
test_results_url: "https://testi.at/proj/yd99u8e12nvh97jcv" | ||
stats: { | ||
apple-mail: { | ||
macos: { | ||
"2023-12": "a #1", | ||
}, | ||
ios: { | ||
"2023-12": "a #1" | ||
} | ||
}, | ||
gmail: { | ||
desktop-webmail: { | ||
"2023-12": "y" | ||
}, | ||
ios: { | ||
"2023-12": "a #1" | ||
}, | ||
android: { | ||
"2023-12": "y" | ||
}, | ||
mobile-webmail: { | ||
"2023-12": "y" | ||
} | ||
}, | ||
orange: { | ||
desktop-webmail: { | ||
"2023-12":"u", | ||
"2023-12":"u" | ||
}, | ||
ios: { | ||
"2023-12":"u" | ||
}, | ||
android: { | ||
"2023-12":"u" | ||
} | ||
}, | ||
outlook: { | ||
windows: { | ||
"2013": "n", | ||
"2016": "n", | ||
"2019": "n" | ||
"2021": "n" | ||
}, | ||
windows-mail: { | ||
"2023-12": "n" | ||
}, | ||
macos: { | ||
"2023-12": "n" | ||
}, | ||
outlook-com: { | ||
"2023-12": "y" | ||
}, | ||
ios: { | ||
"2023-12": "a #1" | ||
}, | ||
android: { | ||
"2023-12": "y" | ||
} | ||
}, | ||
yahoo: { | ||
desktop-webmail: { | ||
"2023-12": "n" | ||
}, | ||
ios: { | ||
"2023-12": "n" | ||
}, | ||
android: { | ||
"2023-12": "n" | ||
} | ||
}, | ||
aol: { | ||
desktop-webmail: { | ||
"2023-12": "n" | ||
}, | ||
ios: { | ||
"2023-12": "n" | ||
}, | ||
android: { | ||
"2023-12": "n" | ||
} | ||
}, | ||
samsung-email: { | ||
android: { | ||
"2023-12": "y" | ||
} | ||
}, | ||
sfr: { | ||
desktop-webmail: { | ||
"2023-12":"u" | ||
}, | ||
ios: { | ||
"2023-12":"u" | ||
}, | ||
android: { | ||
"2023-12":"u" | ||
} | ||
}, | ||
thunderbird: { | ||
macos: { | ||
"2023-12": "y" | ||
} | ||
}, | ||
protonmail: { | ||
desktop-webmail: { | ||
"2023-12":"u" | ||
}, | ||
ios: { | ||
"2023-12":"u" | ||
}, | ||
android: { | ||
"2023-12":"u" | ||
} | ||
}, | ||
hey: { | ||
desktop-webmail: { | ||
"2023-12":"u" | ||
} | ||
}, | ||
mail-ru: { | ||
desktop-webmail: { | ||
"2023-12":"y" | ||
} | ||
}, | ||
fastmail: { | ||
desktop-webmail: { | ||
"2023-12": "u" | ||
} | ||
}, | ||
laposte: { | ||
desktop-webmail: { | ||
"2023-12": "u" | ||
} | ||
}, | ||
gmx: { | ||
desktop-webmail: { | ||
"2023-12": "n" | ||
}, | ||
ios: { | ||
"2023-12":"u" | ||
}, | ||
android: { | ||
"2023-12":"u" | ||
} | ||
}, | ||
web-de: { | ||
desktop-webmail: { | ||
"2023-12": "n", | ||
}, | ||
ios: { | ||
"2023-12":"u" | ||
}, | ||
android: { | ||
"2023-12":"u" | ||
} | ||
}, | ||
ionos-1and1: { | ||
desktop-webmail: { | ||
"2023-12": "u" | ||
}, | ||
android: { | ||
"2023-12": "u" | ||
} | ||
} | ||
} | ||
notes_by_num: { | ||
"1": "Partial. Supports `under` but not `right` and `left`", | ||
} | ||
links: { | ||
"Can I use: CSS text-underline-position":"https://caniuse.com/?search=text-underline-position", | ||
"MDN: text-underline-position":"https://developer.mozilla.org/en-US/docs/Web/CSS/text-underline-position" | ||
} | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="x-apple-disable-message-reformatting"> | ||
<!--[if mso]><xml> | ||
<o:OfficeDocumentSettings> | ||
<o:AllowPNG/> | ||
<o:PixelsPerInch>96</o:PixelsPerInch> | ||
</o:OfficeDocumentSettings> | ||
</xml><![endif]--> | ||
<title>text-underline-position</title> | ||
<style> | ||
h1 { margin-bottom: 40px; } | ||
h2 { font-family: monospace; } | ||
p { | ||
margin-bottom: 40px; | ||
font-size: 20px; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div style="max-width:600px; margin:0 auto; padding:30px 50px; background-color:#f4f4f4;"> | ||
<h1>text-underline-position CSS property</h1> | ||
|
||
<h2>text-underline-position:under</h2> | ||
<p style="text-decoration:underline; text-underline-position:under;"> | ||
C<sub>8</sub>H<sub>10</sub>N<sub>4</sub>O<sub>2</sub> | ||
</p> | ||
|
||
<h2>text-underline-position:left</h2> | ||
<h3 style="writing-mode:vertical-rl; text-decoration:underline; text-underline-position:left;">ロレム・イプサム</h3> | ||
|
||
|
||
<h2>text-underline-position:right</h2> | ||
<h3 style="writing-mode:vertical-rl; text-decoration:underline; text-underline-position:right;">ロレム・イプサム</h3> | ||
</div> | ||
</body> | ||
|
||
</html> |