Skip to content

Commit

Permalink
Stop forcing hasLayout on the target element; it seems that this is n…
Browse files Browse the repository at this point in the history
…ot required to make onmove/onresize events fire after all. Tests still appear to function properly. Fixes the margin collapsing issue described in issue lojjic#14.
  • Loading branch information
Jason Johnston committed Jun 2, 2010
1 parent 13ce4be commit 182fcb0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sources/event_handlers.js
Expand Up @@ -147,9 +147,6 @@ function init() {
if( !renderers ) {
var el = element;

// force layout so move/resize events will fire
el.runtimeStyle.zoom = 1;

// Create the style infos and renderers
styleInfos = {
backgroundInfo: new PIE.BackgroundStyleInfo( el ),
Expand Down

0 comments on commit 182fcb0

Please sign in to comment.