mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
script Exclude CDATASection
nodes from Node::normalize()
(#37550)
Exclude CDATASection nodes from Node::normalize. I made it under the assumption that CDATAs can't have children so we don't need to go into the `else node.Normalize()` branch on line 3485 with them, hope this is correct. Testing: covered by `dom/nodes/Node-normalize.html` Fixes: https://github.com/servo/servo/issues/37006 --------- Signed-off-by: Rodion Borovyk <rodion.borovyk@gmail.com>
This commit is contained in:
parent
06b5422abf
commit
3a54ddd034
3 changed files with 9 additions and 9 deletions
|
@ -1,3 +0,0 @@
|
|||
[Node-normalize.html]
|
||||
[Non-text nodes with empty textContent values.]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue