Skip to content

Commit a524cd4

Browse files
[css-pseudo-4] 各種更新
Define .selectorText for CSSPseudoElement IDL w3c/csswg-drafts@ced9212 Remove inheritance from EventTarget for CSSPseudoElement IDL w3c/csswg-drafts@789c8e9
1 parent ba41e35 commit a524cd4

1 file changed

Lines changed: 30 additions & 18 deletions

File tree

css-pseudo-ja.html

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@
170170
●●options
171171

172172
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
175175
source_checked:241113
176176
page_state_key:CSS
177177
original_url:https://drafts.csswg.org/css-pseudo-4/
@@ -181,7 +181,7 @@
181181
ref_id_lowercase:true
182182
site_nav:selector,css
183183
conformance:css
184-
copyright:2025,permissive
184+
copyright:2026,permissive
185185
trans_1st_pub:2017-09-01
186186

187187

@@ -251,14 +251,14 @@
251251
I.CSSPseudoElement:#csspseudoelement
252252
I.CSSStyleDeclaration:~CSSOM1#cssstyledeclaration
253253
I.Element:~DOM4#element
254-
I.EventTarget:~DOM4#eventtarget
255254
I.CSSStyleDeclaration:~CSSOM1#cssstyledeclaration
256255

257256
m.type:#dom-csspseudoelement-type
258257
m.element:#dom-csspseudoelement-element
259258
m.pseudo:#dom-csspseudoelement-pseudo
260259
m.~pseudoE:#dom-element-pseudo
261260
m.parent:#dom-csspseudoelement-parent
261+
m.selectorText:#dom-csspseudoelement-selectortext
262262
m.getComputedStyle:~CSSOM1#dom-window-getcomputedstyle
263263

264264

@@ -279,6 +279,7 @@
279279
pe.spelling-error:#selectordef-spelling-error
280280
pe.target-text:#selectordef-target-text
281281
pe.part():~CSSSHADOW#selectordef-part
282+
pe.scroll-button():CSSWG/css-overflow-5/#selectordef-scroll-button---scroll-button-direction
282283

283284
ps.current:~SELECTORS5#current-pseudo
284285
ps.past:~SELECTORS5#past-pseudo
@@ -1027,7 +1028,7 @@
10271028
[CSS-CASCADE-6]
10281029
Elika Etemad; Miriam Suzanne; Tab Atkins Jr.. <CSS Cascading and Inheritance Level 6>. URL: https://drafts.csswg.org/css-cascade-6/
10291030
[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/
10311032
[CSS-COLOR-ADJUST-1]
10321033
Elika Etemad; et al. <CSS Color Adjustment Module Level 1>. URL: https://drafts.csswg.org/css-color-adjust-1/
10331034
[CSS-CONTENT-3]
@@ -1047,7 +1048,7 @@
10471048
[CSS-RUBY-1]
10481049
Elika Etemad; et al. <CSS Ruby Annotation Layout Module Level 1>. URL: https://drafts.csswg.org/css-ruby-1/
10491050
[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/
10511052
[CSS-SYNTAX-3]
10521053
Tab Atkins Jr.; Simon Sapin. <CSS Syntax Module Level 3>. URL: https://drafts.csswg.org/css-syntax/
10531054
[CSS-TABLES-3]
@@ -1059,7 +1060,7 @@
10591060
[CSS-TEXT-DECOR-4]
10601061
Elika Etemad; Koji Ishii. <CSS Text Decoration Module Level 4>. URL: https://drafts.csswg.org/css-text-decor-4/
10611062
[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/
10631064
[CSS-VALUES-4]
10641065
Tab Atkins Jr.; Elika Etemad. <CSS Values and Units Module Level 4>. URL: https://drafts.csswg.org/css-values-4/
10651066
[CSS-VARIABLES-1]
@@ -1077,15 +1078,15 @@
10771078
[DOM]
10781079
Anne van Kesteren. <DOM Standard>. Living Standard. URL: https://dom.spec.whatwg.org/
10791080
[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/
10811082
[HTML]
10821083
Anne van Kesteren; et al. <HTML Standard>. Living Standard. URL: https://html.spec.whatwg.org/multipage/
10831084
[RFC2119]
10841085
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
10851086
[SELECTORS-4]
10861087
Elika Etemad; Tab Atkins Jr.. <Selectors Level 4>. URL: https://drafts.csswg.org/selectors/
10871088
[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/
10891090
[UAX44]
10901091
Ken Whistler. <Unicode Character Database>. 27 August 2025. Unicode Standard Annex #44. URL: https://www.unicode.org/reports/tr44/tr44-36.html
10911092
[URL]
@@ -1096,9 +1097,11 @@
10961097
●●ref_informative
10971098

10981099
[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/
11001101
[CSS-CASCADE-4]
11011102
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/
11021105
[CSS-DISPLAY-3]
11031106
Elika Etemad; Tab Atkins Jr.. <CSS Display Module Level 3>. URL: https://drafts.csswg.org/css-display/
11041107
[CSS22]
@@ -3922,19 +3925,13 @@ <h2 title="Additions to the CSS Object Model">7. ~CSS~obj~modelに対する追
39223925
<section id="CSSPseudoElement-interface">
39233926
<h3 title="CSSPseudoElement Interface">7.1. `CSSPseudoElement^I ~interface</h3>
39243927

3925-
<p>
3926-
`CSSPseudoElement^I ~interfaceは、
3927-
`疑似要素$も~event~targetになれるようにする。
3928-
3929-
The CSSPseudoElement interface allows pseudo-elements to be event targets.
3930-
</p>
3931-
39323928
<pre class="idl">
39333929
[`Exposed$=Window]
3934-
interface `CSSPseudoElement@I : `EventTarget$I {
3930+
interface `CSSPseudoElement@I {
39353931
readonly attribute `CSSOMString$ `type$m;
39363932
readonly attribute `Element$I `element$m;
39373933
readonly attribute (`Element$I or `CSSPseudoElement$I) `parent$m;
3934+
readonly attribute `CSSOMString$ `selectorText$m;
39383935
`CSSPseudoElement$I? `pseudo$m(`CSSOMString$ %type);
39393936
};
39403937
</pre>
@@ -4000,6 +3997,21 @@ <h3 title="CSSPseudoElement Interface">7.1. `CSSPseudoElement^I ~interface</h3>
40003997
]を返す。
40013998
40023999
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.
40034015
</dd>
40044016

40054017
<dt>`pseudo(type)@m</dt>

0 commit comments

Comments
 (0)