gecko-dev/dom/media/webvtt
alwu 119f85db3a Bug 1536762 - part2 : use first line box's size as positioning basic unit. r=heycam,baku
According to the spec [1] 7.2.10.2, we should use the first line box's height or width as positioning unit to adjust box's position.

We will also use this value to adjust box when `snap-to-line` is false.

There, we implement a new chrome-only API to acquire this information, which would return the first line box's size in the `block` frame.

[1] https://www.w3.org/TR/webvtt1/#ref-for-webvtt-cue-snap-to-lines-flag-12

Differential Revision: https://phabricator.services.mozilla.com/D29745

--HG--
extra : moz-landing-system : lando
2019-05-09 19:22:33 +00:00
..
tests Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
components.conf Bug 1524688: Part 52 - Convert WebVTT components to static registration. r=heycam 2019-01-30 11:31:25 -08:00
moz.build Bug 1524688: Part 52 - Convert WebVTT components to static registration. r=heycam 2019-01-30 11:31:25 -08:00
nsIWebVTTListener.idl
nsIWebVTTParserWrapper.idl Bug 1452183 part 1. Stop using nsIDOMDocumentFragment in IDL files. r=mccr8 2018-04-17 21:13:03 -04:00
package.json
update-webvtt.js
vtt.jsm Bug 1536762 - part2 : use first line box's size as positioning basic unit. r=heycam,baku 2019-05-09 19:22:33 +00:00
WebVTTParserWrapper.jsm Bug 1524688: Part 52 - Convert WebVTT components to static registration. r=heycam 2019-01-30 11:31:25 -08:00