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
parent 0d635100c4
commit e176871fdf
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) \