Bug Tracker

Modify

Ticket #6002 (closed bug: wontfix)

Opened 4 years ago

Last modified 2 years ago

css("border-width")

Reported by: joshdean2000 Owned by:
Priority: major Milestone: 1.4.2
Component: css Version: 1.4.1
Keywords: border-width Cc:
Blocking: Blocked by:

Description

When attempting to get the value of "border-width" where it is "0px 1px 0px 0px" in IE8. It crashes on the line 4562

style.left = camelCase === "fontSize" ? "1em" : (ret
0);

Change History

comment:1 Changed 4 years ago by dmethvin

  • Component changed from unfiled to css

Yeah, that code doesn't work at all for shorthand properties.

comment:2 Changed 3 years ago by rwaldron

  • Status changed from new to closed
  • Resolution set to wontfix

With differing top, right, bottom, left widths you have to access the css properties individually. Otherwise the computed style returns: border-width: initial;

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.