@@ -109,9 +109,7 @@ interface Fragment {
109
109
110
110
readonly attribute double dominantBaseline;
111
111
readonly attribute double alphabeticBaseline;
112
- readonly attribute double textTopBaseline;
113
- readonly attribute double textBottomBaseline;
114
- readonly attribute double textCenterBaseline;
112
+ readonly attribute double centerBaseline;
115
113
116
114
readonly attribute Object data;
117
115
};
@@ -189,9 +187,12 @@ The {{Fragment}}'s {{Fragment/breakToken}} specifies where the {{Box}} last frag
189
187
<a>current layout</a> requires a different {{Fragment/breakToken}} the author must perform
190
188
<<doLayout()>> again with different arguments.
191
189
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> .
195
196
196
197
Constraint Spaces {#constraint-spaces}
197
198
--------------------------------------
@@ -428,16 +429,11 @@ partial interface ConstraintSpace {
428
429
Exclusion getLastExclusion(optional ExclusionOptions options);
429
430
};
430
431
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" };
438
434
439
435
dictionary ExclusionOptions {
440
- ExclusionTag tag = "exclusion ";
436
+ ExclusionTag tag = "fragment ";
441
437
ExclusionType type = "none"; // default to "inline-flow" instead?
442
438
};
443
439
@@ -566,10 +562,10 @@ dictionary BreakTokenOptions {
566
562
Object data = null;
567
563
};
568
564
569
- enum BreakType { "none", "line-word", "line-hyphen ", "column", "page", "region" };
565
+ enum BreakType { "none", "line", "column", "page", "region" };
570
566
</pre>
571
567
572
- Issue: The {{BreakType}} s are probably completely wrong.
568
+ Issue(w3c/css-houdini-drafts#258): What type of {{BreakType}} s are needed?
573
569
574
570
A {{Box}} can produce multiple {{Fragment}} s. A {{Box}} may fragment in the block direction if a
575
571
{{ConstraintSpace/blockFragmentationOffset}} is present in the {{ConstraintSpace}} . It may fragment
0 commit comments