amitamb / screen.js

Client side screen recording library
0 stars 0 forks source link

bgr.com has issue #2

Closed amitamb closed 11 years ago

amitamb commented 11 years ago

This is because of default styles of Chrome which apply to documents not loaded from a URL.

amitamb commented 11 years ago

Missing doctype declaration is cause of the issue

Fix is coming up

Relevant SO question

http://stackoverflow.com/questions/7534222/what-causes-the-user-agent-stylesheet-to-use-border-box-instead-of-content

Adding following at the top fixes the issue

<!DOCTYPE html>

amitamb commented 11 years ago

Fixed.