Skip to content

There is no way to test the behavior that the cue moves out of the way of controls #535

@danae404

Description

@danae404

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions