There are no layout tests which checks inserting a new <style scoped>, moving <style scoped> and removing <style scoped>.
Created attachment 169573 [details] Patch
Are you asking a review?
Comment on attachment 169573 [details] Patch Clearing flags on attachment: 169573 Committed r136413: <http://trac.webkit.org/changeset/136413>
All reviewed patches have been landed. Closing bug.