Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
<audio> element counter-scaling causes overlapping media elements whe…
…n page scale is < 1 https://bugs.webkit.org/show_bug.cgi?id=255428 rdar://105846526 Reviewed by Tim Horton. We counter scale <audio> controls on iOS, which causes them to escape their element bounds if the user zooms out. Add a setting to disable this behaviour. * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml: Add a new setting AudioControlsScaleWithPageZoom to mirror the generic Media setting. * Source/WebCore/html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::setMediaControlsDependOnPageScaleFactor): Add a test that escapes before setting the value. Canonical link: https://commits.webkit.org/262952@main
- Loading branch information
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters