Correctly expand CSS `border-width` property by rockwotj · Pull Request #68 · phax/ph-css

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

phax merged 1 commit intophax:masterfrom

rockwotj:patch-1

Jun 9, 2021

Merged

Correctly expand CSS border-width property#68

phax merged 1 commit intophax:masterfrom

rockwotj:patch-1

Conversation

@rockwotj

Copy link

Contributor

@rockwotj rockwotj commented

Jun 9, 2021

According to https://developer.mozilla.org/en-US/docs/Web/CSS/border-width should support 2 value and 3 value variants and right now it doesn't.

According to https://developer.mozilla.org/en-US/docs/Web/CSS/border-width should support 2 value and 3 value variants and right now it doesn't.

@phax

Copy link

Owner

phax commented

Jun 9, 2021

That's a tricky one, because it would also expand border-width: thick; to border-width: thick thick thick thick;

@rockwotj

Copy link

Contributor Author

rockwotj commented

Jun 9, 2021

Isn't that the correct behavior? Chrome seems to tell me it is:

image

image

@rockwotj

Copy link

Contributor Author

rockwotj commented

Jun 9, 2021

Today if I do: border-width: thick it gets expanded to border-width: thick 3px 3px 3px which seems wrong...

@phax

Copy link

Owner

phax commented

Jun 9, 2021

Point taken 🤣

rockwotj reacted with laugh emoji

@phax phax merged commit fe77328 into phax:master

Jun 9, 2021

@rockwotj rockwotj deleted the patch-1 branch

June 9, 2021 15:00

@phax

Copy link

Owner

phax commented

Jun 9, 2021

edited

Loading

Are you having any more errors in the pipeline or can I build a 6.3.4 release? @rockwotj

@rockwotj

Copy link

Contributor Author

rockwotj commented

Jun 9, 2021

No other errors at the moment, thanks!

phax added a commit that referenced this pull request

Jun 9, 2021

@phax

Copy link

Owner

phax commented

Jun 9, 2021

Great. Release 6.3.4 is on its way to Maven Central

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@rockwotj @phax