Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size of window decoration leaks #721

Open
riastradh-brave opened this issue Aug 9, 2018 · 0 comments
Open

Size of window decoration leaks #721

riastradh-brave opened this issue Aug 9, 2018 · 0 comments

Comments

@riastradh-brave
Copy link
Contributor

@riastradh-brave riastradh-brave commented Aug 9, 2018

<!DOCTYPE html>
<html>
<body>
<p id="foo">foo</p>
<p id="bar">bar</p>
<script>
width = window.innerWidth + ' ' + window.outerWidth
document.getElementById('foo').innerHTML = width
height = window.innerHeight + ' ' + window.outerHeight
document.getElementById('bar').innerHTML = height
</script>
</body>
</html>

This should display the same inner and outer width, and the same inner and outer height. In browser-laptop it does, but in brave-core it does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Shields
  
Feature Backlog
1.0 Tasks by Category
Tor and privacy
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.