mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibWeb: Implement the legacy Audio factory function
This creates an Audio element with preload="auto" and the given src attribute. Required by Cookie Clicker.
This commit is contained in:
parent
79ea30bc96
commit
ed76b4238c
Notes:
sideshowbarker
2024-07-17 18:15:00 +09:00
Author: https://github.com/Lubrsi
Commit: ed76b4238c
Pull-request: https://github.com/SerenityOS/serenity/pull/12773
5 changed files with 249 additions and 151 deletions
|
@ -167,6 +167,7 @@ namespace AttributeNames {
|
|||
__ENUMERATE_HTML_ATTRIBUTE(placeholder) \
|
||||
__ENUMERATE_HTML_ATTRIBUTE(playsinline) \
|
||||
__ENUMERATE_HTML_ATTRIBUTE(poster) \
|
||||
__ENUMERATE_HTML_ATTRIBUTE(preload) \
|
||||
__ENUMERATE_HTML_ATTRIBUTE(readonly) \
|
||||
__ENUMERATE_HTML_ATTRIBUTE(rel) \
|
||||
__ENUMERATE_HTML_ATTRIBUTE(required) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue