Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.0.0
-
None
-
None
Description
This bug came from a corner case the Tobago guys had.
The problem is that the style tags are not retained at their proper position, but are evaled like script tags via the head appendix method.
While script tags only can be evaluated by appending them on the head for a short period of time, this is not needed for style tags.
I have a solution for this (see https://github.com/werpu/jsfs_js_ts/pull/35 in the comments)
The Tobago guys thankfully have provided a test case.
Fix will be in 4.0.1 including the provided unit test!
Note: I consider this a minor, bug, because it does not prevent the style tags to be properly evaluated by the browser, just if code needs to check for embedded style tags being in their proper location, this becomes a major issue! This very likely only affects component libraries (I have yet to have had this case in a project, hence I did not have it on the radar)
Nevertheless it will be fixed!
Attachments
Issue Links
- links to