Index: Source/core/html/track/VTTCue.idl |
diff --git a/Source/core/css/xhtmlmp.css b/Source/core/html/track/VTTCue.idl |
similarity index 72% |
copy from Source/core/css/xhtmlmp.css |
copy to Source/core/html/track/VTTCue.idl |
index 11ea1cf1a031cfbf2694983c810bab1f925d99ae..5464248c061e06707726b18a4acf330a9dafd327 100644 |
--- a/Source/core/css/xhtmlmp.css |
+++ b/Source/core/html/track/VTTCue.idl |
@@ -27,11 +27,18 @@ |
* OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-/* Default styles for XHTML Mobile Profile documents where they differ from html.css */ |
- |
-@viewport { |
- width: auto; |
- /* Ideally these should be removed. Currently here to avoid test result regressions. */ |
- min-zoom: 0.25; |
- max-zoom: 5; |
-} |
+[ |
+ RuntimeEnabled=VideoTrack, |
+ Constructor(double startTime, double endTime, DOMString text), |
+ ConstructorCallWith=Document |
+] interface VTTCue : TextTrackCue { |
+ [RuntimeEnabled=WebVTTRegions] attribute DOMString regionId; |
+ [RaisesException=Setter] attribute DOMString 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 DOMString text; |
+ DocumentFragment getCueAsHTML(); |
+}; |