This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 18185 - <track> snapToLines should throw InvalidStateError if the new value is false and "line" is negative or greater than 100
Summary: <track> snapToLines should throw InvalidStateError if the new value is false ...
Status: RESOLVED MOVED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: CR HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Robin Berjon
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 17:36 UTC by contributor
Modified: 2013-06-06 02:42 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2012-07-18 17:36:00 UTC
This was was cloned from bug 16917 as part of operation convergence.
Originally filed: 2012-05-03 11:57:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-05-03 11:57:32 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html
Multipage: http://www.whatwg.org/C#text-track-api
Complete: http://www.whatwg.org/c#text-track-api

Comment:
snapToLines should throw InvalidStateError if the new value is false and
"line" is negative or greater than 100

Posted from: 88.131.66.80 by simonp@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.3; U; en) Presto/2.10.229 Version/11.62
================================================================================
 #1   Simon Pieters                                   2012-05-03 11:59:09 +0000 
--------------------------------------------------------------------------------
Currently this throws:

cue.snapToLines = false;
cue.line = -1; // throws IndexSizeError

but this doesn't throw:

cue.snapToLines = true;
cue.line = -1;
cue.snapToLines = false; // this should not be allowed
================================================================================
Comment 1 Silvia Pfeiffer 2013-06-06 02:42:00 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

  http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected

Rationale: Bug refers to WebVTT-specific section which is in the process of being removed from HTML spec, see Bug 21851

Bug will be pursued in Bug 16917 in the WebVTT spec