Skip to content

Commit 177bb45

Browse files
committed
[css-layout-api] Fix bikeshed build.
1 parent 5e6312a commit 177bb45

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

css-layout-api/Overview.bs

+12-5
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,14 @@ A box could be generated by:
6868
NOTE: Other pseudo-elements such as <a>::first-letter</a> or <a>::first-line</a> do not generate
6969
a box for layout purposes. They are additional styling information for a text node.
7070

71-
- A <a>Text</a> node.
71+
- A sequence of non-atomic inlines.
72+
73+
NOTE: As an example the following would be placed into a single box:
74+
<pre class="lang-html">
75+
This is a text node, &lt;span>with some additional styling,
76+
that may&lt;/span> break &lt;div>FLOAT!&lt;/div>over multiple lines.
77+
</pre>
78+
The float would be returned as an {{Fragment/unpositionedBoxes}} for the relevant fragment.
7279

7380
- An anonymous box. For example an anonymous box may be inserted as a result of:
7481

@@ -531,13 +538,13 @@ TODO add example of exclusion usage.
531538
<pre class="idl">
532539
partial interface ConstraintSpace {
533540
// TODO add arguments to layoutOpportunities that make sense.
534-
ConstraintSpaceIterable layoutOpportunities(optional LayoutOpportunitiesOptions);
541+
ConstraintSpaceIterable layoutOpportunities(optional LayoutOpportunitiesOptions options);
535542
};
536543

537544
dictionary LayoutOpportunitiesOptions {
538-
optional sequence&lt;ExclusionTag> avoid = «»; // empty list is avoid everything. :)
539-
optional sequence&lt;ExclusionTag> clear = «»; // defaults to clear nothing.
540-
optional number jump; // defaults to 1em.
545+
sequence&lt;ExclusionTag> avoid; // defualts to empty list to avoid everything.
546+
sequence&lt;ExclusionTag> clear; // defaults to clear nothing.
547+
number jump; // defaults to 1em.
541548
};
542549

543550
enum LayoutDirection { "inline", "block" };

0 commit comments

Comments
 (0)