Skip to content

Commit 9a44774

Browse files
committed
Renamed the fragment() pseudo-element to flow().
1 parent ab96a2e commit 9a44774

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

css3-layout/Overview.src.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ <h2 class="no-num no-toc" id=abstract>Abstract</h2>
123123
possible break points (see the 'break-*' properties from
124124
[[CSS3-BREAK]]).
125125

126-
<p class=level4>The '::fragment()' pseudo-element allows to select
126+
<p class=level4>The <a href="#region-based">'::flow()'
127+
pseudo-element</a> allows to select
127128
(parts of) elements based on whether they fall in a certain slot or
128129
not, and thus style content differently in different slots
129130
(region-based styling).
@@ -2469,9 +2470,9 @@ <h2 id=slot-pseudo>Styling slots: the ''::slot()'' pseudo-element</h2>
24692470
<!--=================================================================-->
24702471

24712472
<div class=level4>
2472-
<h2>Styling the contents of slots: '::fragment()'</h2>
2473+
<h2 id=region-based>Styling the contents of slots: '::flow()'</h2>
24732474

2474-
<p>The ':fragment(a)' pseudo-element selects the part of an element
2475+
<p>The ':flow(a)' pseudo-element selects the part of an element
24752476
that is inside slot a (similar to how '::first-line' selects the part
24762477
of an element that is on the first line).
24772478

@@ -3675,15 +3676,14 @@ <h4>Style the slots (pseudo-elements)</h4>
36753676

36763677
<!--=================================================================-->
36773678

3678-
<h4 id=region-based>Style the contents of slots (region-based
3679-
styling)</h4>
3679+
<h4>Style the contents of slots (region-based styling)</h4>
36803680

36813681
<p>By means of a new pseudo-element, style could be applied to only
36823682
the part of an element that is inside a certain slot (similar to how
36833683
''::first-line'' applies style only to the part of an element in the
36843684
first line of a paragraph):
36853685

3686-
<pre>P::fragment(a) {font-size: large}</pre>
3686+
<pre>P::flow(a) {font-size: large}</pre>
36873687

36883688
<p>This looks like a level 4 feature.
36893689

0 commit comments

Comments
 (0)