Skip to content

Commit 4c505d2

Browse files
committed
[css-line-grid] add css-page links
1 parent f31b789 commit 4c505d2

2 files changed

Lines changed: 14 additions & 8 deletions

File tree

css-line-grid/Overview.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
</p>
7777
<h1 class="p-name no-ref" id=title>CSS Line Grid Module Level 1</h1>
7878
<h2 class="no-num no-toc no-ref heading settled" id=subtitle><span class=content>Editor’s Draft,
79-
<span class=dt-updated><span class=value-title title=20141014>14 October 2014</span></span></span></h2>
79+
<span class=dt-updated><span class=value-title title=20141015>15 October 2014</span></span></span></h2>
8080
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-line-grid/>http://dev.w3.org/csswg/css-line-grid/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-line-grid-1/>http://www.w3.org/TR/css-line-grid-1/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2014/WD-css-line-grid-1-20140916/ rel=previous>http://www.w3.org/TR/2014/WD-css-line-grid-1-20140916/</a><dt>Feedback:<dd><span><a href="mailto:www-style@w3.org?subject=[css-line-grid] feedback">www-style@w3.org</a> with subject line “<kbd>[css-line-grid] <var>… message topic …</var></kbd>” (<a href=http://lists.w3.org/Archives/Public/www-style/ rel=discussion>archives</a>)</span><dt>Editors:<dd><div class="p-author h-card vcard"><a class="p-name fn u-url url" href=http://fantasai.inkedblade.net/contact>Elika Etemad</a> (<span class="p-org org">Invited Expert</span>)</div><dd><div class="p-author h-card vcard"><a class="p-name fn u-email email" href=mailto:kojiishi@gluesoft.co.jp>Koji Ishii</a> (<span class="p-org org">Invited Expert</span>)</div><dd><div class="p-author h-card vcard"><a class="p-name fn u-email email" href=mailto:stearns@adobe.com>Alan Stearns</a> (<span class="p-org org">Adobe Systems, Inc.</span>)</div></dl></div>
8181
<div data-fill-with=warning></div>
8282
<p class=copyright data-fill-with=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a> © 2014 <a href=http://www.w3.org/><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href=http://www.csail.mit.edu/><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href=http://www.ercim.eu/><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href=http://www.keio.ac.jp/>Keio</a>, <a href=http://ev.buaa.edu.cn/>Beihang</a>), All Rights Reserved. W3C <a href=http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer>liability</a>, <a href=http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks>trademark</a> and <a href=http://www.w3.org/Consortium/Legal/copyright-documents>document use</a> rules apply.
@@ -334,11 +334,14 @@ <h2 class="heading settled" data-level=2 id=line-grid><span class=secno>2. </spa
334334
no page begins with the bottom part of a line’s grid.
335335
</dl>
336336

337-
<p>If <a class=property data-link-type=propdesc href=#propdef-line-grid title=line-grid>line-grid</a> is used within an <span class=css>@page</span> rule,
338-
the line grid is established based on the <span class=css>page box</span>,
339-
not the <span class=css>page area</span>.
337+
<p>If <a class=property data-link-type=propdesc href=#propdef-line-grid title=line-grid>line-grid</a> is used within an <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-page-3/#at-ruledef-page title=@page>@page</a> rule,
338+
the line grid is created based on the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-page-3/#page-box title="page box">page box</a>,
339+
not the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-page-3/#page-area title="page area">page area</a>.
340340
This allows all pages of a document to share a common grid,
341-
even if page margins, border and/or padding change.</p>
341+
even if page margins, border and/or padding change.
342+
If a line grid is needed in the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-page-3/#page-area title="page area">page area</a>,
343+
<a class=property data-link-type=propdesc href=#propdef-line-grid title=line-grid>line-grid</a> can be used on a top-level element (such as body)
344+
that is flowed into the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-page-3/#page-area title="page area">page area</a>.</p>
342345

343346
<p class=issue id=issue-bfbf120d><a class=self-link href=#issue-bfbf120d></a>The names of these values is currently up for debate.
344347
Current suggestions for <a class=css data-link-type=maybe href=#valdef-line-grid-match-parent title=match-parent>match-parent</a>

css-line-grid/Overview.src.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,13 @@ <h2 id='line-grid'>
246246
</dl>
247247

248248
If 'line-grid' is used within an ''@page'' rule,
249-
the line grid is established based on the ''page box'',
250-
not the ''page area''.
249+
the line grid is created based on the <a>page box</a>,
250+
not the <a>page area</a>.
251251
This allows all pages of a document to share a common grid,
252-
even if page margins, border and/or padding change.
252+
even if page margins, border and/or padding change.
253+
If a line grid is needed in the <a>page area</a>,
254+
'line-grid' can be used on a top-level element (such as body)
255+
that is flowed into the <a>page area</a>.
253256

254257
Issue: The names of these values is currently up for debate.
255258
Current suggestions for ''match-parent''

0 commit comments

Comments
 (0)