-
e1141b0a
by Gabriel Ivăncescu at 2024-10-03T22:53:15+02:00
mshtml: Don't make hidden props enumerable.
So it matches dispex_next_id.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
-
c786070d
by Gabriel Ivăncescu at 2024-10-03T22:53:15+02:00
mshtml: Move lookup_dispid and get_dispid calls out of get_builtin_id.
They're not really "builtins" (from the type info) and we need actual
builtins for style attr checks.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
-
5788169a
by Gabriel Ivăncescu at 2024-10-03T22:53:15+02:00
mshtml: Fix builtin style translation in removeAttribute for IE9+ modes.
Because we're supposed to translate styles here to what Gecko expects via the
style table, we don't actually need to look up the *real* prototypes on the
object (what it has currently in js code), but rather just the builtin list
of style props of the object, which must include all the styles supported. So
we look into the entire builtin prototype chain.
remove_attribute also only deals with builtin dispids, so it makes no sense
to use it on the output of GetDispID in IE9+ modes. Legacy modes do remove
all props though, added tests to confirm this.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
-
2ad5d129
by Gabriel Ivăncescu at 2024-10-03T22:53:15+02:00
mshtml: Move the hook invocations inside of the builtin_prop* helpers.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
-
9bda4671
by Gabriel Ivăncescu at 2024-10-03T22:53:15+02:00
mshtml: Add support for host object accessor props.
Based on a patch by Jacek Caban.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>