File tree Expand file tree Collapse file tree 4 files changed +44
-0
lines changed Expand file tree Collapse file tree 4 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 355
355
</xs : complexType >
356
356
</xs : element >
357
357
358
+ <!-- region text -->
358
359
<xs : element name =" text" >
359
360
<xs : complexType >
360
361
<xs : simpleContent >
395
396
</xs : restriction >
396
397
</xs : simpleType >
397
398
</xs : attribute >
399
+
400
+ <xs : attribute name =" minimum-lines" default =" 0" >
401
+ <xs : annotation >
402
+ <xs : documentation >Defines the minimum number of lines to reserve vertical space for when
403
+ rendering this text element.
404
+ </xs : documentation >
405
+ </xs : annotation >
406
+ <xs : simpleType >
407
+ <xs : restriction base =" xs:int" >
408
+ <xs : minInclusive value =" 0" />
409
+ </xs : restriction >
410
+ </xs : simpleType >
411
+ </xs : attribute >
412
+
398
413
<xs : attributeGroup ref =" content:baseAttributes" />
399
414
</xs : extension >
400
415
</xs : simpleContent >
439
454
<xs : element name =" text" type =" content:textType" />
440
455
</xs : sequence >
441
456
</xs : complexType >
457
+ <!-- endregion text -->
442
458
443
459
<xs : element name =" image" >
444
460
<xs : annotation >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <page xmlns : content =" https://mobile-content-api.cru.org/xmlns/content"
3
+ xmlns =" https://mobile-content-api.cru.org/xmlns/tract" >
4
+ <hero >
5
+ <content : paragraph >
6
+ <content : text minimum-lines =" -1" >-1 Lines</content : text >
7
+ </content : paragraph >
8
+ </hero >
9
+ </page >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <page xmlns : content =" https://mobile-content-api.cru.org/xmlns/content"
3
+ xmlns =" https://mobile-content-api.cru.org/xmlns/tract" >
4
+ <hero >
5
+ <content : paragraph >
6
+ <content : text minimum-lines =" a" >"a" Lines</content : text >
7
+ </content : paragraph >
8
+ </hero >
9
+ </page >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <page xmlns : content =" https://mobile-content-api.cru.org/xmlns/content"
3
+ xmlns =" https://mobile-content-api.cru.org/xmlns/tract" >
4
+ <hero >
5
+ <content : paragraph >
6
+ <content : text minimum-lines =" 0" >0 Lines</content : text >
7
+ <content : text minimum-lines =" 5" >5 Lines</content : text >
8
+ </content : paragraph >
9
+ </hero >
10
+ </page >
You can’t perform that action at this time.
0 commit comments