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

Reference: https://www.drupal.org/core/beta-changes
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).

CommentFileSizeAuthor
#8 2441645-8.patch42.89 KBdaffie
#6 2441645-6.patch15.66 KBdaffie
#1 2441645-1.patch42.9 KBdaffie
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

daffie’s picture

Issue summary: View changes
FileSize
42.9 KB
daffie’s picture

daffie’s picture

Status: Postponed » Needs review

Status: Needs review » Needs work

The last submitted patch, 1: 2441645-1.patch, failed testing.

daffie’s picture

Issue tags: +Needs reroll
daffie’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll +blocker
FileSize
15.66 KB

Status: Needs review » Needs work

The last submitted patch, 6: 2441645-6.patch, failed testing.

daffie’s picture

Status: Needs work » Needs review
FileSize
42.89 KB

Reroll mistake. Forgot to add the new files.

alexpott’s picture

Status: Needs review » Closed (duplicate)
Related issues: +#2441373: Upgrade tests to HTML5

Please roll the fixes from this patch into #2441373: Upgrade tests to HTML5