Skip to content

Commit afac4fc

Browse files
committed
add a test for the changes to parsing adjascent text ndoes
1 parent 99f8fe1 commit afac4fc

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

src/tests/dom/node.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,3 +224,9 @@
224224
testing.expectEqual(6, Node.ENTITY_NODE);
225225
testing.expectEqual(12, Node.NOTATION_NODE);
226226
</script>
227+
228+
<span id=token class="token" style="color:#ce9178">&quot;puppeteer &quot;</span>
229+
<script id=normalize>
230+
const token = $('#token');
231+
testing.expectEqual('"puppeteer "', token.firstChild.nodeValue)
232+
</script>

vendor/netsurf/libdom

vendor/netsurf/libhubbub

0 commit comments

Comments
 (0)