Changeset 12377

Show
Ignore:
Timestamp:
02/11/08 15:42:03 (11 months ago)
Author:
peller
Message:

Remove wildcards in toStyleValue regexp. Still just as accurate as it was before. Refs #3961 !strict

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojo/trunk/_base/html.js

    r12376 r12377  
    380380                width: true, height: true, left: true, top: true 
    381381        }; 
    382         var _pixelRegExp = /^(?:margin*|padding*|width|height|max*|min*|offset*)/ /*|border*/; 
     382        var _pixelRegExp = /^(?:margin|padding|width|height|max|min|offset)/;  // |border 
    383383        var _toStyleValue = function(node, type, value){ 
    384384                type = type.toLowerCase();