Skip to content

Commit c28f704

Browse files
committed
[css-layout-api] Fix apostrophes
1 parent e956a99 commit c28f704

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

css-layout-api/Overview.bs

+15-15
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,15 @@ Box Tree Transformations {#layout-api-box-tree}
150150
-----------------------------------------------
151151

152152
The <a>layout API children</a> can act in different ways depending on the value of <a for="document
153-
layout definition">layout options</a>' {{LayoutOptions/childDisplay}} (set by
153+
layout definition">layout options'</a> {{LayoutOptions/childDisplay}} (set by
154154
<code>layoutOptions</code> on the class).
155155

156-
If the value of <a for="document layout definition">layout options</a>'
156+
If the value of <a for="document layout definition">layout options'</a>
157157
{{LayoutOptions/childDisplay}} is <code>"block"</code> the 'display' value of that child is
158158
<a>blockified</a>. This is similar to children of <a>flex containers</a> or <a>grid containers</a>.
159159
See [[!css3-display]].
160160

161-
If the value of <a for="document layout definition">layout options</a>'
161+
If the value of <a for="document layout definition">layout options'</a>
162162
{{LayoutOptions/childDisplay}} is <code>"normal"</code>, no <a>blockification</a> occurs. Instead
163163
children with a <<display-outside>> <a>computed value</a> of ''inline'' (a <a>root inline box</a>)
164164
will produce a single {{LayoutFragment}} representing each line when
@@ -202,7 +202,7 @@ This section gives an overview of the Layout API given to authors.
202202
The <dfn>current layout</dfn> is the layout algorithm for the <a>box</a> we are currently performing
203203
layout for.
204204

205-
The <dfn>parent layout</dfn> is the layout algorithm for the <a>box</a>'s direct parent, (the layout
205+
The <dfn>parent layout</dfn> is the layout algorithm for the <a>box's</a> direct parent, (the layout
206206
algorithm which is requesting the <a>current layout</a> to be performed).
207207

208208
A <dfn>child layout</dfn> is the layout algorithm for a {{LayoutChild}} of the <a>current layout</a>.
@@ -569,7 +569,7 @@ enum BreakType { "none", "line", "column", "page", "region" };
569569
A {{LayoutChild}} can produce multiple {{LayoutFragment}}s. A {{LayoutChild}} may fragment in the
570570
block direction if a {{LayoutConstraints/blockFragmentationType}} is not none. Additionally
571571
{{LayoutChild}} which represents <a>inline-level</a> content, may fragment line by line if the
572-
<a for="document layout definition">layout options</a>' {{LayoutOptions/childDisplay}} (set by
572+
<a for="document layout definition">layout options'</a> {{LayoutOptions/childDisplay}} (set by
573573
<code>layoutOptions</code>) is <code>"normal"</code>.
574574

575575
A subsequent {{LayoutFragment}} is produced by using the previous {{LayoutFragment}}'s
@@ -774,10 +774,10 @@ If the user agent wishes to force a size on the box, it can use the
774774
{{LayoutConstraints/fixedInlineSize}} and {{LayoutConstraints/fixedBlockSize}} attributes to do so.
775775

776776
The <a>layout API container</a> can be passed size information in different ways depending on the
777-
value of <a for="document layout definition">layout options</a>' {{LayoutOptions/sizing}} (set by
777+
value of <a for="document layout definition">layout options'</a> {{LayoutOptions/sizing}} (set by
778778
<code>layoutOptions</code> on the class).
779779

780-
If the value of <a for="document layout definition">layout options</a>' {{LayoutOptions/sizing}} is
780+
If the value of <a for="document layout definition">layout options'</a> {{LayoutOptions/sizing}} is
781781
<code>"block-like"</code>, then the {{LayoutConstraints}} passed to the <a>layout API container</a>:
782782
- <em>Must</em> calculate and set {{LayoutConstraints/fixedInlineSize}} based off the rules
783783
specified in [[!css-sizing-3]] and the formatting context in which it participates, e.g.
@@ -794,7 +794,7 @@ If the value of <a for="document layout definition">layout options</a>' {{Layout
794794
<a>layout API container</a> has an ''height/auto'' <a>block size</a>, and cannot be determined
795795
ahead of time, {{LayoutConstraints/fixedBlockSize}} must be set to <code>null</code>.
796796

