- From: Jer Noble via GitHub <sysbot+gh@w3.org>
- Date: Wed, 12 Mar 2025 19:07:52 +0000
- To: public-texttracks@w3.org
jernoble has just created a new issue for https://github.com/w3c/webvtt: == WebVTT should allow pages to modify the caption display area == A common use case for captions is to modify the caption display location when custom media controls show and hide. This behavior is implemented in the default controls in Safari, Chrome, and Firefox. However, sites with custom media controls are unable to implement the same behavior, at least not in a standards-compliant way. Sites have attempted to reach inside the UA-specific media element Shadow DOM, and use an internal-only CSS selector, but this breaks when User Agents (correctly) restrict access to internal-only Shadow DOM nodes or rename internal elements. WebVTT should try to solve this important use case. It may be as simple as codifying a "Caption Display Area" as a block-level element, and expose it through a pseudo-element. Then pages could modify the display area by giving that selector, e.g., a `padding-bottom:` rule. Please view or discuss this issue at https://github.com/w3c/webvtt/issues/531 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 12 March 2025 19:07:53 UTC