Make DOMString represent a non-nullable string.

This commit is contained in:
Ms2ger 2013-11-09 21:30:41 +01:00
parent 2975cb69e3
commit 803cd4b7cf
75 changed files with 632 additions and 632 deletions

View file

@ -27,19 +27,19 @@ impl HTMLHRElement {
}
impl HTMLHRElement {
pub fn Align(&self) -> DOMString {
pub fn Align(&self) -> Option<DOMString> {
None
}
pub fn SetAlign(&mut self, _align: &DOMString) -> ErrorResult {
pub fn SetAlign(&mut self, _align: &Option<DOMString>) -> ErrorResult {
Ok(())
}
pub fn Color(&self) -> DOMString {
pub fn Color(&self) -> Option<DOMString> {
None
}
pub fn SetColor(&mut self, _color: &DOMString) -> ErrorResult {
pub fn SetColor(&mut self, _color: &Option<DOMString>) -> ErrorResult {
Ok(())
}
@ -51,19 +51,19 @@ impl HTMLHRElement {
Ok(())
}
pub fn Size(&self) -> DOMString {
pub fn Size(&self) -> Option<DOMString> {
None
}
pub fn SetSize(&mut self, _size: &DOMString) -> ErrorResult {
pub fn SetSize(&mut self, _size: &Option<DOMString>) -> ErrorResult {
Ok(())
}
pub fn Width(&self) -> DOMString {
pub fn Width(&self) -> Option<DOMString> {
None
}
pub fn SetWidth(&mut self, _width: &DOMString) -> ErrorResult {
pub fn SetWidth(&mut self, _width: &Option<DOMString>) -> ErrorResult {
Ok(())
}
}