For technical support and bug reports for all editions of CSS HTML Validator, including htmlval for Linux and Mac.
TomHTML
Rank III - Intermediate
Posts: 74 Joined: Sun Feb 04, 2018 10:19 am
Post
by TomHTML » Sun Sep 17, 2023 12:03 pm
The validator doesn't recognize CSS variables as 3rd argument in "border" (it complains "The <line-width> value has already been specified earlier in the value." and "A CSS error was found that may cause ambiguities and inconsistent presentations of the page":
Code: Select all
<style>
:root {
--anchor-underline-color: black;
}
.one {
border: 1px solid var(--anchor-underline-color);
}
</style>
Albert Wiersch
Site Admin
Posts: 3754 Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:
Post
by Albert Wiersch » Mon Sep 18, 2023 10:22 am
Thank you for this report.
This has also been fixed in the next update and those incorrect messages should no longer be generated.
TomHTML
Rank III - Intermediate
Posts: 74 Joined: Sun Feb 04, 2018 10:19 am
Post
by TomHTML » Mon Sep 18, 2023 10:34 am
Many thanks!