Skip to content

New image replacement approach shows selection highlight #1239

Closed
@paulsham

Description

Using the new image replacement method (Commit adecc5d) creates an issue when highlighting over an image replaced element (using .ir) results in a thin line from the selection highlight appearing at the bottom of the element. This does depend on the line-height and font-family of the replaced text.

My simple fix was to add a larger line-height to push the selection highlight further down.

Viewable in Firefox 16.0.1 Mac.
Live example: http://jsfiddle.net/paulsham/g2enP/4/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions