Skip to content

Commit 1616187

Browse files
[css-shadow-parts-1] 編集(変数名など
1 parent fd5e837 commit 1616187

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

css-shadow-parts-ja.html

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@
181181
並び:sequence
182182
tagname:::タグ名
183183
wild-card::::ワイルドカード
184+
ident:
184185

185186
COLON
186187
COMMA
@@ -572,14 +573,16 @@ <h3 title="Motivation">1.1. 動機</h3>
572573
<p>
573574
しかしながら,これでは立ち往かない事例もある。
574575
ある~componentが[
575-
自身の~shadow~tree内の何かに任意な~style付けを許容したい
576-
と望む場合
576+
自身の~shadow~tree内の何かに任意な~style付けを許容する
577+
よう望む場合
577578
何百もの`~custom~prop$を定義する他に仕方がない
578-
制御を許容したいと望む~CSS~propごとに 1 個ずつ)
579+
制御を許容するよう望む~CSS~propごとに 1 個ずつ)
579580
— それは、
580581
利用性, 処理能の両面で明白に馬鹿げている。
581582
この状況は、
582-
作者が~componentの~styleを `hover$ps の様な疑似類に基づいて違えたいと望む場合,
583+
作者が[
584+
~componentの~styleを `hover$ps の様な疑似類に基づいて違える
585+
]よう望む場合,
583586
さらに複合される
584587
— ~componentは、
585588
利用する`~custom~prop^を各~疑似類~用に重複する必要がある
@@ -921,44 +924,48 @@ <h3 title="Forwarding a Shadow Element: the exportparts attribute">2.2. ~shadow
921924

922925
<dl class="switch">
923926
<dt>
924-
<code class="value">%内縁~ : %外縁~</code>
927+
<code class="value">%内縁~ident : %外縁~ident</code>
925928
926929
innerIdent : outerIdent
927930
</dt>
928931
<dd>
929932
%子孫 の`回送される~part名~list$に
930-
( %内縁~, %外縁~ )
933+
( %内縁~ident, %外縁~ident )
931934
を追加する。
932935
933936
Adds innerIdent/outerIdent to el’s forwarded part name list.
934937
</dd>
938+
<dd class="trans-note">
939+
各 “~ident” の構文は,明示的に定義されていないが、
940+
他所の記述から, `ident$t に合致する文字列が想定されているであろう。
941+
</dd>
935942

936-
<dt>`ident^t</dt>
943+
<dt>%~ident</dt>
937944
<dd>
938945
%子孫 の`回送される~part名~list$に
939-
( `ident^t, `ident^t )
946+
( %~ident, %~ident )
940947
を追加する。
941948
942949
Adds ident/ident to el’s forwarded part name list.
943950
</dd>
944951
<dd class="note">注記:
945952
これは、
946-
<code class="value">`ident^t : `ident^t</code>
953+
<code class="value">%~ident : %~ident</code>
947954
用の略記である。
948955
949956
Note: This is shorthand for ident : ident.
950957
</dd>
951958

952959
<dt>
953-
<code class="value">%疑似要素~名 : %外縁~</code>
960+
<code class="value">%疑似要素~名 : %外縁~ident</code>
954961
955962
::ident : outerIdent
956963
</dt>
957964
<dd>
958-
%疑似要素~名 ( `::^l が接頭された `ident^t )は、
965+
%疑似要素~名 ( `::^l が接頭された~ident )は、
959966
`part-like^en 疑似要素【`全部的に~style可能な疑似要素$】の名前である場合、
960967
%子孫 の`回送される~part名~list$に
961-
( %疑似要素~名, %外縁~ ) を追加する。
968+
( %疑似要素~名, %外縁~ident ) を追加する。
962969
他の場合、
963970
何もしない。
964971

0 commit comments

Comments
 (0)