Astro Info
Astro v5.3.0
Node v18.20.3
System Linux (x64)
Package Manager unknown
Output static
Adapter none
Integrations none
If this issue only occurs in one browser, which browser is a problem?
Chrome, Firefox
Describe the Bug
Regression from #8005
The 500 page does not include styles, either external or in a <style> tag, when rendered dynamically.
Styles for the page that responded with 500 are erroneously included.
What's the expected result?
I expect both linked external styles and <style> tag styles to be included in the 500 page, and styles from the page that caused the error to not be included.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-xaacpmav
Participation
Astro Info
If this issue only occurs in one browser, which browser is a problem?
Chrome, Firefox
Describe the Bug
Regression from #8005
The 500 page does not include styles, either external or in a <style> tag, when rendered dynamically.
Styles for the page that responded with 500 are erroneously included.
What's the expected result?
I expect both linked external styles and <style> tag styles to be included in the 500 page, and styles from the page that caused the error to not be included.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-xaacpmav
Participation