mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Only put connected elements into document's by-name-or-id cache
This fixes an issue where disconnected elements were incorrectly accessible as named properties on the document.
This commit is contained in:
parent
5f1a146afd
commit
12f5e9c5f8
Notes:
github-actions[bot]
2025-03-03 23:52:46 +00:00
Author: https://github.com/awesomekling
Commit: 12f5e9c5f8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3784
3 changed files with 95 additions and 12 deletions
|
@ -0,0 +1,15 @@
|
|||
Testing <div> element
|
||||
,,,,,,,,,,,,,,,
|
||||
|
||||
Testing <form> element
|
||||
,,,,,,[object HTMLFormElement],,[object HTMLFormElement],,,,,,,
|
||||
|
||||
Testing <img> element
|
||||
,,,,,,[object HTMLImageElement],,[object HTMLImageElement],,,,,,,
|
||||
|
||||
Testing <embed> element
|
||||
,,,,,,[object HTMLEmbedElement],,[object HTMLEmbedElement],,,,,,,
|
||||
|
||||
Testing <object> element
|
||||
,,,,,,[object HTMLObjectElement],,[object HTMLObjectElement],,[object HTMLObjectElement],[object HTMLObjectElement],,[object HTMLObjectElement],,
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue