#12823 closed bug (wontfix)
IE7 Iframe content style selector not working (ref: ticket 12586)
Reported by: | Teddos | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | selector | Version: | 1.8.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hello,
I also pasted the text below in the ticket number mentioned in the Summary of this message; my apologies for that.
I have another issue with IE7 and Iframes. Unfortunatly we have many desktops still using IE7 :( and I totally did not took it into consideration. Next selector does not work: 'a[style='mso-comment-reference: MO_1']'
Below is the jsFiddle. The jsFiddle should work in IE8 but currently gives a 'Display' error: http://jsfiddle.net/qUXD7/3/ The iframe in this fiddle is cross domain for demo purposes but the iframe in my environment is in the same domain.
I hope you can help out!
Change History (4)
comment:1 Changed 10 years ago by
Component: | unfiled → selector |
---|---|
Resolution: | → notabug |
Status: | new → closed |
comment:2 Changed 10 years ago by
Resolution: | notabug |
---|---|
Status: | closed → reopened |
Sorry, no it doesn't. This is a case-sensitive issue. IE lowercases everything.
comment:3 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
http://jsfiddle.net/timmywil/qUXD7/6/
The spec stipulates that the style attribute is not subject to case-sensitivity nor case-insensitivity, defaulting it to case-sensitivity in selectors.
http://www.w3.org/TR/html4/present/styles.html#adef-style
Since all browsers are case-sensitive when using the style attribute and there is only an issue because IE messes with the style property in ways we don't want to predict (sometimes it uppercases style property names too), I don't think we will want to put in code for this edge case.
Beware of using the style property in selectors.
Single quotes within single quotes breaks the string. This works:
http://jsfiddle.net/timmywil/qUXD7/5/