|
170 | 170 | ●●options |
171 | 171 |
|
172 | 172 | spec_title:CSS Pseudo-Elements Module Level 4 |
173 | | -spec_date:2025-11-29 |
174 | | -trans_update:2025-11-24 |
| 173 | +spec_date:2026-03-03 |
| 174 | +trans_update:2026-03-06 |
175 | 175 | source_checked:241113 |
176 | 176 | page_state_key:CSS |
177 | 177 | original_url:https://drafts.csswg.org/css-pseudo-4/ |
|
181 | 181 | ref_id_lowercase:true |
182 | 182 | site_nav:selector,css |
183 | 183 | conformance:css |
184 | | -copyright:2025,permissive |
| 184 | +copyright:2026,permissive |
185 | 185 | trans_1st_pub:2017-09-01 |
186 | 186 |
|
187 | 187 |
|
|
251 | 251 | I.CSSPseudoElement:#csspseudoelement |
252 | 252 | I.CSSStyleDeclaration:~CSSOM1#cssstyledeclaration |
253 | 253 | I.Element:~DOM4#element |
254 | | -I.EventTarget:~DOM4#eventtarget |
255 | 254 | I.CSSStyleDeclaration:~CSSOM1#cssstyledeclaration |
256 | 255 |
|
257 | 256 | m.type:#dom-csspseudoelement-type |
258 | 257 | m.element:#dom-csspseudoelement-element |
259 | 258 | m.pseudo:#dom-csspseudoelement-pseudo |
260 | 259 | m.~pseudoE:#dom-element-pseudo |
261 | 260 | m.parent:#dom-csspseudoelement-parent |
| 261 | +m.selectorText:#dom-csspseudoelement-selectortext |
262 | 262 | m.getComputedStyle:~CSSOM1#dom-window-getcomputedstyle |
263 | 263 |
|
264 | 264 |
|
|
279 | 279 | pe.spelling-error:#selectordef-spelling-error |
280 | 280 | pe.target-text:#selectordef-target-text |
281 | 281 | pe.part():~CSSSHADOW#selectordef-part |
| 282 | +pe.scroll-button():CSSWG/css-overflow-5/#selectordef-scroll-button---scroll-button-direction |
282 | 283 |
|
283 | 284 | ps.current:~SELECTORS5#current-pseudo |
284 | 285 | ps.past:~SELECTORS5#past-pseudo |
|
1027 | 1028 | [CSS-CASCADE-6] |
1028 | 1029 | Elika Etemad; Miriam Suzanne; Tab Atkins Jr.. <CSS Cascading and Inheritance Level 6>. URL: https://drafts.csswg.org/css-cascade-6/ |
1029 | 1030 | [CSS-COLOR-4] |
1030 | | - Chris Lilley; Tab Atkins Jr.; Lea Verou. <CSS Color Module Level 4>. URL: https://drafts.csswg.org/css-color-4/ |
| 1031 | + Tab Atkins Jr.; Chris Lilley; Lea Verou. <CSS Color Module Level 4>. URL: https://drafts.csswg.org/css-color-4/ |
1031 | 1032 | [CSS-COLOR-ADJUST-1] |
1032 | 1033 | Elika Etemad; et al. <CSS Color Adjustment Module Level 1>. URL: https://drafts.csswg.org/css-color-adjust-1/ |
1033 | 1034 | [CSS-CONTENT-3] |
|
1047 | 1048 | [CSS-RUBY-1] |
1048 | 1049 | Elika Etemad; et al. <CSS Ruby Annotation Layout Module Level 1>. URL: https://drafts.csswg.org/css-ruby-1/ |
1049 | 1050 | [CSS-SHADOW-1] |
1050 | | - Tab Atkins Jr.; Elika Etemad. <CSS Shadow Module Level 1>. URL: https://drafts.csswg.org/css-shadow-1/ |
| 1051 | + <CSS Shadow Module Level 1>. Editor's Draft. URL: https://drafts.csswg.org/css-shadow-1/ |
1051 | 1052 | [CSS-SYNTAX-3] |
1052 | 1053 | Tab Atkins Jr.; Simon Sapin. <CSS Syntax Module Level 3>. URL: https://drafts.csswg.org/css-syntax/ |
1053 | 1054 | [CSS-TABLES-3] |
|
1059 | 1060 | [CSS-TEXT-DECOR-4] |
1060 | 1061 | Elika Etemad; Koji Ishii. <CSS Text Decoration Module Level 4>. URL: https://drafts.csswg.org/css-text-decor-4/ |
1061 | 1062 | [CSS-UI-4] |
1062 | | - Florian Rivoal. <CSS Basic User Interface Module Level 4>. URL: https://drafts.csswg.org/css-ui-4/ |
| 1063 | + Tab Atkins Jr.; Florian Rivoal. <CSS Basic User Interface Module Level 4>. URL: https://drafts.csswg.org/css-ui-4/ |
1063 | 1064 | [CSS-VALUES-4] |
1064 | 1065 | Tab Atkins Jr.; Elika Etemad. <CSS Values and Units Module Level 4>. URL: https://drafts.csswg.org/css-values-4/ |
1065 | 1066 | [CSS-VARIABLES-1] |
|
1077 | 1078 | [DOM] |
1078 | 1079 | Anne van Kesteren. <DOM Standard>. Living Standard. URL: https://dom.spec.whatwg.org/ |
1079 | 1080 | [FILL-STROKE-3] |
1080 | | - Elika Etemad; Tab Atkins Jr.. <CSS Fill and Stroke Module Level 3>. URL: https://drafts.csswg.org/fill-stroke-3/ |
| 1081 | + Elika Etemad; Tab Atkins Jr.. <CSS Fill and Stroke Module Level 3>. URL: https://drafts.csswg.org/fill-stroke/ |
1081 | 1082 | [HTML] |
1082 | 1083 | Anne van Kesteren; et al. <HTML Standard>. Living Standard. URL: https://html.spec.whatwg.org/multipage/ |
1083 | 1084 | [RFC2119] |
1084 | 1085 | S. Bradner. <Key words for use in RFCs to Indicate Requirement Levels>. March 1997. Best Current Practice. URL: https://datatracker.ietf.org/doc/html/rfc2119 |
1085 | 1086 | [SELECTORS-4] |
1086 | 1087 | Elika Etemad; Tab Atkins Jr.. <Selectors Level 4>. URL: https://drafts.csswg.org/selectors/ |
1087 | 1088 | [SELECTORS-5] |
1088 | | - <Selectors Level 5>. Editor's Draft. URL: https://drafts.csswg.org/selectors-5/ |
| 1089 | + Elika Etemad; Tab Atkins Jr.. <Selectors Level 5>. URL: https://drafts.csswg.org/selectors-5/ |
1089 | 1090 | [UAX44] |
1090 | 1091 | Ken Whistler. <Unicode Character Database>. 27 August 2025. Unicode Standard Annex #44. URL: https://www.unicode.org/reports/tr44/tr44-36.html |
1091 | 1092 | [URL] |
|
1096 | 1097 | ●●ref_informative |
1097 | 1098 |
|
1098 | 1099 | [CSS-BACKGROUNDS-4] |
1099 | | - Bert Bos; Elika J. Etemad; Lea Verou. <CSS Backgrounds and Borders Module Level 4>. Proposal for a CSS module. URL: https://drafts.csswg.org/css-backgrounds-4/ |
| 1100 | + Bert Bos; Elika J. Etemad; Lea Verou. <CSS Backgrounds and Borders Module Level 4>. Proposal for a CSS module. URL: https://drafts.csswg.org/css-backgrounds-4/ |
1100 | 1101 | [CSS-CASCADE-4] |
1101 | 1102 | Elika Etemad; Tab Atkins Jr.. <CSS Cascading and Inheritance Level 4>. URL: https://drafts.csswg.org/css-cascade-4/ |
| 1103 | +[CSS-CONTAIN-2] |
| 1104 | + Tab Atkins Jr.; Florian Rivoal; Vladimir Levin. <CSS Containment Module Level 2>. URL: https://drafts.csswg.org/css-contain-2/ |
1102 | 1105 | [CSS-DISPLAY-3] |
1103 | 1106 | Elika Etemad; Tab Atkins Jr.. <CSS Display Module Level 3>. URL: https://drafts.csswg.org/css-display/ |
1104 | 1107 | [CSS22] |
@@ -3922,19 +3925,13 @@ <h2 title="Additions to the CSS Object Model">7. ~CSS~obj~modelに対する追 |
3922 | 3925 | <section id="CSSPseudoElement-interface"> |
3923 | 3926 | <h3 title="CSSPseudoElement Interface">7.1. `CSSPseudoElement^I ~interface</h3> |
3924 | 3927 |
|
3925 | | -<p> |
3926 | | -`CSSPseudoElement^I ~interfaceは、 |
3927 | | -`疑似要素$も~event~targetになれるようにする。 |
3928 | | -◎ |
3929 | | -The CSSPseudoElement interface allows pseudo-elements to be event targets. |
3930 | | -</p> |
3931 | | - |
3932 | 3928 | <pre class="idl"> |
3933 | 3929 | [`Exposed$=Window] |
3934 | | -interface `CSSPseudoElement@I : `EventTarget$I { |
| 3930 | +interface `CSSPseudoElement@I { |
3935 | 3931 | readonly attribute `CSSOMString$ `type$m; |
3936 | 3932 | readonly attribute `Element$I `element$m; |
3937 | 3933 | readonly attribute (`Element$I or `CSSPseudoElement$I) `parent$m; |
| 3934 | + readonly attribute `CSSOMString$ `selectorText$m; |
3938 | 3935 | `CSSPseudoElement$I? `pseudo$m(`CSSOMString$ %type); |
3939 | 3936 | }; |
3940 | 3937 | </pre> |
@@ -4000,6 +3997,21 @@ <h3 title="CSSPseudoElement Interface">7.1. `CSSPseudoElement^I ~interface</h3> |
4000 | 3997 | ]を返す。 |
4001 | 3998 | ◎ |
4002 | 3999 | The parent attribute is the originating element of the pseudo-element. For most pseudo-elements parent and element will return the same Element; for sub-pseudo-elements, parent will return a CSSPseudoElement while element returns an Element. |
| 4000 | +</dd> |
| 4001 | + |
| 4002 | + <dt>`selectorText@m</dt> |
| 4003 | + <dd> |
| 4004 | +この`疑似要素$を選択するために利用された[ |
| 4005 | +全部的かつ正規化された選択子~text |
| 4006 | +]を表現している文字列を返す。 |
| 4007 | +これは、 |
| 4008 | +この疑似要素の名前に加え, その引数(もしあれば)も含み, |
| 4009 | +往復できる形で直列化される。 |
| 4010 | +例えば、 |
| 4011 | +`after$pe 疑似要素~用には `::after^l になり, |
| 4012 | +引数 `left^v を伴う `scroll-button()$pe 疑似要素~用には `::scroll-button(left)^l になる。 |
| 4013 | +◎ |
| 4014 | +The selectorText attribute is a string representing the full, normalized selector text used to select the pseudo-element. This includes the pseudo-element name and any arguments, serialized in a form that can round-trip. For example, "::after" for a ::after pseudo-element, or "::scroll-button(left)" for a ::scroll-button() pseudo-element with a left argument. |
4003 | 4015 | </dd> |
4004 | 4016 |
|
4005 | 4017 | <dt>`pseudo(type)@m</dt> |
|
0 commit comments