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

Michael Strauß mstrauss at openjdk.org
Tue Sep 23 16:37:04 UTC 2025


On Tue, 23 Sep 2025 16:26:06 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Than you for updating the error message!
> 
> What are the numbers in square brackets? Is it sufficient for the user to determine where the problem is?
> 
> For example, when I enter a single '{' in the monkey tester CSS Playground -> Custom CSS field, I get the following output:
> 
> `WARNING: CSS Error parsing '{: Expected RBRACE at [-1,-1]`
> 
> what does `[-1,-1]` refer to?

It's the line and column number. [-1,-1] means that the CSS parser doesn't know where the error is. One of the many deficiencies of the CSS implementation.

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

PR Comment: https://git.openjdk.org/jfx/pull/1915#issuecomment-3324774022


More information about the openjfx-dev mailing list