Opened 13 years ago

Closed 13 years ago

#7906 closed enhancement (wontfix) borderWidth

Reported by: Mike Wilcox Owned by: dante
Priority: high Milestone: tbd
Component: Core Version: 1.2beta
Keywords: style borderWidth Cc:
Blocked By: Blocking:

Description (last modified by dante)

RE Fix #3874: This fix was so default border sizes of medium would return 4. This wasn't to handle sizes as much as fix a bug that happened elsewhere.

I suggest while we're at it, we should retperhurn pixel values for 'thin' and 'thick'. 'thin' in particular is standard among some designers (default out of WYSIWYG editors).

The suggested patch addresses thin and thick. Unfortunately it adds a few short lines of code. Couldn't thick of a way of doing this more compactly.

Attachments (1)

html_thinThick.diff (574 bytes) - added by Mike Wilcox 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by Mike Wilcox

Attachment: html_thinThick.diff added

comment:1 Changed 13 years ago by Tom Trenka

Owner: changed from phiggins to dante

comment:2 Changed 13 years ago by dante

Description: modified (diff)
Resolution: wontfix
Status: newclosed

see: #7905 - it would be nice to normalize this overall. "border", with borderWidth, Color and Style is particularly trying. We've been saying to access these properties individually (borderTopWidth, etc) to get reliable results but as an edge case, this fix is too short sighted. perhaps a map like attr() uses for fixing style properties would work?

Note: See TracTickets for help on using tickets.