www-validator List

For general web development questions that are not specifically related to CSS HTML Validator. This includes (but is not limited to) general HTML, CSS, Accessibility, JavaScript, and SEO questions.
Post Reply
User avatar
Lou
Rank V - Professional
Posts: 295
Joined: Fri Jul 29, 2005 5:55 pm
Location: CO
Contact:

www-validator List

Post by Lou »

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
Posts: 295
Joined: Fri Jul 29, 2005 5:55 pm
Location: CO
Contact:

Re: www-validator List

Post by Lou »

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