{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/7777","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/7777/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/7777/comments","events_url":"https://api.github.com/repos/electron/electron/issues/7777/events","html_url":"https://github.com/electron/electron/issues/7777","id":185767767,"number":7777,"title":"Scaling BrowserWindow causes webview to scale its inner content ","user":{"login":"taboca","id":8658,"avatar_url":"https://avatars.githubusercontent.com/u/8658?v=3","gravatar_id":"","url":"https://api.github.com/users/taboca","html_url":"https://github.com/taboca","followers_url":"https://api.github.com/users/taboca/followers","following_url":"https://api.github.com/users/taboca/following{/other_user}","gists_url":"https://api.github.com/users/taboca/gists{/gist_id}","starred_url":"https://api.github.com/users/taboca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taboca/subscriptions","organizations_url":"https://api.github.com/users/taboca/orgs","repos_url":"https://api.github.com/users/taboca/repos","events_url":"https://api.github.com/users/taboca/events{/privacy}","received_events_url":"https://api.github.com/users/taboca/received_events","type":"User","site_admin":false},"labels":[{"id":193723572,"url":"https://api.github.com/repos/electron/electron/labels/more-information-needed","name":"more-information-needed","color":"009800","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-27T20:09:45Z","updated_at":"2016-11-27T06:04:48Z","closed_at":"2016-11-27T06:04:48Z","body":"- Electron version:     \"electron-prebuilt\": \"^1.3.8\",\n- Operating system: Mac OS X 10.10.5 (14F1912)\n\nI am trying to make a browser that I can run in reduced scaled size. This browser it's 1080x1920 but the window is to be 1/3 of such size. Therefore, a window that should be actually have native 360x640 size. What I do is to open a BrowserWindow: \n\n```\n  win = new BrowserWindow({\n      height : 360,\n      width  : 640\n  });\n```\n\nThen, I load a page and set its inner body width as 1080px and height as 1920px;\n\nThen I apply a webview with width:100% and height:100% to this content, and load a page; \n\nWhen I transform: scale(.3) to the main browser page (the 1080px), the size of webview seems to go along fine, therefore it fits within the 360px width (in my attached image, the webview style background is green). \n\nHowever, its content shows much smaller. I made the contents of such webview, an HTML web page, to be yellow. \n\n![screen shot 2016-10-27 at 6 07 48 pm](https://cloud.githubusercontent.com/assets/8658/19783382/8837e45c-9c70-11e6-9d89-c18f1fb9f39c.png)\n"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/263104347","html_url":"https://github.com/electron/electron/issues/7777#issuecomment-263104347","issue_url":"https://api.github.com/repos/electron/electron/issues/7777","id":263104347,"user":{"login":"zcbenz","id":639601,"avatar_url":"https://avatars.githubusercontent.com/u/639601?v=3","gravatar_id":"","url":"https://api.github.com/users/zcbenz","html_url":"https://github.com/zcbenz","followers_url":"https://api.github.com/users/zcbenz/followers","following_url":"https://api.github.com/users/zcbenz/following{/other_user}","gists_url":"https://api.github.com/users/zcbenz/gists{/gist_id}","starred_url":"https://api.github.com/users/zcbenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcbenz/subscriptions","organizations_url":"https://api.github.com/users/zcbenz/orgs","repos_url":"https://api.github.com/users/zcbenz/repos","events_url":"https://api.github.com/users/zcbenz/events{/privacy}","received_events_url":"https://api.github.com/users/zcbenz/received_events","type":"User","site_admin":true},"created_at":"2016-11-27T06:04:48Z","updated_at":"2016-11-27T06:04:48Z","body":"This is an upstream Chromium issue: https://bugs.chromium.org/p/chromium/issues/detail?id=492182.\r\n\r\nI'm closing this since it has already been tracked."}}
{"actor":{"display_login":"zcbenz"}}