|
56 | 56 | </p> |
57 | 57 | <h1 class="p-name no-ref" id=title>CSS Regions Module Level 1</h1> |
58 | 58 | <h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft, |
59 | | - <span class=dt-updated><span class=value-title title=20140311>11 March 2014</span></span></span></h2> |
| 59 | + <span class=dt-updated><span class=value-title title=20140325>25 March 2014</span></span></span></h2> |
60 | 60 | <div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-regions/>http://dev.w3.org/csswg/css-regions/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-regions/>http://www.w3.org/TR/css-regions/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-regions/>http://dev.w3.org/csswg/css-regions/</a> |
61 | 61 | <dt>Feedback:</dt> |
62 | 62 | <dd><a href="mailto:www-style@w3.org?subject=%5Bcss-regions%5D%20feedback">www-style@w3.org</a> |
@@ -225,10 +225,9 @@ <h2 class="heading settled heading" data-level=1 id=introduction><span class=sec |
225 | 225 | and flowing content through areas in a paginated view. |
226 | 226 |
|
227 | 227 | <div class=example> |
228 | | - For instance, |
229 | | - linked display boxes could be created |
| 228 | + Linked display boxes can be created |
230 | 229 | to display article content above and below |
231 | | - some additional content on a page. |
| 230 | + other content on a page. |
232 | 231 | Given markup like this: |
233 | 232 |
|
234 | 233 | <pre><code class=html> |
@@ -295,8 +294,43 @@ <h2 class="heading settled heading" data-level=1 id=introduction><span class=sec |
295 | 294 | </div> |
296 | 295 |
|
297 | 296 | <div class=example> |
298 | | - An example of custom overflow handling creates an additional box inside a menu for <nav> items that would overflow a narrow navigation bar. |
299 | | - </nav></div> |
| 297 | + Custom overflow handling can be accomplished by linking a separate overflow box. In this example, the overflow box is nestled inside a menu in the markup, and only displays if the menu is toggled. |
| 298 | + |
| 299 | + <pre><code class=html> |
| 300 | + <nav> ...some links... </nav> |
| 301 | + |
| 302 | + <div class="menu"> |
| 303 | + <nav></nav> |
| 304 | + ...some more links... |
| 305 | + </div> |
| 306 | +</code></pre> |
| 307 | +<p> If the links in the main nav element are placed in a named flow, that flow can be directed through both the main nav element and the overflow nav box in the menu: |
| 308 | + |
| 309 | + <pre><code class=css> |
| 310 | + nav a { |
| 311 | + flow-into: nav-link-flow; |
| 312 | + } |
| 313 | + nav { |
| 314 | + flow-from: nav-link-flow; |
| 315 | + } |
| 316 | +</code></pre> |
| 317 | +<p> Then the main nav element and the menu can be arranged with constraints such that when the screen is too narrow for the main nav element to display all of the navigation links, the overflow moves to the menu. |
| 318 | + |
| 319 | + </p><figure> |
| 320 | + <img alt="Wide nav bar showing all of the links" src=images/menu-wide.png> |
| 321 | + <figcaption> |
| 322 | + Wide rendering with menu shown |
| 323 | + </figcaption> |
| 324 | + </figure> |
| 325 | + |
| 326 | + <figure> |
| 327 | + <img alt="Narrow nav bar with some of the links in the menu" src=images/menu-narrow.png> |
| 328 | + <figcaption> |
| 329 | + Narrow rendering with menu shown |
| 330 | + </figcaption> |
| 331 | + </figure> |
| 332 | + |
| 333 | + </div> |
300 | 334 |
|
301 | 335 | <div class=example> |
302 | 336 | An example of aggregating content can fill a named flow with content from multiple sources. |
@@ -2355,7 +2389,7 @@ <h2 class="no-num no-ref heading settled heading" id=references><span class=cont |
2355 | 2389 |
|
2356 | 2390 | <h3 class="no-num no-ref heading settled heading" id=normative><span class=content> |
2357 | 2391 | Normative References</span><a class=self-link href=#normative></a></h3> |
2358 | | -<div data-fill-with=normative-references><dl><dt id=css21 title=CSS21><a class=self-link href=#css21></a>[CSS21]<dd>Bert Bos; et al. <a href=http://www.w3.org/TR/2011/REC-CSS2-20110607>Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</a>. 7 June 2011. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2011/REC-CSS2-20110607>http://www.w3.org/TR/2011/REC-CSS2-20110607</a><dt id=css3-break title=CSS3-BREAK><a class=self-link href=#css3-break></a>[CSS3-BREAK]<dd>Rossen Atanassov; Elika J. Etemad. <a href=http://www.w3.org/TR/2012/WD-css3-break-20120823/>CSS Fragmentation Module Level 3</a>. 23 August 2012. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/WD-css3-break-20120823/>http://www.w3.org/TR/2012/WD-css3-break-20120823/</a><dt id=css3-writing-modes title=CSS3-WRITING-MODES><a class=self-link href=#css3-writing-modes></a>[CSS3-WRITING-MODES]<dd>Elika J. Etemad; Koji Ishii. <a href=http://www.w3.org/TR/2012/WD-css3-writing-modes-20121115/>CSS Writing Modes Module Level 3</a>. 15 November 2012. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/WD-css3-writing-modes-20121115/>http://www.w3.org/TR/2012/WD-css3-writing-modes-20121115/</a><dt id=css3col title=CSS3COL><a class=self-link href=#css3col></a>[CSS3COL]<dd>Håkon Wium Lie. <a href=http://www.w3.org/TR/2011/CR-css3-multicol-20110412>CSS Multi-column Layout Module</a>. 12 April 2011. W3C Candidate Recommendation. (Work in progress.) URL: <a href=http://www.w3.org/TR/2011/CR-css3-multicol-20110412>http://www.w3.org/TR/2011/CR-css3-multicol-20110412</a><dt id=cssom title=CSSOM><a class=self-link href=#cssom></a>[CSSOM]<dd>Anne van Kesteren. <a href=http://www.w3.org/TR/2011/WD-cssom-20110712/>CSSOM</a>. 12 July 2011. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2011/WD-cssom-20110712/>http://www.w3.org/TR/2011/WD-cssom-20110712/</a><dt id=dom title=DOM><a class=self-link href=#dom></a>[DOM]<dd>Anne van Kesteren; et al. <a href=http://www.w3.org/TR/2012/WD-dom-20121206/>DOM4</a>. 6 December 2012. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/WD-dom-20121206/>http://www.w3.org/TR/2012/WD-dom-20121206/</a><dt id=dom-level-3-events title=DOM-LEVEL-3-EVENTS><a class=self-link href=#dom-level-3-events></a>[DOM-LEVEL-3-EVENTS]<dd>Travis Leithead; et al. <a href=http://www.w3.org/TR/2012/WD-DOM-Level-3-Events-20120906/>Document Object Model (DOM) Level 3 Events Specification</a>. 6 September 2012. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/WD-DOM-Level-3-Events-20120906/>http://www.w3.org/TR/2012/WD-DOM-Level-3-Events-20120906/</a><dt id=rfc2119 title=RFC2119><a class=self-link href=#rfc2119></a>[RFC2119]<dd>S. Bradner. <a href=http://www.ietf.org/rfc/rfc2119.txt>Key words for use in RFCs to Indicate Requirement Levels</a>. URL: <a href=http://www.ietf.org/rfc/rfc2119.txt>http://www.ietf.org/rfc/rfc2119.txt</a><dt id=select title=SELECT><a class=self-link href=#select></a>[SELECT]<dd>Tantek Çelik; et al. <a href=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>Selectors Level 3</a>. 29 September 2011. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>http://www.w3.org/TR/2011/REC-css3-selectors-20110929/</a></dl></div> |
| 2392 | +<div data-fill-with=normative-references><dl><dt id=css21 title=CSS21><a class=self-link href=#css21></a>[CSS21]<dd>Bert Bos; et al. <a href=http://www.w3.org/TR/2011/REC-CSS2-20110607>Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</a>. 7 June 2011. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2011/REC-CSS2-20110607>http://www.w3.org/TR/2011/REC-CSS2-20110607</a><dt id=css3-break title=CSS3-BREAK><a class=self-link href=#css3-break></a>[CSS3-BREAK]<dd>Rossen Atanassov; Elika J. Etemad. <a href=http://www.w3.org/TR/2012/WD-css3-break-20120823/>CSS Fragmentation Module Level 3</a>. 23 August 2012. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/WD-css3-break-20120823/>http://www.w3.org/TR/2012/WD-css3-break-20120823/</a><dt id=css3-writing-modes title=CSS3-WRITING-MODES><a class=self-link href=#css3-writing-modes></a>[CSS3-WRITING-MODES]<dd>Elika J. Etemad; Koji Ishii. <a href=http://www.w3.org/TR/2012/WD-css3-writing-modes-20121115/>CSS Writing Modes Module Level 3</a>. 15 November 2012. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/WD-css3-writing-modes-20121115/>http://www.w3.org/TR/2012/WD-css3-writing-modes-20121115/</a><dt id=css3col title=CSS3COL><a class=self-link href=#css3col></a>[CSS3COL]<dd>Håkon Wium Lie. <a href=http://www.w3.org/TR/2011/CR-css3-multicol-20110412>CSS Multi-column Layout Module</a>. 12 April 2011. W3C Candidate Recommendation. (Work in progress.) URL: <a href=http://www.w3.org/TR/2011/CR-css3-multicol-20110412>http://www.w3.org/TR/2011/CR-css3-multicol-20110412</a><dt id=cssom title=CSSOM><a class=self-link href=#cssom></a>[CSSOM]<dd>Anne van Kesteren. <a href=http://www.w3.org/TR/2011/WD-cssom-20110712/>CSSOM</a>. 12 July 2011. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2011/WD-cssom-20110712/>http://www.w3.org/TR/2011/WD-cssom-20110712/</a><dt id=dom title=DOM><a class=self-link href=#dom></a>[DOM]<dd>Anne van Kesteren; Aryeh Gregor; Ms2ger. <a href=http://dom.spec.whatwg.org/>DOM Living Standard</a>. WHATWG Living Standard. (Work in progress.) URL: <a href=http://dom.spec.whatwg.org/>http://dom.spec.whatwg.org/</a><dt id=dom-level-3-events title=DOM-LEVEL-3-EVENTS><a class=self-link href=#dom-level-3-events></a>[DOM-LEVEL-3-EVENTS]<dd>Travis Leithead; et al. <a href=http://www.w3.org/TR/2012/WD-DOM-Level-3-Events-20120906/>Document Object Model (DOM) Level 3 Events Specification</a>. 6 September 2012. W3C Working Draft. (Work in progress.) URL: <a href=http://www.w3.org/TR/2012/WD-DOM-Level-3-Events-20120906/>http://www.w3.org/TR/2012/WD-DOM-Level-3-Events-20120906/</a><dt id=rfc2119 title=RFC2119><a class=self-link href=#rfc2119></a>[RFC2119]<dd>S. Bradner. <a href=http://www.ietf.org/rfc/rfc2119.txt>Key words for use in RFCs to Indicate Requirement Levels</a>. URL: <a href=http://www.ietf.org/rfc/rfc2119.txt>http://www.ietf.org/rfc/rfc2119.txt</a><dt id=select title=SELECT><a class=self-link href=#select></a>[SELECT]<dd>Tantek Çelik; et al. <a href=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>Selectors Level 3</a>. 29 September 2011. W3C Recommendation. URL: <a href=http://www.w3.org/TR/2011/REC-css3-selectors-20110929/>http://www.w3.org/TR/2011/REC-css3-selectors-20110929/</a></dl></div> |
2359 | 2393 |
|
2360 | 2394 | <h3 class="no-num no-ref heading settled heading" id=informative><span class=content> |
2361 | 2395 | Informative References</span><a class=self-link href=#informative></a></h3> |
|
0 commit comments