mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Implement the :muted
pseudo-class
This commit is contained in:
parent
7b4ae43b91
commit
c8a51f232d
Notes:
sideshowbarker
2024-07-17 03:30:41 +09:00
Author: https://github.com/AtkinsSJ
Commit: c8a51f232d
Pull-request: https://github.com/SerenityOS/serenity/pull/20302
Reviewed-by: https://github.com/trflynn89 ✅
6 changed files with 16 additions and 0 deletions
|
@ -414,6 +414,7 @@ void HTMLMediaElement::set_muted(bool muted)
|
|||
|
||||
m_muted = muted;
|
||||
volume_or_muted_attribute_changed();
|
||||
set_needs_style_update(true);
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/media.html#user-interface:dom-media-volume-3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue