TitleBar needs to have a position so children are relative to it

Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a23a860e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a23a860e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a23a860e

Branch: refs/heads/develop
Commit: a23a860e105187209b95f42c6f0b581e92b70d44
Parents: 1f02405
Author: Alex Harui <[email protected]>
Authored: Fri May 22 15:29:16 2015 -0700
Committer: Alex Harui <[email protected]>
Committed: Fri May 22 16:04:12 2015 -0700

----------------------------------------------------------------------
 frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a23a860e/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js 
b/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js
index 5a8b087..02bfc00 100644
--- a/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js
+++ b/frameworks/projects/HTML/js/src/org/apache/flex/html/TitleBar.js
@@ -52,6 +52,7 @@ org_apache_flex_html_TitleBar.prototype.createElement =
   this.element = document.createElement('div');
 
   this.positioner = this.element;
+  this.positioner.style.position = 'relative';
   this.element.flexjs_wrapper = this;
 
   this.className = 'TitleBar';

Reply via email to