Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Unified Diff: Source/core/html/track/VTTCue.idl

Issue 69993003: Split VTTCue from TextTrackCue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..f12c7b18b367dfb036512139271a60dc865c787e 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;
+ [SetterRaisesException] attribute DOMString vertical;
+ attribute boolean snapToLines;
+ [SetterRaisesException] attribute long line;
+ [SetterRaisesException] attribute long position;
+ [SetterRaisesException] attribute long size;
+ [SetterRaisesException] attribute DOMString align;
+ attribute DOMString text;
+ DocumentFragment getCueAsHTML();
+};

Powered by Google App Engine
This is Rietveld 408576698