This task collects a number of workaround needed for the "old" DOM implementation in PHP <=8.3 which are not needed once we are consistently using the "new" DOM implementation in PHP 8.4.
- PHP mishandles math/svg elements (T429711), requiring "localName" workarounds.