mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
LibWeb: Make Node::is_text() return true for CDATASection nodes
CDATASection inherits from Text, and so it was incorrect for them to claim not to be Text nodes. This fixes at least two WPT subtests. :^) It also exposed a bug in the DOM Parsing and Serialization spec, where we're not told how to serialize CDATASection nodes. Spec bug: https://github.com/w3c/DOM-Parsing/issues/38
This commit is contained in:
committed by
Tim Ledbetter
parent
564dc0a434
commit
6ffc7ea36d
Notes:
github-actions[bot]
2024-11-19 19:25:35 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/6ffc7ea36d4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2441 Reviewed-by: https://github.com/tcl3 ✅
1089
Tests/LibWeb/Text/input/wpt-import/dom/common.js
Normal file
1089
Tests/LibWeb/Text/input/wpt-import/dom/common.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user