Editorial: correct some concept types · whatwg/notifications@96a2c28
annevk
·
2024-07-09
·
via Recent Commits to notifications:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -46,21 +46,21 @@ representation of something that happened, such as the delivery of a message.
|
46 | 46 | <dfn for=notification id=service-worker-registration>service worker registration</dfn>. |
47 | 47 | |
48 | 48 | <p>A <a>notification</a> has an associated |
49 | | -<dfn for=notification id=concept-title>title</dfn> which is a DOMString. |
| 49 | +<dfn for=notification id=concept-title>title</dfn> which is a string. |
50 | 50 | |
51 | 51 | <p>A <a>notification</a> has an associated |
52 | | -<dfn for=notification id=body>body</dfn> which is a DOMString. |
| 52 | +<dfn for=notification id=body>body</dfn> which is a string. |
53 | 53 | |
54 | 54 | <p>A <a>notification</a> has an associated |
55 | | -<dfn for=notification id=concept-direction>direction</dfn> which is one of |
56 | | -<i>auto</i>, <i>ltr</i>, and <i>rtl</i>. |
| 55 | +<dfn for=notification id=concept-direction>direction</dfn> which is "<code>auto</code>", |
| 56 | +"<code>ltr</code>", or "<code>rtl</code>". |
57 | 57 | |
58 | 58 | <p>A <a>notification</a> has an associated |
59 | | -<dfn for=notification id=concept-language>language</dfn> which is a DOMString |
| 59 | +<dfn for=notification id=concept-language>language</dfn> which is a string |
60 | 60 | representing either a valid BCP 47 language tag or the empty string. |
61 | 61 | |
62 | 62 | <p>A <a>notification</a> has an associated |
63 | | -<dfn for=notification id=tag>tag</dfn> which is a DOMString. |
| 63 | +<dfn for=notification id=tag>tag</dfn> which is a string. |
64 | 64 | |
65 | 65 | <p>A <a>notification</a> has an associated |
66 | 66 | <dfn for=notification id=data>data</dfn>. |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。