Add hack to avoid Firefox styling bug #12704
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This is, by all means, not an ideal solution. Something, that I am unable to determine, is causing Firefox v140 to fail to load the imported
bucket.cssstylesheet. The network request just doesn't happen after constructing the stylesheet.Adding a random space (
) character somewhere in the style tag seems to make it work for whatever reason. I chose to automate this and add it after the@importrule we can expect to exist.More details and discussion about investigation and attempts to reproduce is in #12700.
So far this does not seem to be an issue in the new version of Sandcastle (#12566) so this "hack" should only have to exist until that's done.
Issue number and link
Hack for #12700
Testing plan
npm startAuthor checklist
CONTRIBUTORS.mdCHANGES.mdwith a short summary of my change