Page 1 of 1

www-validator List

Posted: Tue Dec 12, 2017 5:12 pm
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.

Re: www-validator List

Posted: Wed Dec 13, 2017 12:20 pm
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