You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// DOM tree accessors
getter object (DOMString name);
Document interface has [LegacyOverrideBuiltIns] in HTML spec. However, Chromium (Blink) doesn't implement [LegacyOverrideBuiltIns] on window.document nor Document nor HTMLDocument. As far as I tested with Firefox and Safari, Firefox and Safari also look not implementing [LegacyOverrideBuiltIns]. If so, is it really the consensus to have [LegacyOverrideBuiltIns]?
I ran the following JS code on Firefox and Safari JS console. The results were the same on both browsers.
Thanks! I was misunderstanding that [LegacyOverrideBuiltIns] has priority over own properties. It's wrong. https://webidl.spec.whatwg.org/#dfn-named-property-visibility
explicitly mentions that own properties have priority over anything else regardless of [LegacyOverrideBuiltIns].
My memory was rust. I'm sorry for taking your precious time, and really appreciate you about correcting me. :)
I have a question. Maybe I'm just misunderstanding. Please correct me if I'm wrong.
https://html.spec.whatwg.org/multipage/dom.html#htmlorsvgscriptelement
Document interface has [LegacyOverrideBuiltIns] in HTML spec. However, Chromium (Blink) doesn't implement [LegacyOverrideBuiltIns] on window.document nor Document nor HTMLDocument. As far as I tested with Firefox and Safari, Firefox and Safari also look not implementing [LegacyOverrideBuiltIns]. If so, is it really the consensus to have [LegacyOverrideBuiltIns]?
I ran the following JS code on Firefox and Safari JS console. The results were the same on both browsers.
The text was updated successfully, but these errors were encountered: