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; |
}; |