- From: Dana Estra via GitHub <noreply@w3.org>
- Date: Tue, 11 Nov 2025 00:21:33 +0000
- To: public-texttracks@w3.org
danae404 has just created a new issue for https://github.com/w3c/webvtt: == There is no way to test the behavior that the cue moves out of the way of controls == 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's css properties, and to use this in conjunction with the Caption Display Area pseudo-element proposed in [WebVTT should allow pages to modify the caption display area](https://github.com/w3c/webvtt/issues/531). This way a test could check that the cue is located within the area of the caption display area. To mitigate fingerprinting, we could make the querying api only available in a testing environment. Please view or discuss this issue at https://github.com/w3c/webvtt/issues/535 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 11 November 2025 00:21:33 UTC