You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the polyfill parses and replaces a disabled style or link element. In the case of a link element, it gets replaced with a non-disabled, polyfilled version. This is clearly a bug.
One option would be to skip parsing of disabled stylesheets, but then we may want to watch and parse them if they become un-disabled?
Another option would be to parse them, but replace the link with another disabled link. This is easier to implement, and ensures that if the stylesheet is later un-disabled then the polyfilled styles would be loaded.
The text was updated successfully, but these errors were encountered:
This was raised in #242 and #243.
Right now the polyfill parses and replaces a disabled
style
orlink
element. In the case of alink
element, it gets replaced with a non-disabled, polyfilled version. This is clearly a bug.One option would be to skip parsing of
disabled
stylesheets, but then we may want to watch and parse them if they become un-disabled?Another option would be to parse them, but replace the
link
with anotherdisabled
link. This is easier to implement, and ensures that if the stylesheet is later un-disabled then the polyfilled styles would be loaded.The text was updated successfully, but these errors were encountered: