@@ -150,15 +150,15 @@ Box Tree Transformations {#layout-api-box-tree}
150
150
-----------------------------------------------
151
151
152
152
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
154
154
<code> layoutOptions</code> on the class).
155
155
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>
157
157
{{LayoutOptions/childDisplay}} is <code> "block"</code> the 'display' value of that child is
158
158
<a>blockified</a> . This is similar to children of <a>flex containers</a> or <a>grid containers</a> .
159
159
See [[!css3-display]] .
160
160
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>
162
162
{{LayoutOptions/childDisplay}} is <code> "normal"</code> , no <a>blockification</a> occurs. Instead
163
163
children with a <<display-outside>> <a>computed value</a> of ''inline'' (a <a>root inline box</a> )
164
164
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.
202
202
The <dfn>current layout</dfn> is the layout algorithm for the <a>box</a> we are currently performing
203
203
layout for.
204
204
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
206
206
algorithm which is requesting the <a>current layout</a> to be performed).
207
207
208
208
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" };
569
569
A {{LayoutChild}} can produce multiple {{LayoutFragment}} s. A {{LayoutChild}} may fragment in the
570
570
block direction if a {{LayoutConstraints/blockFragmentationType}} is not none. Additionally
571
571
{{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
573
573
<code> layoutOptions</code> ) is <code> "normal"</code> .
574
574
575
575
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
774
774
{{LayoutConstraints/fixedInlineSize}} and {{LayoutConstraints/fixedBlockSize}} attributes to do so.
775
775
776
776
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
778
778
<code> layoutOptions</code> on the class).
779
779
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
781
781
<code> "block-like"</code> , then the {{LayoutConstraints}} passed to the <a>layout API container</a> :
782
782
- <em> Must</em> calculate and set {{LayoutConstraints/fixedInlineSize}} based off the rules
783
783
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
794
794
<a>layout API container</a> has an ''height/auto'' <a>block size</a> , and cannot be determined
795
795
ahead of time, {{LayoutConstraints/fixedBlockSize}} must be set to <code> null</code> .
796
796
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
798
798
<code> "manual"</code> , then the user-agent shouldn't pre-calculate
799
799
{{LayoutConstraints/fixedInlineSize}} and/or {{LayoutConstraints/fixedBlockSize}} ahead of time,
800
800
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
1363
1363
### Determining Intrinsic Sizes ### {#determining-intrinsic-sizes}
1364
1364
1365
1365
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.
1367
1367
1368
1368
Note: The <a>determine the intrinsic sizes</a> algorithm allows for user agents to cache an arbitary
1369
1369
number of previous invocations to reuse.
@@ -1437,14 +1437,14 @@ When the user agent wants to <dfn>invoke a intrinsic sizes callback</dfn> given
1437
1437
represent |childBoxes|.
1438
1438
1439
1439
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
1441
1441
properties listed in |childInputProperties|.
1442
1442
1443
1443
6. Let |edges| be a new {{LayoutEdgeSizes}} populated with the <a>computed value</a> for all the
1444
1444
<a>box model edges</a> for |box|.
1445
1445
1446
1446
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|.
1448
1448
1449
1449
8. At this stage the user agent may re-use the <a>intrinsic sizes</a> from a previous invocation
1450
1450
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
1481
1481
1482
1482
### Generating Fragments ### {#generating-fragments}
1483
1483
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>
1485
1485
<a>fragment</a> for an author defined layout.
1486
1486
1487
1487
Note: The <a>generate a fragment</a> algorithm allows for user agents to cache an arbitary number of
@@ -1557,7 +1557,7 @@ following steps:
1557
1557
represent |childBoxes|.
1558
1558
1559
1559
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
1561
1561
properties listed in |childInputProperties|.
1562
1562
1563
1563
6. Let |edges| be a new {{LayoutEdgeSizes}} populated with the <a>computed value</a> for all the
@@ -1567,7 +1567,7 @@ following steps:
1567
1567
information from |internalLayoutConstraints|.
1568
1568
1569
1569
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|.
1571
1571
1572
1572
9. Let |breakToken| be a new {{BreakToken}} populated with the appropriate information from
1573
1573
|internalBreakToken|.
@@ -1645,7 +1645,7 @@ When the user agent wants to <dfn>get a layout definition</dfn> given |name|, an
1645
1645
1646
1646
1. <a>Queue a task</a> to run the following steps:
1647
1647
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
1649
1649
layout definition</a> map.
1650
1650
1651
1651
2. <a for=map>Set</a> |documentLayoutDefinitionMap|[|name|] to <code> "invalid"</code> .
0 commit comments