aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmloutputelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmloutputelement.rs')
-rw-r--r--src/components/script/dom/htmloutputelement.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/script/dom/htmloutputelement.rs b/src/components/script/dom/htmloutputelement.rs
index 934cf23883b..47a43f75cc3 100644
--- a/src/components/script/dom/htmloutputelement.rs
+++ b/src/components/script/dom/htmloutputelement.rs
@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-use dom::bindings::utils::{DOMString, ErrorResult, null_string};
+use dom::bindings::utils::{DOMString, ErrorResult};
use dom::htmlelement::HTMLElement;
use dom::node::{AbstractNode, ScriptView};
use dom::validitystate::ValidityState;
@@ -17,25 +17,25 @@ impl HTMLOutputElement {
}
pub fn Name(&self) -> DOMString {
- null_string
+ None
}
pub fn SetName(&mut self, _name: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Type(&self) -> DOMString {
- null_string
+ None
}
pub fn DefaultValue(&self) -> DOMString {
- null_string
+ None
}
pub fn SetDefaultValue(&mut self, _value: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Value(&self) -> DOMString {
- null_string
+ None
}
pub fn SetValue(&mut self, _value: &DOMString, _rv: &mut ErrorResult) {
@@ -56,7 +56,7 @@ impl HTMLOutputElement {
}
pub fn ValidationMessage(&self) -> DOMString {
- null_string
+ None
}
pub fn SetValidationMessage(&mut self, _message: &DOMString, _rv: &mut ErrorResult) {