Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

contentStyleType

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

« SVG Attribute reference home

This attribute specifies the style sheet language for the given document fragment. The contentStyleType is specified on the <svg> element. By default, if it's not defined, the value is text/css

Usage context

Categories None
Value <content-type>
Animatable No
Normative document SVG 1.1 (2nd Edition)

Since CSS is the only widely deployed style sheet language for online styling and it's already defined as default value if contentStyleType is ommitted, the attribute is not well supported in user agents. If other style sheet languages become more popular they might not use the style attribute, instead it could be easily declared which style language is used in the <style>'s type attribue.

The use of contentStyleType is therefore deprecated

See also

ドキュメントのタグと貢献者

 このページの貢献者: George8211, Jeremie, pa7
 最終更新者: George8211,