Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Images not being displayed #84

Copy link
Copy link
@Happy-Ferret

Description

@Happy-Ferret
Issue body actions

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.