File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments