Files
serenity/Tests/LibWeb/Text/expected/DOM/Range-containing-CDATASection.txt
Tim Ledbetter 8c56eb0743 LibWeb: Calculate length for all CharacterData type nodes correctly
We now ensure that `Node::is_character_data()` returns true for all
nodes of type character data.

Previously, calling `Node::length()` on `CDataSection` or
`ProcessingInstruction` nodes would return an incorrect value.

(cherry picked from commit 3802d9ccc4ea4428b82c6d584c3667c040cb46c7)
2024-07-28 07:32:31 -04:00

2 lines
37 B
Plaintext

range start offset: 0, end offset: 3