Closed Bug 339660 Opened 18 years ago Closed 18 years ago

range needs to know "is type x derived from xsd:integer"

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 316691

People

(Reporter: allan, Assigned: aaronr)

References

()

Details

As noted in bug 332221 comment 1, range now only do specific check for xsd:integer. It should be for all types derived from xsd:decimal.
Probably very related to bug 339660 and 313313.
Depends on: 313313
I guess we can mark this bug as dublicate of bug 316691. It will be easier to fix these bugs together instead keeping them separately since patch for this bug I think is:

/* range widgets */
-range {
-  -moz-binding: url('chrome://xforms/content/range.xml#xformswidget-range');
-}
+html|*:root range[typelist~="http://www.w3.org/2001/XMLSchema#integer"] {
+  -moz-binding: url('chrome://xforms/content/range.xml#xformswidget-range');
+}

*** This bug has been marked as a duplicate of 316691 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
I added the fix of this bug to patch of bug 321311 since I was near :). If you don't like it then I remove these lines from there for sure.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.