summaryrefslogtreecommitdiffstatshomepage
path: root/package.json
diff options
context:
space:
mode:
authorDennis Snell <dmsnell@git.wordpress.org>2024-08-08 17:02:46 +0000
committerDennis Snell <dmsnell@git.wordpress.org>2024-08-08 17:02:46 +0000
commit7ceb8394c75d52c9c263b0cf201527fda8935bf8 (patch)
treec1ca5c4fe83a04323b1569e0c7e68e56e3d21dc9 /package.json
parentb9014d69e3b34db9e4ec792fd48651241ae4a4f9 (diff)
downloadwordpress-7ceb8394c75d52c9c263b0cf201527fda8935bf8.tar.gz
wordpress-7ceb8394c75d52c9c263b0cf201527fda8935bf8.zip
HTML API: Test and fix SVG script handling.
When support was added for foreign content, an ambiguity in the HTML specification led to code that followed the wrong path when encountering a self-closing SCRIPT element in the SVG namespace. Further, a fallthrough was discovered during manual testing. This patch adds a new test to assert the proper behaviors and fixes these issues. In the case of the SCRIPT element, the outcome was the same with the wrong code path, making the defect benign. In the case of the fallthrough, the wrong behavior would occur. The updates in this patch also resolves a todo relating to the spec ambiguity. Developed in https://github.com/wordpress/wordpress-develop/pull/7164 Discussed in https://core.trac.wordpress.org/ticket/61576 Follow-up to [58868]. Props: dmsnell, jonsurrell. See #61576. git-svn-id: https://develop.svn.wordpress.org/trunk@58871 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'package.json')
0 files changed, 0 insertions, 0 deletions