Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This issue is part of #1333730: [Meta] PHP DOM (libxml2) misinterprets HTML5.
The Drupal\simpletest\WebTestBase needs to be upgraded to HTML5. The HTML5-lib has no support for helping XPATH parse the DOMDocument. For that we added two helper classes: Drupal\Component\XpathHelper\Namespacer and Drupal\Component\XpathHelper\Lexer.
Beta phase evaluation
Issue priority | Major because the testing system needs HTML5 support to test HTML5 code. |
---|---|
Prioritized changes | The main goal of this issue is a bugfix to for HTML5 support, which is part of the Drupal 8 product. |
Commit credits
Please give commit credits to all who have worked on the parent issue (#1333730: [Meta] PHP DOM (libxml2) misinterprets HTML5).
Comment | File | Size | Author |
---|---|---|---|
#8 | 2441645-8.patch | 42.89 KB | daffie |
Comments
Comment #1
daffie CreditAttribution: daffie commentedComment #2
daffie CreditAttribution: daffie commentedPostponed on #2429363: Add HTML5-lib to Drupal 8 core for the filter system and for the testing system.
Comment #3
daffie CreditAttribution: daffie commentedThe library #2429363: Add HTML5-lib to Drupal 8 core for the filter system and for the testing system has landed.
Comment #5
daffie CreditAttribution: daffie commentedComment #6
daffie CreditAttribution: daffie commentedAdded the blocker tag because it is blocking:
Comment #8
daffie CreditAttribution: daffie commentedReroll mistake. Forgot to add the new files.
Comment #9
alexpottPlease roll the fixes from this patch into #2441373: Upgrade tests to HTML5