Bug 417051 – Range no longer works on the trunk, r=aaronr, smaug

git-svn-id: svn://10.0.0.236/trunk@250676 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
surkov.alexander%gmail.com
2008-04-23 05:59:04 +00:00
parent 5816fadab2
commit 3a8adb7ce0

View File

@@ -63,24 +63,37 @@
<method name="getControlElement">
<body>
return {
__proto__: this.ownerDocument.
getAnonymousElementByAttribute(this, "anonid", "slider"),
set readonly() {
// XXX: bug 343523
},
get start() {
return this.min;
return this.slider.min;
},
set start(aValue) {
this.min = aValue;
this.slider.min = aValue;
},
get step() {
return this.slider.step;
},
set step(aValue) {
this.slider.step = aValue;
},
get end() {
return this.max;
return this.slider.max;
},
set end(aValue) {
this.max = aValue;
}
this.slider.max = aValue;
},
set: function set(aMin, aMax, aStep, aValue) {
this.slider.set(aMin, aMax, aStep, aValue);
},
slider: this.ownerDocument.
getAnonymousElementByAttribute(this, "anonid", "slider"),
};
</body>
</method>