797-
If the value of <a for="document layout definition">layout options</a>' {{LayoutOptions/sizing}} is
797+
If the value of <a for="document layout definition">layout options'</a> {{LayoutOptions/sizing}} is
798798
<code>"manual"</code>, then the user-agent shouldn't pre-calculate
799799
{{LayoutConstraints/fixedInlineSize}} and/or {{LayoutConstraints/fixedBlockSize}} ahead of time,
800800
except when it is being forced to a particular size by the formatting context in which it
@@ -1363,7 +1363,7 @@ Issue: Should {{IntrinsicSizes/minContentSize}} and {{IntrinsicSizes/maxContentS
13631363
### Determining Intrinsic Sizes ### {#determining-intrinsic-sizes}
13641364

13651365
The <a>determine the intrinsic sizes</a> algorithm defines how a user agent is to query the author
1366-
defined layout for a <a>box</a>'s <a>intrinsic sizes</a> information.
1366+
defined layout for a <a>box's</a> <a>intrinsic sizes</a> information.
13671367

13681368
Note: The <a>determine the intrinsic sizes</a> algorithm allows for user agents to cache an arbitary
13691369
number of previous invocations to reuse.
@@ -1437,14 +1437,14 @@ When the user agent wants to <dfn>invoke a intrinsic sizes callback</dfn> given
14371437
represent |childBoxes|.
14381438

14391439
The {{LayoutChild/styleMap}} on each {{LayoutChild}} should be a new
1440-
{{StylePropertyMapReadOnly}} populated with <em>only</em> the <a>computed value</a>'s for
1440+
{{StylePropertyMapReadOnly}} populated with <em>only</em> the <a>computed values</a> for
14411441
properties listed in |childInputProperties|.
14421442

14431443
6. Let |edges| be a new {{LayoutEdgeSizes}} populated with the <a>computed value</a> for all the
14441444
<a>box model edges</a> for |box|.
14451445

14461446
7. Let |styleMap| be a new {{StylePropertyMapReadOnly}} populated with <em>only</em> the
1447-
<a>computed value</a>'s for properties listed in |inputProperties| for |box|.
1447+
<a>computed values</a> for properties listed in |inputProperties| for |box|.
14481448

14491449
8. At this stage the user agent may re-use the <a>intrinsic sizes</a> from a previous invocation
14501450
if |children|, |styleMap| are equivalent to that previous invocation. If so let the
@@ -1481,7 +1481,7 @@ When the user agent wants to <dfn>invoke a intrinsic sizes callback</dfn> given
14811481

14821482
### Generating Fragments ### {#generating-fragments}
14831483

1484-
The <a>generate a fragment</a> algorithm defines how a user agent is to generate a <a>box</a>'s
1484+
The <a>generate a fragment</a> algorithm defines how a user agent is to generate a <a>box's</a>
14851485
<a>fragment</a> for an author defined layout.
14861486

14871487
Note: The <a>generate a fragment</a> algorithm allows for user agents to cache an arbitary number of
@@ -1557,7 +1557,7 @@ following steps:
15571557
represent |childBoxes|.
15581558

15591559
The {{LayoutChild/styleMap}} on each {{LayoutChild}} should be a new
1560-
{{StylePropertyMapReadOnly}} populated with <em>only</em> the <a>computed value</a>'s for
1560+
{{StylePropertyMapReadOnly}} populated with <em>only</em> the <a>computed values</a> for
15611561
properties listed in |childInputProperties|.
15621562

15631563
6. Let |edges| be a new {{LayoutEdgeSizes}} populated with the <a>computed value</a> for all the
@@ -1567,7 +1567,7 @@ following steps:
15671567
information from |internalLayoutConstraints|.
15681568

15691569
8. Let |styleMap| be a new {{StylePropertyMapReadOnly}} populated with <em>only</em> the
1570-
<a>computed value</a>'s for properties listed in |inputProperties| for |box|.
1570+
<a>computed values</a> for properties listed in |inputProperties| for |box|.
15711571

15721572
9. Let |breakToken| be a new {{BreakToken}} populated with the appropriate information from
15731573
|internalBreakToken|.
@@ -1645,7 +1645,7 @@ When the user agent wants to <dfn>get a layout definition</dfn> given |name|, an
16451645

16461646
1. <a>Queue a task</a> to run the following steps:
16471647

1648-
1. Let |documentLayoutDefinitionMap| be the associated <a>document</a>'s <a>document
1648+
1. Let |documentLayoutDefinitionMap| be the associated <a>document's</a> <a>document
16491649
layout definition</a> map.
16501650

16511651
2. <a for=map>Set</a> |documentLayoutDefinitionMap|[|name|] to <code>"invalid"</code>.

0 commit comments

Comments
 (0)