Index: Source/core/html/track/vtt/VTTCue.idl |
diff --git a/Source/core/html/track/vtt/VTTCue.idl b/Source/core/html/track/vtt/VTTCue.idl |
index 537f0352d6d48ca83b79aabc6c40231b0667f9a4..3ca0307dfa3833e35322b1a45a7ae1140a27cb27 100644 |
--- a/Source/core/html/track/vtt/VTTCue.idl |
+++ b/Source/core/html/track/vtt/VTTCue.idl |
@@ -27,18 +27,21 @@ |
* OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+enum DirectionSetting { "" /* horizontal */, "rl", "lr" }; |
+enum AlignSetting { "start", "middle", "end", "left", "right" }; |
+ |
[ |
Constructor(double startTime, double endTime, DOMString text), |
ConstructorCallWith=Document, |
SetWrapperReferenceFrom=owner, |
] interface VTTCue : TextTrackCue { |
[RuntimeEnabled=WebVTTRegions] attribute DOMString regionId; |
- [RaisesException=Setter] attribute DOMString vertical; |
+ attribute DirectionSetting vertical; |
attribute boolean snapToLines; |
[RaisesException=Setter] attribute long line; |
[RaisesException=Setter] attribute long position; |
[RaisesException=Setter] attribute long size; |
- [RaisesException=Setter] attribute DOMString align; |
+ attribute AlignSetting align; |
attribute DOMString text; |
DocumentFragment getCueAsHTML(); |
}; |