Skip to content

Commit 3dbdc24

Browse files
committed
[css-inline] add appendix on synthesizing missing baselines
1 parent 2fc30cf commit 3dbdc24

2 files changed

Lines changed: 75 additions & 7 deletions

File tree

css-inline/Overview.bs

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,33 @@ Floats always clear an initial letter when floated to the same side. When floate
801801

802802
Issue: Is this the behavior we want? What if the float is on the same line as the initial letter?
803803

804+
<h2 class="no-num" id="appendix-a">
805+
Appendix A: Synthesizing Baselines</h2>
806+
807+
Some fonts may not contain the baseline information necessary to align properly as described above.
808+
User agents should follow these steps in the absence of a necessary metric:
809+
810+
<ol>
811+
812+
<li>Measure the font.
813+
814+
<div class="issue">Describe in more detail. Should we document which characters in which scripts are useful, such as lowercase "o" to measure x-height?</div>
815+
</li>
816+
817+
<li>Use a heuristic for the script. </li>
818+
819+
<li>Use fallback values:
820+
821+
<ol>
822+
823+
<li>x-height: .5em;</li>
824+
825+
<li>cap-height: .66em;</li>
826+
827+
<li>hanging baseline: .6em;</li>
828+
</ol>
829+
</li>
830+
804831

805832
<h2 class="no-num" id="ack">
806833
Acknowledgments</h2>
@@ -810,4 +837,4 @@ Eric A. Meyer and Michel Suignard.
810837

811838
<p>In additions to the authors, this specification would not have been possible without the help from:
812839

813-
<p>David Baron, John Daggett, Stephen Deach, Sujal Parikh, Grzegorz Zygmunt, Chris Wilson, David M Brown, Bobby Tung, Shinyu Murakami, David Hyatt, Sylvain Galineau, Alan Stearns, Ted O'Connor.
840+
<p>David Baron, John Daggett, Stephen Deach, Sujal Parikh, Grzegorz Zygmunt, Chris Wilson, David M Brown, Bobby Tung, Shinyu Murakami, David Hyatt, Sylvain Galineau, Alan Stearns, Ted OConnor.

css-inline/Overview.html

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<h1 class="p-name no-ref" id="title">CSS Inline Layout Module Level 3</h1>
9191

9292
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft,
93-
<time class="dt-updated" datetime="2015-08-27">27 August 2015</time></span></h2>
93+
<time class="dt-updated" datetime="2015-09-01">1 September 2015</time></span></h2>
9494

9595
<div data-fill-with="spec-metadata">
9696
<dl>
@@ -251,6 +251,8 @@ <h2 class="no-num no-toc no-ref heading settled" id="contents"><span class="cont
251251
Interaction with floats</span></a>
252252
</ul>
253253
</ul>
254+
<li><a href="#appendix-a"><span class="secno"></span> <span class="content">
255+
Appendix A: Synthesizing Baselines</span></a>
254256
<li><a href="#ack"><span class="secno"></span> <span class="content">
255257
Acknowledgments</span></a>
256258
<li><a href="#conformance"><span class="secno"></span> <span class="content">
@@ -1445,21 +1447,59 @@ <h4 class="heading settled" data-level="2.10.3" id="initial-letter-floats"><span
14451447
<p class="issue" id="issue-2ad0a0cb"><a class="self-link" href="#issue-2ad0a0cb"></a> Is this the behavior we want? What if the float is on the same line as the initial letter?</p>
14461448

14471449

1450+
<h2 class="no-num heading settled" id="appendix-a"><span class="content">
1451+
Appendix A: Synthesizing Baselines</span><a class="self-link" href="#appendix-a"></a></h2>
14481452

1449-
<h2 class="no-num heading settled" id="ack"><span class="content">
1453+
1454+
<p>Some fonts may not contain the baseline information necessary to align properly as described above.
1455+
User agents should follow these steps in the absence of a necessary metric:</p>
1456+
1457+
1458+
<ol>
1459+
1460+
1461+
<li>Measure the font.
1462+
1463+
1464+
<div class="issue" id="issue-3d9f0fe7"><a class="self-link" href="#issue-3d9f0fe7"></a>Describe in more detail. Should we document which characters in which scripts are useful, such as lowercase "o" to measure x-height?</div>
1465+
1466+
1467+
1468+
<li>Use a heuristic for the script.
1469+
1470+
1471+
<li>Use fallback values:
1472+
1473+
1474+
<ol>
1475+
1476+
1477+
<li>x-height: .5em;
1478+
1479+
1480+
<li>cap-height: .66em;
1481+
1482+
1483+
<li>hanging baseline: .6em;
1484+
</ol>
1485+
1486+
1487+
1488+
1489+
<h2 class="no-num heading settled" id="ack"><span class="content">
14501490
Acknowledgments</span><a class="self-link" href="#ack"></a></h2>
14511491

14521492

1453-
<p>Special thanks goes to the initial authors,
1493+
<p>Special thanks goes to the initial authors,
14541494
Eric A. Meyer and Michel Suignard.
14551495

14561496
</p>
1457-
<p>In additions to the authors, this specification would not have been possible without the help from:
1497+
<p>In additions to the authors, this specification would not have been possible without the help from:
14581498

14591499
</p>
1460-
<p>David Baron, John Daggett, Stephen Deach, Sujal Parikh, Grzegorz Zygmunt, Chris Wilson, David M Brown, Bobby Tung, Shinyu Murakami, David Hyatt, Sylvain Galineau, Alan Stearns, Ted O’Connor.
1500+
<p>David Baron, John Daggett, Stephen Deach, Sujal Parikh, Grzegorz Zygmunt, Chris Wilson, David M Brown, Bobby Tung, Shinyu Murakami, David Hyatt, Sylvain Galineau, Alan Stearns, Ted O’Connor.
14611501

1462-
</p></main>
1502+
</p></ol></main>
14631503

14641504
<h2 class="no-ref no-num heading settled" id="conformance"><span class="content">
14651505
Conformance</span><a class="self-link" href="#conformance"></a></h2>
@@ -1894,5 +1934,6 @@ <h2 class="no-num heading settled" id="issues-index"><span class="content">Issue
18941934
<div class="issue"> Edit figure to show how auto behaves in varying contexts<a href="#issue-c4ff3304"></a></div>
18951935
<div class="issue"> Handle glyph ink above cap height of font.<a href="#issue-f77cbeb9"></a></div>
18961936
<div class="issue"> Is this the behavior we want? What if the float is on the same line as the initial letter?<a href="#issue-2ad0a0cb"></a></div>
1937+
<div class="issue">Describe in more detail. Should we document which characters in which scripts are useful, such as lowercase "o" to measure x-height?<a href="#issue-3d9f0fe7"></a></div>
18971938
</div></body>
18981939
</html>

0 commit comments

Comments
 (0)