1212 rel =dcterms.rights >
1313 < meta content ="CSS Regions Module Level 1 " name =dcterms.title >
1414 < meta content =text name =dcterms.type >
15- < meta content =2013-11-26 name =dcterms.date >
15+ < meta content =2013-11-27 name =dcterms.date >
1616 < meta content ="Vincent Hardy " name =dcterms.creator >
1717 < meta content ="Rossen Atanassov " name =dcterms.creator >
1818 < meta content ="Alan Stearns " name =dcterms.creator >
4646
4747 < h1 id =css-regions-module > CSS Regions Module Level 1</ h1 >
4848
49- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 26 November
49+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 27 November
5050 2013</ h2 >
5151
5252 < dl >
@@ -235,7 +235,7 @@ <h2 class="no-num no-toc" id=table-of-contents>Table of contents</h2>
235235 </ span > The region-fragment property</ a >
236236
237237 < li > < a href ="#the-region-pseudo-element "> < span class =secno > 3.5.
238- </ span > The ::region() functional pseudo-element</ a >
238+ </ span > The ::region pseudo-element</ a >
239239 </ ul >
240240
241241 < li > < a href ="#multi-column-regions "> < span class =secno > 4.
@@ -534,21 +534,20 @@ <h3 id=region-styling><span class=secno>1.2. </span>CSS Region names and
534534 < div class =example >
535535 < pre >
536536<style>
537- #region1::region(p) {
537+ #region1::region p {
538538 color: #0C3D5F;
539539 font-weight: bold;
540540 }
541541</style></ pre >
542542 </ div >
543543
544- < p > The < code class =css > ::region()</ code > functional pseudo-element takes a
545- < code class =css > p</ code > selector as an argument in this example. The
546- color and font-weight declarations will apply to any fragments of
547- paragraphs that are displayed in < code class =css > #region1</ code > . The
548- following figure shows how the rendering changes if we apply this styling
549- specific to < code > #region1</ code > . Note how less text fits into this box
550- now that the ‘< code class =property > font-weight</ code > ’ is bold instead
551- of normal.
544+ < p > The < code class =css > ::region</ code > pseudo-element is followed by a
545+ < code class =css > p</ code > relative selector in this example. The color and
546+ font-weight declarations will apply to any fragments of paragraphs that
547+ are displayed in < code class =css > #region1</ code > . The following figure
548+ shows how the rendering changes if we apply this styling specific to
549+ < code > #region1</ code > . Note how less text fits into this box now that the
550+ ‘< code class =property > font-weight</ code > ’ is bold instead of normal.
552551
553552 < div class =figure > < img
554553 alt ="Illustrate how changing region styling affects the flow of content. "
@@ -1428,46 +1427,37 @@ <h3 id=the-region-fragment-property><span class=secno>3.4. </span>The
14281427 href ="#ref-CSS21 " rel =biblioentry > [CSS21]<!--{{CSS21}}--> </ a > ).
14291428 </ div >
14301429
1431- < h3 id =the-region-pseudo-element > < span class =secno > 3.5. </ span > The
1432- ::region() functional pseudo-element</ h3 >
1430+ < h3 id =the-region-pseudo-element > < span class =secno > 3.5. </ span > The ::region
1431+ pseudo-element</ h3 >
14331432
1434- < p > A ::region() functional pseudo-element can be appended to a selector
1435- that matches a < a href ="#css-region "> CSS Region</ a > , and takes a selector
1436- as an argument. This allows style declarations to be applied to fragments
1437- of named flow content flowing through particular regions.
1433+ < p > A ::region pseudo-element represents a relationship between a selector
1434+ that matches a < a href ="#css-region "> CSS Region</ a > , and a relative
1435+ selector that matches some named flow content. This allows style
1436+ declarations to be applied to fragments of named flow content flowing into
1437+ particular regions.
14381438
14391439 < pre >
1440- <region selector>::region( <content selector>) {
1440+ <region selector>::region <content selector> {
14411441 ... CSS styling declarations ...
14421442}
14431443 </ pre >
14441444
1445- < div class =issue-marker > < a
1446- href ="https://www.w3.org/Bugs/Public/show_bug.cgi?id=23238 "> Issue-23238</ a >
1447-
1448- < div class =issue-details >
1449- < p class =short-desc > Region styling syntax should sync with ‘< code
1450- class =property > distributed</ code > ’ from Shadow DOM
1451- </ div >
1452- </ div >
1453-
1454- < p > When the ::region() pseudo-element is appended to a < a
1445+ < p > When the ::region pseudo-element is appended to a < a
14551446 href ="http://www.w3.org/TR/css3-selectors/#selector-syntax "> selector</ a >
14561447 that matches one or more < a href ="#css-region " title ="CSS Region "> CSS
14571448 Regions</ a > , this creates a ‘< code class =css > flow fragment</ code > ’
14581449 selector. The flow fragment selector specifies which range of elements in
1459- the flow can be matched by the selector argument . The selector argument
1450+ the flow can be matched by the relative selector . The relative selector
14601451 can match elements in the range(s) (see < a href ="#ref-DOM "
14611452 rel =biblioentry > [DOM]<!--{{!DOM}}--> </ a > ) of the named flow that are
1462- displayed in the selected region(s).
1453+ displayed fully or partially in the selected region(s).
14631454
14641455 < p > Elements that are fully or partially in the flow fragment range may
1465- match a selector argument . However, the style declarations only apply to
1456+ match the relative selector . However, the style declarations only apply to
14661457 the fragment of the element that is displayed in the corresponding
14671458 region(s).
14681459
1469- < p > Only a limited list of properties apply to a ::region() functional
1470- pseudo-element:
1460+ < p > Only a limited list of properties apply to a ::region pseudo-element:
14711461
14721462 < ol >
14731463 < li > < a href ="http://www.w3.org/TR/CSS2/fonts.html "> font properties</ a >
@@ -1537,7 +1527,7 @@ <h3 id=the-region-pseudo-element><span class=secno>3.5. </span>The
15371527
15381528 < div class =example id =region-style-example >
15391529 < p > In the following example, the < a href ="#named-flow0 "> named flow</ a >
1540- ‘< code class =property > article-flow</ code > ’ flows through ‘< code
1530+ ‘< code class =property > article-flow</ code > ’ flows into ‘< code
15411531 class =css > region-1</ code > ’ and ‘< code class =css > region-2</ code > ’.
15421532
15431533 < pre >
@@ -1551,7 +1541,7 @@ <h3 id=the-region-pseudo-element><span class=secno>3.5. </span>The
15511541 }
15521542
15531543 /* region styling */
1554- < strong > #region-1::region(p) </ strong > {
1544+ < strong > #region-1::region p </ strong > {
15551545 margin-right: 5em;
15561546 }
15571547</style>
@@ -1586,19 +1576,18 @@ <h3 id=the-region-pseudo-element><span class=secno>3.5. </span>The
15861576 </ div >
15871577
15881578 < p > The region styling applies to flow content that fits in ‘< code
1589- class =css > region-1</ code > ’. The selector argument matches ‘< code
1579+ class =css > region-1</ code > ’. The relative selector matches ‘< code
15901580 class =css > p-1</ code > ’ and ‘< code class =css > p-2</ code > ’ because
15911581 these paragraphs flow into ‘< code class =css > region-1</ code > ’. Only
15921582 the fragment of ‘< code class =css > p-2</ code > ’ that flows into ‘< code
15931583 class =css > region-1</ code > ’ is styled with the pseudo-element.
15941584 </ div >
15951585
1596- < p > All of the selectors in a ::region() functional pseudo-element
1597- contribute to its < a
1586+ < p > All of the selectors in a ::region pseudo-element contribute to its < a
15981587 href ="http://www.w3.org/TR/css3-selectors/#specificity "> specificity</ a > .
1599- So the specificity of the ::region() pseudo-element in the example above
1588+ So the specificity of the ::region pseudo-element in the example above
16001589 would combine the id selector's specificity with the specificity of the
1601- type selector in the argument , resulting in a specificity of 101.
1590+ type selector, resulting in a specificity of 101.
16021591
16031592 < p > Selectors that match a given element or element fragment (as described
16041593 above), participate in the < a
@@ -2842,6 +2831,8 @@ <h3 id="changes_from_May_28_2013"><span class=secno>12.1. </span>Changes
28422831 28< sup > th</ sup > 2013</ a > version</ h3 >
28432832
28442833 < ul >
2834+ < li > Changed ::region() to ::region
2835+
28452836 < li > display:none elements do not become CSS Regions
28462837
28472838 < li > Clarify accessibility interactions with flow-into
0 commit comments