commit | e86ccfaa9de27c547866b2ba0881440b8b76387c | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Fri Sep 01 15:10:03 2017 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Sat Sep 02 00:49:12 2017 -0700 |
tree | b974235062ed2c22b819458081074650d20120d3 | |
parent | 8d2cbff0f506e6143abe4b59b08ba565504d0b9a [diff] |
Set popup window height and width dynamically. * If the content is small and context.popup API exists, use it. * Otherwise, use pageDiv, set its height/width to content height/width, but limited to 85%/75% of window height/width. Change-Id: Ibbddf7b7411d44f99bf04f36e5d60136e23ce99c