1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 08:42:29 +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
..
2024-10-30 20:55:50 +01:00
2024-09-23 22:19:15 +02:00
2024-06-29 15:18:34 +01:00
2025-05-19 19:11:22 +02:00
2024-06-29 13:00:26 -07:00
2024-07-15 11:10:51 +02:00
2024-07-15 11:10:51 +02:00
2024-08-31 11:56:34 +02:00
2024-06-26 12:17:12 -07:00
2024-07-15 11:10:51 +02:00
2024-07-15 11:10:51 +02:00
2024-07-15 11:10:51 +02:00
2025-01-17 19:37:14 +01:00
2024-08-31 11:56:34 +02:00
2024-05-13 19:46:51 +02:00
2024-07-15 11:10:51 +02:00
2024-07-15 11:10:51 +02:00
2024-07-02 21:34:23 +02:00
2024-07-15 11:10:51 +02:00
2024-10-10 19:29:16 +02:00