Reputation: 35235
I mean does anyone use a value different than "text/css"?
Upvotes: 9
Views: 272
Reputation: 75588
There is text/xsl. It is also good design to make it possible to add new alternative style types in the future.
Upvotes: 2
Reputation: 816312
What if someone creates a new, better "stylesheet language"? Change the HTML specification?
I would say, this is an application of loose coupling.
Upvotes: 1
Reputation: 943163
CSS and JavaScript might have killed all their rivals and dominated the browser, but other languages have existed, and the victory of CSS/JS was much less certain when HTML 4 was being written.
For stylesheets, the only real contender was JSSS, which saw support in Netscape 4 (which had really poor CSS support due to it being an emulation layer over its JSSS engine).
Upvotes: 17