-
Notifications
You must be signed in to change notification settings - Fork 383
Closed
Labels
bugSomething isn't workingSomething isn't workingcode-blockshtmlIssues with HTML and related web technology (html/css/scss/js)Issues with HTML and related web technology (html/css/scss/js)themesRelated to HTML theming or any other style related issue (like highlight-style)Related to HTML theming or any other style related issue (like highlight-style)
Milestone
Description
Similar to #12399, the a11y highlighting style also has stylesheet bleed problems when JS is disabled.
I remembered that we will need to do light, dark, light stylesheets for syntax highlighting in NoJS, just as we are doing for main stylesheets in #12514
So I looked at our deployed test, and sure enough, there is bad syntax highlighting in light mode with JS disabled:

https://gordonwoodhull.github.io/quarto-web-safari-bugless/docs/computations/python.html
The a11y dark style rule for "imports" code span.im
has higher specificity than the light style, which does not define this one.

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcode-blockshtmlIssues with HTML and related web technology (html/css/scss/js)Issues with HTML and related web technology (html/css/scss/js)themesRelated to HTML theming or any other style related issue (like highlight-style)Related to HTML theming or any other style related issue (like highlight-style)