Skip to content

Sandcastle CSS broken on Firefox v140 #12700

@mzschwartz5

Description

@mzschwartz5

What happened?

On the latest version of Firefox (140 as of writing), Sandcastle's CSS appears to be broken:

Image

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

  1. Run Sandcastle in Firefox v140 (locally or via sandcastle.cesium.com)
  2. Observe the bad layout. Compare to Chrome or Firefox v139.
  3. 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

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions