Skip to content

Commit

Permalink
add comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Jun 23, 2016
1 parent b5b8a2a commit 620e59f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/custom-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@
this.__appliedElement.__cssBuild = this.__cssBuild;
}
// needed becuase elements in imports do not get 'attached'
// TODO(sorvell): we could only do this iff this.ownerDocument != document;
// however, if we do that, we also have to change the `attached`
// code to go at `_beforeAttached` time because this is when
// elements produce styles (otherwise this breaks @apply shim)
this._tryApply();
},

Expand Down

0 comments on commit 620e59f

Please sign in to comment.