Style sheets break with TITLE attribute on <link> tags?

后端 未结 2 1351
感情败类
感情败类 2021-02-14 14:02

I\'m helping with an effort to upgrade a very old corporate intranet. Our users are on IE8 and IE9. Most of our sites are written to work in IE5 - IE9.

We\'re on the ver

2条回答
  •  春和景丽
    2021-02-14 14:57

    This appears to be expected behavior. From, for example, the MDN docs

    A preferred stylesheet [...] is one that has a value of stylesheet supplied for the rel attribute, and any value at all for the title attribute. Here are two examples:

    
    
    

    According to the HTML 4.01 specification, only one of the preferred stylesheets can be used at a time. Therefore, given the above example, only one of the two preferred stylesheets will be applied to the document. The specification does not supply a procedure to decide which one should be used, so user agents are free to make whatever choice they like.

提交回复
热议问题