@@ -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, <span>with some additional styling,
76+ that may</span> break <div>FLOAT!</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">
532539partial interface ConstraintSpace {
533540 // TODO add arguments to layoutOpportunities that make sense.
534- ConstraintSpaceIterable layoutOpportunities(optional LayoutOpportunitiesOptions);
541+ ConstraintSpaceIterable layoutOpportunities(optional LayoutOpportunitiesOptions options );
535542};
536543
537544dictionary LayoutOpportunitiesOptions {
538- optional sequence<ExclusionTag> avoid = «» ; // empty list is avoid everything. :)
539- optional sequence<ExclusionTag> clear = «» ; // defaults to clear nothing.
540- optional number jump; // defaults to 1em.
545+ sequence<ExclusionTag> avoid; // defualts to empty list to avoid everything.
546+ sequence<ExclusionTag> clear; // defaults to clear nothing.
547+ number jump; // defaults to 1em.
541548};
542549
543550enum LayoutDirection { "inline", "block" };
0 commit comments