Skip to content

fix(core): box-shadow 'none' handling - #10405

Merged
NathanWalker merged 5 commits into
mainfrom
chore/cleanups
Oct 14, 2023
Merged

NathanWalker merged 5 commits into
mainfrom
chore/cleanups

Conversation

@NathanWalker

@NathanWalker NathanWalker commented Oct 13, 2023 •

Copy link
Copy Markdown
Contributor

PR Checklist

What is the current behavior?

box-shadow shorthand 'none' would work but throw a benign error in parsing.

What is the new behavior?

The value 'none' now applies normally as 'empty'.

closes #10403

@cla-bot cla-bot Bot added the cla: yes label Oct 13, 2023
@NathanWalker

Copy link
Copy Markdown
Contributor Author

@asharghi I added an extra unit test for this case to prevent in future, good catch.

Comment thread packages/core/ui/styling/css-shadow.ts Resolved
@NathanWalker
NathanWalker merged commit c23695c into main Oct 14, 2023
@NathanWalker
NathanWalker deleted the chore/cleanups branch October 14, 2023 21:22
tdermendjiev pushed a commit to tdermendjiev/NativeScript that referenced this pull request Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when box-shadow is set no none

2 participants