www-validator List

Post here if your message doesn't fit into another forum but is still about web development. Includes site critiques, web hosting and server questions, helpful software and resources, and more.
Post Reply
User avatar
Lou
Rank V - Professional
Rank V - Professional
Posts: 258
Joined: Fri Jul 29, 2005 5:55 pm
Location: CO
Contact:

www-validator List

Post by Lou » Tue Dec 12, 2017 5:12 pm

Post received to day;
Date: Tue, 12 Dec 2017 14:30:49 -0800
To: www-validator@w3.org
Subject: two validators disagree
Resent-From: www-validator@w3.org
Resent-Sender: www-validator-request@w3.org
Precedence: list
List-Id: <www-validator.w3.org>

The HTML validator says:
Warning: The type attribute for the style element is not needed and =
should be omitted.

The CSS validator says:
Warning: You should add a 'type' attribute with a value of 'text/css' to =
the 'style=E2=80=99 element

Could the two of them at least try to get their stories straight?
Doesn't take much to make me smile.
Lou
Say what you will about Sisyphus. He always has work.

User avatar
Lou
Rank V - Professional
Rank V - Professional
Posts: 258
Joined: Fri Jul 29, 2005 5:55 pm
Location: CO
Contact:

Re: www-validator List

Post by Lou » Wed Dec 13, 2017 12:20 pm

Seeing the error of their ways,
>
> (+W3C CSS Validator FYI)
>
>> The HTML validator says:
>> Warning: The type attribute for the style element is not needed and should be omitted.
>>
>> The CSS validator says:
>> Warning: You should add a 'type' attribute with a value of 'text/css' to the 'style’ element
>
> I can’t reproduce this. What did you test, and—just in case—in what
> validators (URLs)?
>
> (Adding the CSS validator list as if this holds, then this should
> probably be addressed there.)

That is probably because Mike Smith sent a PR earlier today [1] that was merged and in prod now.
But thanks for reporting here!


[1] https://github.com/w3c/css-validator/pull/97
Lou
Say what you will about Sisyphus. He always has work.

Post Reply