aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow/inline/construct.rs
diff options
context:
space:
mode:
authorSimon Wülker <simon.wuelker@arcor.de>2025-05-06 14:26:15 +0200
committerGitHub <noreply@github.com>2025-05-06 12:26:15 +0000
commit51b95a62465d2034fb64f785fb1d731c30755c17 (patch)
treead083d5dbbedccbef816914bd7415788bb16d3c1 /components/layout/flow/inline/construct.rs
parent03abec4148d8e6dd4d1e816669f6c47d9a69b876 (diff)
downloadservo-51b95a62465d2034fb64f785fb1d731c30755c17.tar.gz
servo-51b95a62465d2034fb64f785fb1d731c30755c17.zip
Serialize attribute nodes as the empty string (#36875)
The existing code asserts that attribute nodes are never serialized. This is wrong, because you can pass an attribute node to `XMLSerializer::serializeToString`. Instead, the spec mandates that these are serialized as empty strings (https://w3c.github.io/DOM-Parsing/#dfn-xml-serialization-algorithm). Testing: Includes a new web platform test Fixes: https://github.com/servo/servo/issues/36872 --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
Diffstat (limited to 'components/layout/flow/inline/construct.rs')
0 files changed, 0 insertions, 0 deletions