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 26018 - Consider separating snap-to-lines from percentage line setting
Summary: Consider separating snap-to-lines from percentage line setting
Status: NEW
Alias: None
Product: TextTracks CG
Classification: Unclassified
Component: WebVTT (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: Web Media Text Tracks CG
Depends on:
Reported: 2014-06-09 08:23 UTC by Silvia Pfeiffer
Modified: 2014-06-10 05:53 UTC (History)
3 users (show)

See Also:


Description Silvia Pfeiffer 2014-06-09 08:23:18 UTC
In bug 19178 comment #3 Loretta proposes the following:

Can we separate use of % for line position from whether snap-to-lines is true? My use cases seem to want snap-to-lines behavior, but use % values for line location. Perhaps, if snap-to-lines is true, line% could be automatically resolved to the closest line. I suppose this has the potential for mapping separate %-based lines to the same line number, but we probably already have rendering overlap happening if this is the case and we use absolute positioning.
Comment 1 Philip J├Ągenstedt 2014-06-09 11:57:38 UTC
Is the essence of this request to reduce the differences between snap-to-line and non-snap-to-lines? I'm sympathetic to that, in particular it would be nice if one could use the line-stepping overlap avoidance together with absolutely positioned cues. I don't know a use case for it, but it looks like a simplification.
Comment 2 Silvia Pfeiffer 2014-06-09 12:24:27 UTC
I think so, but maybe Loretta can clarify.

I also think it would make sense to apply the same line-stepping overlap avoidance for both snap-to-line and non-snap-to-lines. The one for non-snap-to-lines it too fuzzy right now anyway.
Comment 3 Philip J├Ągenstedt 2014-06-09 14:59:30 UTC
Yes, that overlap avoidance is rather vague, some unification in that area would be nice.
Comment 4 Loretta Guarino Reid 2014-06-10 05:53:47 UTC
Yes, unifying the overlap avoidance is desirable.