Closed
Bug 795678
Opened 12 years ago
Closed 12 years ago
style height set to exp format
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 373875
People
(Reporter: user266266, Unassigned)
Details
Attachments
(1 file)
239 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20100101 Firefox/15.0.1 Build ID: 20120905151427 Steps to reproduce: Set style height some element: var el = document.getElementById('myel'); el.style.height = '21000021px'; if set el.style.height = '21000021px', result: style.height = '2.1e+7px' Actual results: result set to exp format: el.style.height == '2.1e+7px'; Expected results: el.style.height == '21000021px';
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
I can confirm that Firefox15.0.1 and Seamonkey trunk respond with "2.1e+7px" while IE9 and Opera12 respond with "21000021px". I guess that this is a dupe but I don't know good terms to search....
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM: CSS Object Model
Ever confirmed: true
Product: Firefox → Core
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•