<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -96,19 +96,10 @@
 }
 
 
-/*
-Content-Type: multipart/related; boundary=&quot;BLANK_IMAGE&quot;
-
---BLANK_IMAGE
-Content-Location:SC
-Content-Transfer-Encoding:base64
-
-R0lGODlhAQABAJAAAP///wAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw==
-*/
 .sc-menu-item.disabled div.checkbox,
 .sc-menu-item div.checkbox.inactive {
   background-image: url(data:image/gif;base64,R0lGODlhAQABAJAAAP///wAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw==) top left no-repeat; 
-  *background-image: url(mhtml:stylesheet.css!SC) top left no-repeat; /* IE &lt; 8 */
+  *background-image: sc_static('blank.gif') top left no-repeat; /* IE &lt; 8 */
 }
 
 .sc-menu-item span.value {</diff>
      <filename>frameworks/desktop/english.lproj/menu_item_view.css</filename>
    </modified>
    <modified>
      <diff>@@ -1093,7 +1093,7 @@ SC.CollectionView = SC.View.extend(
     // walk up the element hierarchy until we find this or an element with an
     // id matching the base guid (i.e. a collection item)
     while (element &amp;&amp; element !== document &amp;&amp; element !== layer) {
-      id = element ? element.getAttribute('id') : null ;
+      id = element ? SC.$(element).attr('id') : null ;
       if (id &amp;&amp; (contentIndex = this.contentIndexForLayerId(id)) !== null) {
           break;
       }</diff>
      <filename>frameworks/desktop/views/collection.js</filename>
    </modified>
    <modified>
      <diff>@@ -553,7 +553,7 @@ SC.RenderContext = SC.Builder.create(/** SC.RenderContext.fn */ {
   classNames: function(classNames, cloneOnModify) {
     if (classNames === undefined) {
       if (!this._classNames &amp;&amp; this._elem) {
-        this._classNames = (this._elem.getAttribute('class')||'').split(' ');
+        this._classNames = (SC.$(this._elem).attr('class')||'').split(' ');
       }
       
       if (this._cloneClassNames) {
@@ -611,7 +611,7 @@ SC.RenderContext = SC.Builder.create(/** SC.RenderContext.fn */ {
     var classNames = this._classNames, idx;
     if (!classNames &amp;&amp; this._elem) {
       classNames = this._classNames = 
-        (this._elem.getAttribute('class')||'').split(' ');
+        (SC.$(this._elem).attr('class')||'').split(' ');
     }
 
     if (classNames &amp;&amp; (idx=classNames.indexOf(className))&gt;=0) {
@@ -666,7 +666,7 @@ SC.RenderContext = SC.Builder.create(/** SC.RenderContext.fn */ {
       classNames = this._classNames ;
       if (!classNames &amp;&amp; this._elem) {
         classNames = this._classNames = 
-          (this._elem.getAttribute('class')||'').split(' ');
+          (SC.$(this._elem).attr('class')||'').split(' ');
       }
       if (!classNames) classNames = this._classNames = [];
     </diff>
      <filename>frameworks/foundation/system/render_context.js</filename>
    </modified>
    <modified>
      <diff>@@ -269,10 +269,10 @@ SC.mixin( /** @scope SC */ {
     }
 
     style = '%@; width: %@px; left: %@px; position: absolute'.fmt(style, width, (-1*width));
-    elem.setAttribute('style', style);
+    SC.$(elem).attr('style', style);
 
     if (classes !== '') {
-      elem.setAttribute('class', classes);
+      SC.$(elem).attr('class', classes);
     }
 
     elem.textContent = str;</diff>
      <filename>frameworks/foundation/system/utils.js</filename>
    </modified>
    <modified>
      <diff>@@ -137,20 +137,20 @@ module(&quot;SC.RenderContext#update - className&quot;, {
 test(&quot;does not change class names if retrieved but not edited&quot;, function() {
   context.classNames();
   context.update();
-  equals(elem.getAttribute(&quot;class&quot;), &quot;foo bar&quot;, &quot;class&quot;);
+  equals(SC.$(elem).attr(&quot;class&quot;), &quot;foo bar&quot;, &quot;class&quot;);
 });
 
 test(&quot;replaces class name if classNames edited&quot;, function() {
   context.classNames('bar baz'.w());
   context.update();
-  equals(elem.getAttribute(&quot;class&quot;), &quot;bar baz&quot;, &quot;attribute&quot;);
+  equals(SC.$(elem).attr(&quot;class&quot;), &quot;bar baz&quot;, &quot;attribute&quot;);
 });
 
 test(&quot;set class names override class attr&quot;, function() {
   context.attr(&quot;class&quot;, &quot;bar&quot;);
   context.classNames('baz'.w());
   context.update();
-  equals(elem.getAttribute(&quot;class&quot;), &quot;baz&quot;, &quot;should use classNames&quot;);
+  equals(SC.$(elem).attr(&quot;class&quot;), &quot;baz&quot;, &quot;should use classNames&quot;);
 });
 
 // ..........................................................</diff>
      <filename>frameworks/foundation/tests/system/render_context/update.js</filename>
    </modified>
    <modified>
      <diff>@@ -24,7 +24,7 @@ test(&quot;invokes prepareContext() and then updates layer element&quot;, function() {
   });
   
   view.updateLayer();
-  ok(layer.getAttribute('class').toString().indexOf('did-update')&gt;=0, 'has class name added by prepareContext()');
+  ok(SC.$(layer).attr('class').indexOf('did-update')&gt;=0, 'has class name added by prepareContext()');
 });
 
 // ..........................................................</diff>
      <filename>frameworks/foundation/tests/views/view/updateLayer.js</filename>
    </modified>
    <modified>
      <diff>@@ -17,7 +17,9 @@ SC.IMAGE_STATE_SPRITE = 'sprite';
 /**
   URL to a transparent GIF.  Used for spriting.
 */
-SC.BLANK_IMAGE_URL = &quot;data:image/gif;base64,R0lGODlhAQABAJAAAP///wAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw==&quot;
+SC.BLANK_IMAGE_DATAURL = &quot;data:image/gif;base64,R0lGODlhAQABAJAAAP///wAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw==&quot;;
+
+SC.BLANK_IMAGE_URL = SC.browser.msie &amp;&amp; SC.browser.msie&lt;8 ? sc_static('blank.gif') : SC.BLANK_IMAGE_DATAURL;
 
 /**
   @class</diff>
      <filename>frameworks/foundation/views/image.js</filename>
    </modified>
    <modified>
      <diff>@@ -14,5 +14,5 @@ R0lGODlhAQABAJAAAP///wAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw==
 */
 .sc-theme div.sc-ghost-view {
   background-image: url(data:image/gif;base64,R0lGODlhAQABAJAAAP///wAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw==) top left no-repeat; 
-  *background-image: url(mhtml:stylesheet.css!SCTheme) top left no-repeat; /* IE &lt; 8 */
+  *background-image: sc_static('blank.gif') top left no-repeat; /* IE &lt; 8 */
 }</diff>
      <filename>themes/standard_theme/english.lproj/pane.css</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a8efd0da1c6158d06a7dc46e6e1ea94b493cb169</id>
    </parent>
  </parents>
  <author>
    <name>Juan Pinzon</name>
    <email>juanpin@da0602a-dhcp86.apple.com</email>
  </author>
  <url>http://github.com/sproutit/sproutcore/commit/229a536fc731ce76e1a7dc49c8e54f24c212daae</url>
  <id>229a536fc731ce76e1a7dc49c8e54f24c212daae</id>
  <committed-date>2009-10-29T16:52:06-07:00</committed-date>
  <authored-date>2009-10-28T17:23:08-07:00</authored-date>
  <message>Fixes for IE7, views update and pass all unit tests.</message>
  <tree>cb42a3fa01deb03b38bba9db583a5488834eff09</tree>
  <committer>
    <name>Charles Jolley</name>
    <email>charles@sproutit.com</email>
  </committer>
</commit>
