Side navigation
#12823 closed bug (wontfix)
Opened November 01, 2012 07:59AM UTC
Closed November 01, 2012 03:00PM UTC
Last modified November 02, 2012 08:49AM UTC
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!
Attachments (0)
Change History (4)
Changed November 01, 2012 02:45PM UTC by comment:1
component: | unfiled → selector |
---|---|
resolution: | → notabug |
status: | new → closed |
Changed November 01, 2012 02:51PM UTC by comment:2
resolution: | notabug |
---|---|
status: | closed → reopened |
Sorry, no it doesn't. This is a case-sensitive issue. IE lowercases everything.
Changed November 01, 2012 03:00PM UTC by comment:3
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.
Changed November 02, 2012 08:49AM UTC by comment:4
Thanks a million!
You solution just worked like a charm :o)
Single quotes within single quotes breaks the string. This works:
http://jsfiddle.net/timmywil/qUXD7/5/