#1170 closed bug (fixed)
attr("style","...") doesn't work in IE7
Reported by: | bilcorry | Owned by: | john |
---|---|---|---|
Priority: | minor | Milestone: | 1.2.4 |
Component: | core | Version: | 1.1.3 |
Keywords: | ie7 attr style | Cc: | |
Blocked by: | Blocking: |
Description
In IE7, this doesn't work on an <img> element (and possibly others, didn't test it):
$(".pics").attr("style","border-style: solid; border-width: 1px; border-color: white;");
But this does work for IE7:
$(".pics").css("border-style","solid").css("border-width","1px").css("border-color","white");
Both work in FF2.
Change History (5)
comment:1 Changed 16 years ago by
Milestone: | 1.1.3 → 1.1.4 |
---|---|
Owner: | set to john |
Version: | 1.1.2 → 1.1.3 |
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 15 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Note: This breaks XML that might potentially use the 'style' attribute. Any suggestions on how to fix this?
comment:4 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Won't break it anymore. Fixed at [5575].
comment:5 Changed 15 years ago by
Milestone: | 1.1.4 → 1.2.4 |
---|
Note: See
TracTickets for help on using
tickets.
Fixed in SVN rev [2432].