@@ -109,9 +109,7 @@ interface Fragment {
109109
110110 readonly attribute double dominantBaseline;
111111 readonly attribute double alphabeticBaseline;
112- readonly attribute double textTopBaseline;
113- readonly attribute double textBottomBaseline;
114- readonly attribute double textCenterBaseline;
112+ readonly attribute double centerBaseline;
115113
116114 readonly attribute Object data;
117115};
@@ -189,9 +187,12 @@ The {{Fragment}}'s {{Fragment/breakToken}} specifies where the {{Box}} last frag
189187<a>current layout</a> requires a different {{Fragment/breakToken}} the author must perform
190188<<doLayout()>> again with different arguments.
191189
192- The {{Fragment}} 's {{Fragment/dominantBaseline}} , {{Fragment/alphabeticBaseline}} ,
193- {{textTopBaseline}} , {{textCenterBaseline}} , and {{Fragment/textBottomBaseline}} attributes specify
194- where all the baselines for the {{Fragment}} are positioned. They cannot be changed.
190+ The {{Fragment}} 's {{Fragment/dominantBaseline}} , {{Fragment/alphabeticBaseline}} , and
191+ {{Fragment/centerBaseline}} attributes specify where all the baselines for the {{Fragment}} are
192+ positioned. They cannot be changed.
193+
194+ The {{Fragment}} 's {{Fragment/data}} attribute is used by the author to pass arbitary data between
195+ the <a>child layout</a> and <a>current layout</a> . The data is <a>structured cloned</a> .
195196
196197Constraint Spaces {#constraint-spaces}
197198--------------------------------------
@@ -428,16 +429,11 @@ partial interface ConstraintSpace {
428429 Exclusion getLastExclusion(optional ExclusionOptions options);
429430};
430431
431- enum ExclusionTag { "exclusion", "float" };
432-
433- enum ExclusionType {
434- "none",
435- "inline-flow", "inline-start", "inline-end", "inline-both",
436- "block-flow", "block-start", "block-end", "block-both"
437- };
432+ enum ExclusionTag { "fragment", "exclusion", "float" };
433+ enum ExclusionType { "none", "inline-flow", "inline-start", "inline-end", "inline-both" };
438434
439435dictionary ExclusionOptions {
440- ExclusionTag tag = "exclusion ";
436+ ExclusionTag tag = "fragment ";
441437 ExclusionType type = "none"; // default to "inline-flow" instead?
442438};
443439
@@ -566,10 +562,10 @@ dictionary BreakTokenOptions {
566562 Object data = null;
567563};
568564
569- enum BreakType { "none", "line-word", "line-hyphen ", "column", "page", "region" };
565+ enum BreakType { "none", "line", "column", "page", "region" };
570566</pre>
571567
572- Issue: The {{BreakType}} s are probably completely wrong.
568+ Issue(w3c/css-houdini-drafts#258): What type of {{BreakType}} s are needed?
573569
574570A {{Box}} can produce multiple {{Fragment}} s. A {{Box}} may fragment in the block direction if a
575571{{ConstraintSpace/blockFragmentationOffset}} is present in the {{ConstraintSpace}} . It may fragment
0 commit comments