This PR fixes #893 by refactoring copyStyles to avoid using cssText property when copying document.styleSheets.
Additionally, a visual element is added to the test-app widget that is styled using various property variations with both styleSheets and adoptedStyleSheets.
Seems like cssText is serialized as expected when used from within a contructable style sheet.
Changes
This PR fixes #893 by refactoring
copyStyles
to avoid usingcssText
property when copyingdocument.styleSheets
.Additionally, a visual element is added to the test-app widget that is styled using various property variations with both
styleSheets
andadoptedStyleSheets
.Seems like
cssText
is serialized as expected when used from within a contructable style sheet.Testing
Added a visual test.