aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmltableelement.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2013-11-09 21:30:41 +0100
committerMs2ger <ms2ger@gmail.com>2013-11-12 13:32:53 +0100
commit803cd4b7cfa0e846d5fa89be04ef4140e6f1a7d2 (patch)
treece2deda718150aeffbd8826a4550b2ada9f34f34 /src/components/script/dom/htmltableelement.rs
parent2975cb69e3bb4784647a5b7f6d5d4dac7b8241cf (diff)
downloadservo-803cd4b7cfa0e846d5fa89be04ef4140e6f1a7d2.tar.gz
servo-803cd4b7cfa0e846d5fa89be04ef4140e6f1a7d2.zip
Make DOMString represent a non-nullable string.
Diffstat (limited to 'src/components/script/dom/htmltableelement.rs')
-rw-r--r--src/components/script/dom/htmltableelement.rs36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/components/script/dom/htmltableelement.rs b/src/components/script/dom/htmltableelement.rs
index 9456c8554ed..b06e0d7c220 100644
--- a/src/components/script/dom/htmltableelement.rs
+++ b/src/components/script/dom/htmltableelement.rs
@@ -50,75 +50,75 @@ impl HTMLTableElement {
pub fn StopSorting(&self) {
}
- pub fn Align(&self) -> DOMString {
+ pub fn Align(&self) -> Option<DOMString> {
None
}
- pub fn SetAlign(&self, _align: &DOMString) -> ErrorResult {
+ pub fn SetAlign(&self, _align: &Option<DOMString>) -> ErrorResult {
Ok(())
}
- pub fn Border(&self) -> DOMString {
+ pub fn Border(&self) -> Option<DOMString> {
None
}
- pub fn SetBorder(&self, _border: &DOMString) -> ErrorResult {
+ pub fn SetBorder(&self, _border: &Option<DOMString>) -> ErrorResult {
Ok(())
}
- pub fn Frame(&self) -> DOMString {
+ pub fn Frame(&self) -> Option<DOMString> {
None
}
- pub fn SetFrame(&self, _frame: &DOMString) -> ErrorResult {
+ pub fn SetFrame(&self, _frame: &Option<DOMString>) -> ErrorResult {
Ok(())
}
- pub fn Rules(&self) -> DOMString {
+ pub fn Rules(&self) -> Option<DOMString> {
None
}
- pub fn SetRules(&self, _rules: &DOMString) -> ErrorResult {
+ pub fn SetRules(&self, _rules: &Option<DOMString>) -> ErrorResult {
Ok(())
}
- pub fn Summary(&self) -> DOMString {
+ pub fn Summary(&self) -> Option<DOMString> {
None
}
- pub fn SetSummary(&self, _summary: &DOMString) -> ErrorResult {
+ pub fn SetSummary(&self, _summary: &Option<DOMString>) -> ErrorResult {
Ok(())
}
- pub fn Width(&self) -> DOMString {
+ pub fn Width(&self) -> Option<DOMString> {
None
}
- pub fn SetWidth(&self, _width: &DOMString) -> ErrorResult {
+ pub fn SetWidth(&self, _width: &Option<DOMString>) -> ErrorResult {
Ok(())
}
- pub fn BgColor(&self) -> DOMString {
+ pub fn BgColor(&self) -> Option<DOMString> {
None
}
- pub fn SetBgColor(&self, _bg_color: &DOMString) -> ErrorResult {
+ pub fn SetBgColor(&self, _bg_color: &Option<DOMString>) -> ErrorResult {
Ok(())
}
- pub fn CellPadding(&self) -> DOMString {
+ pub fn CellPadding(&self) -> Option<DOMString> {
None
}
- pub fn SetCellPadding(&self, _cell_padding: &DOMString) -> ErrorResult {
+ pub fn SetCellPadding(&self, _cell_padding: &Option<DOMString>) -> ErrorResult {
Ok(())
}
- pub fn CellSpacing(&self) -> DOMString {
+ pub fn CellSpacing(&self) -> Option<DOMString> {
None
}
- pub fn SetCellSpacing(&self, _cell_spacing: &DOMString) -> ErrorResult {
+ pub fn SetCellSpacing(&self, _cell_spacing: &Option<DOMString>) -> ErrorResult {
Ok(())
}
}