Clean up link-defaults. · w3ctag/design-principles@993e58e
jyasskin
·
2025-10-07
·
via Recent Commits to design-principles:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -26,11 +26,7 @@ Link Defaults: html (dfn) queue a task/in parallel/reflect
|
26 | 26 | </pre> |
27 | 27 | <pre class="link-defaults"> |
28 | 28 | spec:css-cascade-5; type:dfn; text:inherit |
29 | | -spec:css2; type: property; text: line-height |
30 | | -spec:html |
31 | | - type:event; text:resize |
32 | | - type:attribute; for:HTMLInputElement; text:defaultValue |
33 | | - type:attribute; for:HTMLInputElement; text:defaultChecked |
| 29 | +spec:html; type:event; text:resize |
34 | 30 | spec:payment-request; type:attribute; for:PaymentRequest; text:[[state]] |
35 | 31 | spec:remote-playback; type:dfn; text: remote playback device |
36 | 32 | spec:webidl |
@@ -1163,7 +1159,7 @@ A new IDL attribute does not always warrant a content attribute counterpart.
|
1163 | 1159 | A counterpattern to this guidance can be found in |
1164 | 1160 | <{input}>'s <{input/value}>, <{option}>'s <{option/selected}>, and <{input}>'s <{input/checked}> |
1165 | 1161 | where the content attributes are not reflected to IDL attributes with the same names. |
1166 | | -Their IDL attributes are {{defaultValue}}, {{defaultSelected}} and {{defaultChecked}} respectively. |
| 1162 | +Their IDL attributes are {{HTMLInputElement/defaultValue}}, {{defaultSelected}} and {{defaultChecked}} respectively. |
1167 | 1163 | </div> |
1168 | 1164 | |
1169 | 1165 | <h3 id="naming-of-url-attributes">Name URL-containing attributes based on their primary purpose</h3><!-- https://github.com/w3ctag/design-principles/issues/278 --> |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。