Skip to content

Commit 26f1b2f

Browse files
committed
[css-inline] add example of non-integral number of lines for drop initial
1 parent 6850bc0 commit 26f1b2f

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

css-inline/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,11 @@ this triggers the special layout considerations described below.
386386
<dd>Represents a <a>raised initial</a> 3 lines high, 1 line deep.
387387

388388
<img src="images/InitialLetter31.png" alt="3 lines high, 1 line deep" width="360"/>
389+
390+
<dt>''initial-letter: 2.51 3''
391+
<dd>The size of the initial letter does not have to be an integral number of lines. In this case only the bottom aligns.
392+
393+
<img src="images/non-integer-initial.png" alt="Non-integral initial letter that only aligns at base" width="360"/>
389394
</dl>
390395

391396
</div>

css-inline/Overview.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<div class="head">
5959
<p data-fill-with="logo"><a class="logo" href="http://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/Icons/w3c_home" width="72"> </a> </p>
6060
<h1 class="p-name no-ref" id="title">CSS Inline Layout Module Level 3</h1>
61-
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2015-09-23">23 September 2015</time></span></h2>
61+
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2015-09-24">24 September 2015</time></span></h2>
6262
<div data-fill-with="spec-metadata">
6363
<dl>
6464
<dt>This version:
@@ -524,8 +524,8 @@ <h3 class="heading settled" data-level="2.3" id="sizing-drop-initials"><span cla
524524
<p>An <dfn data-dfn-type="dfn" data-lt="initial letter | initial letter box" data-noexport="" id="initial-letter">initial letter<a class="self-link" href="#initial-letter"></a></dfn> is
525525
a box to which <a class="property" data-link-type="propdesc" href="#propdef-initial-letter">initial-letter</a> applies and is not <a class="css" data-link-type="maybe" href="#valdef-initial-letter-normal">normal</a>:
526526
this triggers the special layout considerations described below.</p>
527-
<div class="example" id="example-f3165b99">
528-
<a class="self-link" href="#example-f3165b99"></a> Here are some examples of <a class="property" data-link-type="propdesc" href="#propdef-initial-letter">initial-letter</a> usage:
527+
<div class="example" id="example-b3584378">
528+
<a class="self-link" href="#example-b3584378"></a> Here are some examples of <a class="property" data-link-type="propdesc" href="#propdef-initial-letter">initial-letter</a> usage:
529529
<dl>
530530
<dt><a class="css" data-link-type="propdesc" href="#propdef-initial-letter">initial-letter: 3</a>
531531
<dt>(<a class="css" data-link-type="propdesc" href="#propdef-initial-letter">initial-letter: 3 3</a>)
@@ -540,6 +540,10 @@ <h3 class="heading settled" data-level="2.3" id="sizing-drop-initials"><span cla
540540
<dd>
541541
Represents a <a data-link-type="dfn" href="#raised-initial">raised initial</a> 3 lines high, 1 line deep.
542542
<p><img alt="3 lines high, 1 line deep" src="images/InitialLetter31.png" width="360"></p>
543+
<dt><a class="css" data-link-type="propdesc" href="#propdef-initial-letter">initial-letter: 2.45 3</a>
544+
<dd>
545+
The size of the initial letter does not have to be an integral number of lines. In this case only the bottom aligns.
546+
<p><img alt="Non-integral initial letter that only aligns at base" src="images/non-integer-initial.png" width="360"></p>
543547
</dl>
544548
</div>
545549
<div class="example" id="example-3c97a721">
161 KB
Loading

0 commit comments

Comments
 (0)