1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
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
..
2025-03-10 20:22:11 +01:00
2025-03-10 20:22:11 +01:00
2025-03-10 20:22:11 +01:00
2023-10-18 17:34:10 +02:00
2024-10-22 00:17:12 +02:00
2023-07-14 14:37:11 +02:00
2023-07-11 23:02:01 +02:00
2023-10-18 19:21:43 +02:00
2024-06-28 22:29:03 +02:00
2024-12-14 12:12:40 +01:00
2024-12-21 12:50:04 +01:00