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
1 file changed
tree: b974235062ed2c22b819458081074650d20120d3
  1. src/
  2. BUILD
  3. LICENSE
  4. OWNERS