LibWeb: Use [Reflect] to implement HTMLImageElement.decoding

This ensures the correct behavior when the value of the `decoding`
attribute is changed with `setAttribute()`.
This commit is contained in:
Tim Ledbetter 2024-11-26 18:27:11 +00:00 committed by Tim Ledbetter
commit e176871fdf
Notes: github-actions[bot] 2024-11-26 21:57:24 +00:00
4 changed files with 15 additions and 40 deletions

View file

@ -60,6 +60,7 @@ namespace AttributeNames {
__ENUMERATE_HTML_ATTRIBUTE(data) \
__ENUMERATE_HTML_ATTRIBUTE(datetime) \
__ENUMERATE_HTML_ATTRIBUTE(declare) \
__ENUMERATE_HTML_ATTRIBUTE(decoding) \
__ENUMERATE_HTML_ATTRIBUTE(default_) \
__ENUMERATE_HTML_ATTRIBUTE(defaultchecked) \
__ENUMERATE_HTML_ATTRIBUTE(defaultselected) \