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

Unified Diff: Source/core/html/track/vtt/VTTRegion.idl

Issue 1178333002: Sync audio/video/text track-related interfaces with the specs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months 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
« no previous file with comments | « Source/core/html/track/vtt/VTTCue.idl ('k') | Source/core/html/track/vtt/VTTRegionList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/vtt/VTTRegion.idl
diff --git a/Source/core/html/track/vtt/VTTRegion.idl b/Source/core/html/track/vtt/VTTRegion.idl
index b9feb5f863311300bd1cdaaa88c70e525bdf7ea8..3f18b15b416c382474e9cfe2f3f9298714bef091 100644
--- a/Source/core/html/track/vtt/VTTRegion.idl
+++ b/Source/core/html/track/vtt/VTTRegion.idl
@@ -23,19 +23,25 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://dev.w3.org/html5/webvtt/#the-vttregion-interface
+
[
Constructor,
RuntimeEnabled=WebVTTRegions,
WillBeGarbageCollected,
] interface VTTRegion {
- readonly attribute TextTrack track;
-
- attribute DOMString id;
[RaisesException=Setter] attribute double width;
+ // TODO(philipj): height should be called lines.
[RaisesException=Setter] attribute long height;
[RaisesException=Setter] attribute double regionAnchorX;
[RaisesException=Setter] attribute double regionAnchorY;
[RaisesException=Setter] attribute double viewportAnchorX;
[RaisesException=Setter] attribute double viewportAnchorY;
+ // TODO(philip): scroll should be of type ScrollSetting.
[RaisesException=Setter] attribute DOMString scroll;
+
+ // TODO(philipj): The track/id attributes are gone from the spec:
+ // https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380
+ readonly attribute TextTrack track;
+ attribute DOMString id;
};
« no previous file with comments | « Source/core/html/track/vtt/VTTCue.idl ('k') | Source/core/html/track/vtt/VTTRegionList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698