Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Prevent css parsing if any style textfield is empty #780

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

jperedadnr
Copy link
Collaborator

Issue

Fixes #774

The css expression propertyVal + ": " + valueVal + ";" only makes sense if both property and value are not empty. This fix prevents an unnecessary parsing call that derives in uncaught CSS warnings.

Progress

@jperedadnr jperedadnr changed the title Fix: Prevent css parsing if any style textfield is empty fix: Prevent css parsing if any style textfield is empty Oct 28, 2024
@jperedadnr jperedadnr merged commit 2a13273 into gluonhq:master Oct 30, 2024
3 checks passed
@jperedadnr jperedadnr deleted the 774-csswarnings branch October 30, 2024 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WARNING: CSS Error parsing in-line style '-fx-background-image: ;': Unexpected token ';' at [1,22]
3 participants