[Bug 42495] New: OPACUserCSS editor points out syntax errors that aren't there
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42495 Bug ID: 42495 Summary: OPACUserCSS editor points out syntax errors that aren't there Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Staff interface Assignee: koha-bugs@lists.koha-community.org Reporter: tadeusz@sosnierz.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Created attachment 198353 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198353&action=edit Screenshot of the issue Entering the following CSS into the OPACUserCSS editor field: ``` div.availability:has(span.noitems) { color: red; } ``` results in an error popup: "Expected RPAREN at line 1, col 26.". The CSS is correct though, and works as expected. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42495 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- I suspect it's either a bug in the CodeMirror CSS parser or a lack of support for has() in the version we use. We have 5.40.2. The latest version of 5.x is 5.65.21. There's also a version 6. See also Bug 36855. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org