Skip to content

Commit

Permalink
[css-layout-api] Fix apostrophes
Browse files Browse the repository at this point in the history
  • Loading branch information
bfgeek committed Mar 23, 2018
1 parent e956a99 commit c28f704
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions css-layout-api/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,15 @@ Box Tree Transformations {#layout-api-box-tree}
-----------------------------------------------

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1. Let |documentLayoutDefinitionMap| be the associated <a>document</a>'s <a>document
1. Let |documentLayoutDefinitionMap| be the associated <a>document's</a> <a>document
layout definition</a> map.

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

0 comments on commit c28f704

Please sign in to comment.