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

Images not being displayed #84

Open
Happy-Ferret opened this issue Apr 21, 2017 · 0 comments
Open

Images not being displayed #84

Happy-Ferret opened this issue Apr 21, 2017 · 0 comments

Comments

@Happy-Ferret
Copy link

Happy-Ferret commented Apr 21, 2017

Expected behaviour:

Image and text should be rendered twice. Once as DOM representation, then once more as HTML-GL.

Observed behaviour:

DOM text and image are rendered properly, whereas the HTML-GL version omits the image.

Code to reproduce:

<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>HTML GL demo</title>
</head>
<script src="node_modules/html-gl/dist/htmlgl.js"></script>
<body style="height: 1024px;">
<h1>HTML-DOM Test Scene</h1>
<br/>
<img src="cat.png"/>
<br/>

<html-gl renderer="webgl" style="opacity: 0;">
<div class="GLScene">
    <h1>HTML-GL Test Scene</h1>
    <img src="cat.png"></img>
</div>
</html-gl>
</body>
</html>

Browser:

Google Chrome Version 57.0.2987.133

Note:

Bug not reproducible in Firefox.

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

1 participant