#2783 closed bug (wontfix)
width() and height() including border when set to thin, medium or thick in css
Reported by: | mmurph211 | Owned by: | brandon |
---|---|---|---|
Priority: | minor | Milestone: | 1.2.4 |
Component: | dimensions | Version: | 1.2.3 |
Keywords: | width height | Cc: | |
Blocked by: | Blocking: |
Description
If the border-width is set to Thin, Medium or Thick the width() and height() functions will return the border-width included (in IE at least).
I have a script that doesn't have this bug located here: http://www.matts411.com/webdev/an_ie_getcomputedstyle_method_for_block_elements
Change History (2)
comment:1 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
i came across this issue when working on a jquery ui plug-in. i see no work-around when you're working on a plug-in because you have no control over the borders they may set. i have to resort to hard-coding a pixel value based on the string IE returns.
Note: See
TracTickets for help on using
tickets.
This is to much of an edge case to try and put a workaround into the library slowing down all other use-cases. Please use a different measurement to assign border width to have better control over the layout.