-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Description
What happened?
On the latest version of Firefox (140 as of writing), Sandcastle's CSS appears to be broken:
Firefox v139 and Chrome do not exhibit this issue.
@jjspace found that changing the import URL of the bucket.css file from:
@import url(../templates/bucket.css);
to
@import url("../templates/bucket.css"); (quotes added)
fixes the issue on Firefox v140. He also noted that the MDN spec says quotations are optional, so this could be a bug in Firefox. However, it seems that this bug is not reproducible in a minimal example app, so something else in Sandcastle may be contributing.
Reproduction steps
- Run Sandcastle in Firefox v140 (locally or via sandcastle.cesium.com)
- Observe the bad layout. Compare to Chrome or Firefox v139.
- To observe "fix," add quotes to the bucket.css import URL in one of the sandcastle gallerly html files and serve locally.
Sandcastle example
No response
Environment
Browser: Firefox v144
CesiumJS Version: 1.130.1
Operating System: MacOS Sequoia 15.5 M4 Pro