Lazy-loaded <style is="custom-style">
containing mixin not shimmed correctly
#3734
Closed
1 of 6 tasks
Description
Fix for #3705 left one failing test on Firefox which has native CSS properties but not HTML imports. In this configuration when
useNativeCSSProperties
is used, the following test fails (not caught due to intermittent selenium failures on CI):https://github.com/Polymer/polymer/blob/master/test/runner.html#L75
Failure happens because lazy-loaded import containing script that calls
Polymer({...})
causes synchronous registration & upgrade of an already-parsed element before a<custom-style>
it depends on upgrades. This violates the timing requirements of theuseNativeCSSProperties
optimization, which requires that custom property bags be defined before they're used.Live Demo / Steps to Reproduce
Run test highlighted below on Firefox:
https://github.com/Polymer/polymer/blob/master/test/runner.html#L75
Browsers Affected
Versions
The text was updated successfully, but these errors were encountered: