Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

getComputedSize not working with 'em' in Opera #1047

Closed
abimelex opened this Issue · 4 comments

3 participants

@abimelex

getComputedSize interprets ems in Opera in the stylesheet directly as pixels without any calculating. 1em = 1px ....

tested in opera 11.51, opera mobile

mootools more: 1.3.2.1

@hummal hummal referenced this issue in StephanWagner/mBox
Closed

Tooltips in Opera 11.51 positioning doesn't work #2

@SergioCrisostomo
Collaborator

@hummal could you please check if this is still a issue in the nightly build which will be 1.5 in a few days?

@hummal

Prepared a jsFiddle for that issue a year ago.
http://jsfiddle.net/hummal/xFc5c/

@SergioCrisostomo
Collaborator

@hummal it looks good to me :/
How does the wrong behavior look like? what should I be looking for?

Also ,can this be fixed already by #2401 as you mentioned here?

Thank you for nice input once more

@hummal

Issue #2401 is exactly what happens to me. Iam a little confused why I did reference this issue instead of the one you showed up.
My problem could be solved by adding a border:0 to the element style.
If you tested the em vs px "getComputedSize()" and it worked as expected in opera, I guess it is fixed already.

Thank you

@SergioCrisostomo SergioCrisostomo closed this issue from a commit
@SergioCrisostomo SergioCrisostomo Merge: Slider.JS - bug fix and new event "move"
 - closes #1198, closes #1047, fixes #1095 , fixes #1073, fixes #252, fixes #1068

 - More detailed explanation in the PR: #1256
81a4d38
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.