php-src/ext/dom/tests/modern
Niels Dossche 111072a9f0
Fix GH-18744: PHP 8.4 classList works not correctly if copy HTMLElement by clone keyword.
The $classList property is special in the sense that it's a cached
object instance per (HTML)Element instance. The reason for this design
is because it has the [[SameObject]] IDL attribute.
Cloning in PHP also clones the properties, so it also clones the cached
instance. To solve this, we undo this by resetting the backing storage.

Closes GH-18749.
2025-06-04 18:59:05 +02:00
..
common
css_selectors Backport lexbor/lexbor#274 2025-05-04 12:57:54 +02:00
extensions
html
spec
token_list Fix GH-18744: PHP 8.4 classList works not correctly if copy HTMLElement by clone keyword. 2025-06-04 18:59:05 +02:00
xml