Skip to content

Commit 901ebd1

Browse files
committed
Update HTML5 serializer comments
1 parent ab47c18 commit 901ebd1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ext/dom/html5_serializer.c

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include <lexbor/encoding/encoding.h>
2828

2929
/* This file implements the HTML 5 serialization algorithm.
30-
* https://html.spec.whatwg.org/multipage/parsing.html#serialising-html-fragments (Date 2023-12-14)
30+
* https://html.spec.whatwg.org/multipage/parsing.html#serialising-html-fragments (Date 2024-12-11)
3131
*/
3232

3333
#define TRY(x) do { if (UNEXPECTED((x) != SUCCESS)) { return FAILURE; } } while (0)
@@ -371,7 +371,9 @@ zend_result dom_html5_serialize(dom_html5_serialize_context *ctx, const xmlNode
371371
children = node->children;
372372
}
373373

374-
/* Step 4 */
374+
/* Step 4 concerns shadow roots, but we don't have these, so skip. */
375+
376+
/* Step 5 */
375377
return dom_html5_serialize_node(ctx, children, node);
376378
}
377379

0 commit comments

Comments
 (0)