-
Notifications
You must be signed in to change notification settings - Fork 8
HSL validation #5
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
Comments
Cheers for the heads up @slashwhatever. You'll need to clone the repo and create the pull request out of your cloned repo. |
Yea no worries - just having some issues with my public key for some
reason. Will get it sorted and commit asap.
…On Tue, 3 Mar 2020 at 08:58, Wallace Sidhrée ***@***.***> wrote:
Cheers for the heads up @slashwhatever <https://github.com/slashwhatever>.
You'll need to clone the repo and create the pull request out of your
cloned repo.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5?email_source=notifications&email_token=AAHTKOYVQVUW5F6DITIBSX3RFTBB7A5CNFSM4K7GSRBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENSUIYY#issuecomment-593839203>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHTKO7PREQHIMYLDN6JC63RFTBB7ANCNFSM4K7GSRBA>
.
|
Oh, I meant fork the repo, not clone. |
As I began my efforts on validating the upcoming CSS colors on #8, I chose to separate each color format into their own dedicated validation (all validations were contained in a single regular expression literal). That led me to find quite a few problems with the HSL validation, that was quite weak. I re-wrote it and now get the following (in relation to the former validation): False positives (valid before, invalid now)
False negatives (invalid before, valid now)
My changes are not pushed yet, but will be pushed by tomorrow. I'll mark this issue as solved, then. |
For color: hsl(12, 12%, 120)
The library classifies it as valid but Chrome and Firefox don't.
Edit: I have a PR ready to commit but I get an access denied when trying to create the pull request.
The text was updated successfully, but these errors were encountered: