Repository navigation
fix(core): reset border-color on an empty value - #22
Open
farfromrefug wants to merge 1 commit into
Open
farfromrefug wants to merge 1 commit into
farfromrefug wants to merge 1 commit into
Conversation
Setting borderColor to an empty string threw "Expected 1, 2, 3 or 4 parameters" since the shorthand is split on top-level separators, which leaves no part for an empty value. Treat it like unsetValue, so a binding that is still empty (a theme color not resolved yet) no longer aborts the view creation. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
farfromrefug
force-pushed
the
fix/border-color-empty-string-fork
branch
from
November 27, 2026 22:23
6e8a385 to
b85d402
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Same fix as the upstream PR, cherry-picked on the fork
main.view.style.borderColor = ''threwExpected 1, 2, 3 or 4 parameters. Actual:. An empty or whitespace-only value now resets the four side colors, likeunsetValue. Spec added instyle-properties.spec.ts.Not run on this branch: the spec fails to load in a bare vitest config here (circular import through
view-common), so it was verified on the upstream-based branch only.🤖 Generated with Claude Code