Skip to content

Commit

Permalink
Support data: hyphenate-character
Browse files Browse the repository at this point in the history
  • Loading branch information
DCoder18 authored and hteumeuleu committed Aug 29, 2024
1 parent 8dd6f22 commit 3a5047d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions _features/css-hyphenate-character.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: "hyphens"
description: ""
title: "hyphenate-character"
description: "Sets the character (or string) used at the end of a line before a hyphenation break."
category: css
keywords: hyphens, break
last_test_date: "2024-06-19"
test_url: "/tests/css-hyphenate-character.html"
test_results_url: "https://testi.at/proj/rvEUZkBsPVNSbRohvoRigyRiM"
test_results_url: "https://testi.at/proj/vr3e1e5bikda08oxc2"
stats: {
apple-mail: {
macos: {
Expand Down Expand Up @@ -33,7 +33,7 @@ stats: {
"2024-06": "n"
},
mobile-webmail: {
"2024-06": "u"
"2024-06": "n"
}
},
orange: {
Expand All @@ -58,7 +58,7 @@ stats: {
"2024-06": "n"
},
macos: {
"2024-06": "y", #TODO
"2024-06": "n",
},
outlook-com: {
"2024-06": "n",
Expand Down Expand Up @@ -133,6 +133,7 @@ stats: {
desktop-webmail: {
"2024-06": "u"
},
},
laposte: {
desktop-webmail: {
"2024-06": "u"
Expand Down Expand Up @@ -171,11 +172,11 @@ stats: {
}

notes_by_num: {
"1": "Partial. Strips entire style tag if value uses special characters",
"1": "Partial. Does not support encoded character values",
}

links: {
"Can I use: CSS property: hyphens":"https://caniuse.com/css-hyphens",
"MDN: hyphens":"https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens"
"Can I use: CSS property: hyphenate-character":"https://caniuse.com/hyphenate-character",
"MDN: hyphenate-character":"https://developer.mozilla.org/en-US/docs/Web/CSS/hyphenate-character"
}
---
2 changes: 1 addition & 1 deletion tests/css-hyphenate-character.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<h1>hyphenate-character CSS property</h1>
<div style="max-width:100px; margin:0 auto; border: 1px dashed black;">
<h2>hyphenate-character:auto</h2>
<p style="hyphens:auto; hyphenate-character:auto;">supercalifragilisticexpialidocious</p>
<p style="hyphens:auto; hyphenate-character:auto; color:red;">supercalifragilisticexpialidocious</p>

<h2>hyphenate-character:'='</h2>
<p style="hyphens:auto; hyphenate-character:'=';">supercalifragilisticexpialidocious</p>
Expand Down

0 comments on commit 3a5047d

Please sign in to comment.