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

title (tooltip) is ignored by gifffer #38

Open
CarlosOnline opened this issue Mar 8, 2020 · 0 comments
Open

title (tooltip) is ignored by gifffer #38

CarlosOnline opened this issue Mar 8, 2020 · 0 comments

Comments

@CarlosOnline
Copy link

The title (tooltip) is lost when gifffer is applied to image.
Please apply the image's title tag to the output html.

Repro:
<img data-gifffer="apples.gif" data-gifffer-alt="Apples" title="Click to show apples"/>

Results:

<button style="position:relative;cursor:pointer;width:200px;height:112px;background:none;border:none;padding:0;" aria-hidden="true">
    <div class="gifffer-play-button" style="width:60px;height:60px;border-radius:30px;background:rgba(0, 0, 0, 0.3);position:absolute;top:50%;left:50%;margin:-30px">
        <div style="width: 0;height: 0;border-top: 14px solid transparent;border-bottom: 14px solid transparent;border-left: 14px solid rgba(0, 0, 0, 0.5);position: absolute;left: 26px;top: 16px"/>
    </div>
    <canvas width="200" height="112" style="width: 100%; height: 100%;"/>
</button>
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