[jfx25u] RFR: 8368166: Media query should accept multiple rules

Michael Strauß mstrauss at openjdk.org
Fri Oct 3 15:19:00 UTC 2025


On Fri, 3 Oct 2025 14:38:19 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> @mstr2 Since this touches the CSS parser, I want to be extra careful when backporting it. How safe do you think this fix is? Could it affect anything other than `@media` queries?

The code path is not hit unless you have at least one media query. I think the biggest risk is not with well-formed stylesheets, but potentially different parsing behavior for malformed stylesheets (what was broken before, could now be broken differently). But in total, the risk seems rather low.

-------------

PR Comment: https://git.openjdk.org/jfx25u/pull/21#issuecomment-3366139927


More information about the openjfx-dev mailing list