Skip to content

Commit afc5239

Browse files
committed
Generated. Do not edit!
1 parent 97f02b9 commit afc5239

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

css-template/Overview.html

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5125,8 +5125,19 @@ <h4 id=select-after-pseudo><span class=secno>9.2.13. </span>Style the
51255125
<p>Yet another possibility is a generic ‘<code
51265126
class=css>region()</code>’ pseudo-element:
51275127

5128-
<pre>P::region(BODY::slot(c)) { color: yellow }
5129-
EM::region(P::first-line) { font-weight: normal }</pre>
5128+
<pre>P::region(slot(c)) { color: yellow }
5129+
EM::region(first-line) { font-weight: normal }</pre>
5130+
5131+
<p>Or without the nested parentheses:
5132+
5133+
<pre>P::region(slot c) { color: yellow }
5134+
EM::region(first-line) { font-weight: normal }</pre>
5135+
5136+
<p>The name “region” may not be the best. Some alternatives are:
5137+
5138+
<pre>EM::part(first-line) { font-weight: normal }
5139+
EM::inside(first-line) { font-weight: normal }
5140+
EM::overlap(first-line) { font-weight: normal }</pre>
51305141

51315142
<p>And <a href="#CSS3-REGIONS"
51325143
rel=biblioentry>[CSS3-REGIONS]<!--{{CSS3-REGIONS}}--></a> proposes an

0 commit comments

Comments
 (0)