When sanitizing scoped attribute of <style> element it makes sense to do it before DisallowedAttribute exception is raised (because scoped is not in sets of allowed attributes) and it also makes sense to continue when this attribute is deleted from an element.
I've found this bug because notebook files contains style elements with scoped attibutes.
When sanitizing
scoped
attribute of<style>
element it makes sense to do it before DisallowedAttribute exception is raised (because scoped is not in sets of allowed attributes) and it also makes sense tocontinue
when this attribute is deleted from an element.I've found this bug because notebook files contains style elements with scoped attibutes.