Closed nicksay closed 9 years ago
This is because the current code that manages in-place style replacement always attempts to insert the new style before the existing one in the <head>
, even if the existing one is not located in the <head>
:
https://github.com/youtube/spfjs/blob/v2.1.2/src/client/net/resource.js#L305
For an existing page with the following DOM structure:
Then, attempting to load a fragment with
or attempting to call
will fail with the following error: