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

iframe attribute "height" specified in percentage is invalid in html 5 #50

Open
mladenb opened this issue Dec 8, 2014 · 1 comment
Open

Comments

@mladenb
Copy link

mladenb commented Dec 8, 2014

Hi,

While looking at the HAL browser here http://haltalk.herokuapp.com/explorer/browser.html I've noticed that after clicking the "docs" icon for the "ht:users" relation, the upper right "Inspector" box did not display correctly. Further investigation revealed that the issue was in the relative height of the ".documentation iframe" style definition.

.documentation iframe { width: 100%; height: 100%; }

For the reference, the Mozilla Developer Network specifies for the "height" attribute of the "iframe" element: "Indicates the height of the frame (HTML5) in CSS pixels, or (HTML 4.01) in pixels or as a percentage."

Also, as soon as I changed the value of "100%" to for example "400px", the "Inspector" box was immediately displayed correctly.

Regards,
Mladen.

@jxc876
Copy link

jxc876 commented Jan 14, 2015

I see the same issue, clicking on the "docs" section displays a very small window making it difficult to read its contents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants