The spec requires that the user agent moves the cue out of the way when the controls are showing. As far as I can tell, we do not have the ability to write tests for this. We can't use a ref test because each browser has differently sized default controls, and therefore moves the cue a different number of pixels. Currently, there is no way to ask a cue for its location.
One possible solution is to write an API that allows querying the cue pseudo element's location, and allows querying the location of the caption display area - if we add the caption display area pseudo-element to the spec.
To prevent fingerprinting, perhaps we can make this api only available in the wpt testing environment, such as by putting the api in TestUtils or WebDriver.
The spec requires that the user agent moves the cue out of the way when the controls are showing. As far as I can tell, we do not have the ability to write tests for this. We can't use a ref test because each browser has differently sized default controls, and therefore moves the cue a different number of pixels. Currently, there is no way to ask a cue for its location.
One possible solution is to write an API that allows querying the cue pseudo element's location, and allows querying the location of the caption display area - if we add the caption display area pseudo-element to the spec.
To prevent fingerprinting, perhaps we can make this api only available in the wpt testing environment, such as by putting the api in TestUtils or WebDriver.