mui / material-ui

Material UI: Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
https://mui.com/material-ui/
MIT License
92.43k stars 31.84k forks source link

Validation failure: The “type” attribute for the “style” element is not needed and should be omitted #11739

Closed mikkopori closed 6 years ago

mikkopori commented 6 years ago

Hello,

testing my application with a validator I ran into these warnings:

The “type” attribute for the “style” element is not needed and should be omitted

for example in

<style type="text/css" data-jss="" data-meta="MuiToolbar">
..
</style>

Since I noticed that validation errors were reported here earlier I thought I should report this as well. Did not find any mention of this particular warning.

:)

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Context

Your Environment

Tech Version
Material-UI v1.?.?
React
browser
etc
oliviertassinari commented 6 years ago

@mikkopori Please move the issue to JSS.

mikkopori commented 6 years ago

https://github.com/cssinjs/jss/issues/724