Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

_getStyle fails to retrieve zIndex properly. #126

Closed
theBlbDan opened this Issue · 2 comments

2 participants

@theBlbDan

_getStyle fails to retrieve zIndex properly and it is likely that other properties are getting missed.

The short and skinny is this:
A style is applied to an img via a generic declaration such as
body > div#myDiv > img {
z-index:11;
}

_getStyle will fail to discover the implied zIndex, thus affecting placement of the global-zeroclipboard-html-bridge element.

Please visit http://v3.blueletterbible.org/test/dan/zClip.html for an example,

-Dan

@JamesMGreene

Known issue, will be fixed by PR #122 or a similar change, more likely the latter.

@theBlbDan

I just noticed that Chrome 25 (getComputedStyle) reports 'auto' for YUI's getStyle() for the above described condition. Obviously Safari is impacted in the same way.

Thanks for the reference to #122. I somehow overlooked that.

@JamesMGreene JamesMGreene was assigned
@JamesMGreene JamesMGreene referenced this issue from a commit in JamesMGreene/zeroclipboard
@JamesMGreene JamesMGreene Fixes "z-index" issues.
Closes #122.
Fixes #126.
e849643
@JamesMGreene JamesMGreene referenced this issue from a commit in JamesMGreene/zeroclipboard
@JamesMGreene JamesMGreene Fix for getting computed styles (e.g. "z-index").
Closes #122.
Fixes #126.
61ef93e
@JamesMGreene JamesMGreene referenced this issue from a commit in JamesMGreene/zeroclipboard
@JamesMGreene JamesMGreene Fix for getting computed styles (e.g. 'z-index').
Closes #122.
Fixes #126.
b87282c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.