Opened 12 years ago

Closed 12 years ago

#6949 closed defect (fixed)

unquoted HTML attributes failing validation

Reported by: Douglas Hays Owned by: Douglas Hays
Priority: high Milestone: 1.2
Component: Dijit Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:

Description

The attribute value should be in double quotes. No double quotes is fine when the values don't have quotes themselves, but is not fine when the values do. IBM #86447

- following lines in dijit/tests/_base/test_placeStrict.html : 
113: constraints={places:0,min:0,max:120} 
174: constraints={fractional:true} 
189: constraints={allowIPv6:false,allowHybrid:false} 
206: constraints={allowDottedDecimal:false, allowDottedHex:false, allowDottedOctal:false} 
221: constraints={scheme:true} 
262: constraints={locale:'en-us'} 
286: constraints={formatLength:'medium',selector:'time'} 
301: constraints={formatLength:'short',selector:'time',timePattern:'HH:mm:ss'} 
317: constraints={allowTerritories:false} 

- dijit/tests/form/test_Slider.html
123: constraints={pattern:'#'}

- dijit/tests/form/test_Spinner.html
67: constraints={min:-10.9,max:155,places:1,round:true} 

- dijit/tests/form/test_validate.html
192: constraints={exponent:true} 
265: constraints={fractional:true} 
280: constraints={allowIPv6:false,allowHybrid:false} 
297: constraints={allowDottedDecimal:false, allowDottedHex:false, allowDottedOctal:false} 
313: constraints={scheme:true} 

Change History (1)

comment:1 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [13982]) Fixes #6949. Added double quotes around contraints attribute.

Note: See TracTickets for help on using tickets.