Closed Bug 1556079 Opened 5 years ago Closed 5 years ago

[webvtt] enable wpt 'cue_too_long.html'.

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

This reference file uses wrong text, which causes failure.

Use correct text in reference file and use WebVTT's default text sans-serif for the comparison.

According to the spec 7.2.10.17 [1], if we have tried both direction and there is no place to put the cue inside the rendering area without overlapping with other cues or the boundary of rendering area, then we have to discard all CSS boxes, which means that we should not display this cue.

[1] https://www.w3.org/TR/webvtt1/#processing-cue-settings

Attachment #9069100 - Attachment description: Bug 1556079 - enable wpt 'cue_too_long.html'. → Bug 1556079 - part2 : enable and modify wpt 'cue_too_long.html'.
Blocks: 1557185
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a7c18cfb94b3
part1 : hide cue if we can't find a good place to put it fully inside the rendering area. r=heycam

Also crashes on [@ mozilla::dom::TextTrackManager::TextTrackManager(mozilla::dom::HTMLMediaElement*)]
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=251769356&repo=autoland&lineNumber=4040

Sorry, that was caused by my rebasing error. It has been fixed.

Flags: needinfo?(alwu)
Regressions: 1559260
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba6b70722629
part1 : hide cue if we can't find a good place to put it fully inside the rendering area. r=heycam
https://hg.mozilla.org/integration/autoland/rev/929d55b41980
part2 : enable and modify wpt 'cue_too_long.html'. r=heycam
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/18200 for changes under testing/web-platform/tests
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: