| Page 1 of 1 | [ 2 posts ] |
|
Given a <div> that has a horizontal scrollbar, .getStyle("height") returns a value inclusive of the scrollbar in Firefox and IE, but returns an value exclusive of the scrollbar in Chrome.
1) Is this as designed? (I thought / hoped that YUI would normalize browser implementation differences for me.) 2) In certain cases involving nested div's in Chrome, getComputedStyle("height") and getStyle("height") return different results--where getComputedStyle("height") excludes the scrollbar and getStyle("height") includes the scrollbar. In Firefox and IE these work as expected, and return the same value (inclusive of the scrollbar). Please comment on whether this behavior is a bug, or is intentional. I can provide further details if needed. |
|
Chrome is not currently not an A-grade browser, so we do not actively test against it. File a bug with a repro case and I will take a look.
|
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group