Opened 5 years ago

Closed 4 years ago

#18273 closed defect (patchwelcome)

dom-style get style bug, return value is error

Reported by: 154371199@… Owned by: 154371199@…
Priority: undecided Milestone: 1.13
Component: HTML Version: 1.10.1
Keywords: Cc:
Blocked By: Blocking:

Description

e.g: test in IE7

body{

height:1000px; width: 3000px; }

div{

width:50%; height:50%;}

domStyle.get(node, height) /* not 500px; it is equal to 1500.*/

I have review the source of dom-style.js, the bug issue from the toPixel function(IE version). it set the node.style.left.style = 50%; and return the style node.style.pixelLeft.

Attachments (3)

html & screenshot.zip (113.9 KB) - added by 154371199@… 5 years ago.
html & screenshot.2.zip (113.9 KB) - added by 154371199@… 5 years ago.
html file and screenshot
index.html (618 bytes) - added by 154371199@… 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by bill

Component: GeneralHTML
Owner: set to 154371199@…
Status: newpending

IE7 isn't supported anymore. Does this problem happen on IE8?

Also, can you attach an actual test case as an HTML file? Your example above is unclear.

Changed 5 years ago by 154371199@…

Attachment: html & screenshot.zip added

comment:2 Changed 5 years ago by 154371199@…

Status: pendingnew

Attachment (html & screenshot.zip) added by ticket reporter.

Changed 5 years ago by 154371199@…

Attachment: html & screenshot.2.zip added

html file and screenshot

Changed 5 years ago by 154371199@…

Attachment: index.html added

comment:3 Changed 4 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in more than a year, I'm closing this as patchwelcome. Please let us know if you would like to get involved in helping make this change to Dojo!

Note: See TracTickets for help on using tickets.