Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Tooltip and the Title attribute #309

Closed
@jglinsek

Description

@jglinsek

Some elements in Bootstrap are styled based on the presence of the Title attribute. For example, the <abbr> tag with a title attribute gets styled with a help cursor and underlined text. However, when using the tooltip directive with the <abbr> tag (<abbr tooptip="some tip">content</abbr>), the lack of a title leaves the tag un-styled.

You can put an empty title attribute on the element to fix it, which is maybe a decent workaround, but i was wondering, in this case, if the directive ought to do that automatically to preserve styling given that the Bootstrap tooltip component typically gets it's content from a title? In this case, that is what I expected to have happen.

http://plnkr.co/DPe7UjUpNj4adgFKizkT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions