Noam, ptal. Does the approach make sense?
Also, any ideas about the scoped custom registry test?
test(t => {This test fails, and apparently always has. I'm not sure it does anything useful. Can I delte it? Or is there a good way to fix it?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I think this sanitizer special casing is better than doing this later in the element setting. So generally good. Found a few missing test cases that might affect implementation though.
}, "Custom element via is-attribute, where is attribute is removed.");Maybe add a test that does this but allows x-div
}, "Custom element via is-attribute, where is attribute is allowed, but the element is not.");Maybe add a test that asserts this with replaceElementWithChildren and removeElements
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
This test fails, and apparently always has. I'm not sure it does anything useful. Can I delte it? Or is there a good way to fix it?
I removed this.
}, "Custom element via is-attribute, where is attribute is removed.");Maybe add a test that does this but allows x-div
Done
}, "Custom element via is-attribute, where is attribute is allowed, but the element is not.");Maybe add a test that asserts this with replaceElementWithChildren and removeElements
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/60316.
When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.
WPT Export docs:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
5 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
[Sanitizer] Remove custom element state, when created by is=
The HTML parse will process the is= attribute and put the element into
custom element state. When later on the is= attribute is removed by the
Sanitizer, the element is still upgraded because it's been marked as
a custom element.
This change prevents the is=-related custom element to be processed,
when the streaming Sanitizer will remove it.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/60316
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |