Serialize custom element registry boundaries in XML #92
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 344 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.350
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #92"
general
weight: 0.35
lukewarlow
Serialize null and scoped custom element registry boundaries on HTML-namespace elements in XML output, matching the HTML serialization behavior proposed in https://github.com/whatwg/html/pull/12000.
An HTML element gets a generated no-namespace
customelementregistry=""attribute when its null or scoped registry differs from the registry it inherits and the attribute is not already present. HTML defines the inherited registry: the parent's, or the node document's when there is no parent or the parent is a plainDocumentFragment.Existing attributes and namespace handling are preserved, and serialization does not mutate the DOM. As with the HTML proposal, the attribute does not encode scoped registry identity or global-registry boundaries inside null/scoped subtrees.
Companion changes:
Validation of the initial November 20 revision:
--haltonerror: passed, including canonical registry references.git diff --check: passed.exit-code: 0).The normal
wpt runsetup stalled before executing tests and was stopped. The browser results above were collected by serving the unmodified test files locally and using a testharness completion callback with headless Edge.Validation of the November 24 inherited-registry follow-up:
--haltonerror: passed.git show --format= --check HEAD: passed.