Store position setting when calling Element.absolutize #11

Merged
merged 1 commit into from Sep 1, 2012
Jump to file or symbol
Failed to load files and symbols.
+5 −4
Diff settings

Always

Just for now

@@ -1056,10 +1056,11 @@
var layout = element.getLayout();
element.store('prototype_absolutize_original_styles', {
- left: element.getStyle('left'),
- top: element.getStyle('top'),
- width: element.getStyle('width'),
- height: element.getStyle('height')
+ position: element.getStyle('position'),
+ left: element.getStyle('left'),
+ top: element.getStyle('top'),
+ width: element.getStyle('width'),
+ height: element.getStyle('height')
});
element.setStyle({