mirror of
https://github.com/servo/servo.git
synced 2025-10-17 16:59:27 +01:00
Don't pass nullable strings to native DOM methods that want non-nullable strings. Fixes #1207.
This commit is contained in:
parent
803cd4b7cf
commit
08afc6d19d
75 changed files with 968 additions and 966 deletions
|
@ -50,75 +50,75 @@ impl HTMLTableElement {
|
|||
pub fn StopSorting(&self) {
|
||||
}
|
||||
|
||||
pub fn Align(&self) -> Option<DOMString> {
|
||||
None
|
||||
pub fn Align(&self) -> DOMString {
|
||||
~""
|
||||
}
|
||||
|
||||
pub fn SetAlign(&self, _align: &Option<DOMString>) -> ErrorResult {
|
||||
pub fn SetAlign(&self, _align: &DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn Border(&self) -> Option<DOMString> {
|
||||
None
|
||||
pub fn Border(&self) -> DOMString {
|
||||
~""
|
||||
}
|
||||
|
||||
pub fn SetBorder(&self, _border: &Option<DOMString>) -> ErrorResult {
|
||||
pub fn SetBorder(&self, _border: &DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn Frame(&self) -> Option<DOMString> {
|
||||
None
|
||||
pub fn Frame(&self) -> DOMString {
|
||||
~""
|
||||
}
|
||||
|
||||
pub fn SetFrame(&self, _frame: &Option<DOMString>) -> ErrorResult {
|
||||
pub fn SetFrame(&self, _frame: &DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn Rules(&self) -> Option<DOMString> {
|
||||
None
|
||||
pub fn Rules(&self) -> DOMString {
|
||||
~""
|
||||
}
|
||||
|
||||
pub fn SetRules(&self, _rules: &Option<DOMString>) -> ErrorResult {
|
||||
pub fn SetRules(&self, _rules: &DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn Summary(&self) -> Option<DOMString> {
|
||||
None
|
||||
pub fn Summary(&self) -> DOMString {
|
||||
~""
|
||||
}
|
||||
|
||||
pub fn SetSummary(&self, _summary: &Option<DOMString>) -> ErrorResult {
|
||||
pub fn SetSummary(&self, _summary: &DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn Width(&self) -> Option<DOMString> {
|
||||
None
|
||||
pub fn Width(&self) -> DOMString {
|
||||
~""
|
||||
}
|
||||
|
||||
pub fn SetWidth(&self, _width: &Option<DOMString>) -> ErrorResult {
|
||||
pub fn SetWidth(&self, _width: &DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn BgColor(&self) -> Option<DOMString> {
|
||||
None
|
||||
pub fn BgColor(&self) -> DOMString {
|
||||
~""
|
||||
}
|
||||
|
||||
pub fn SetBgColor(&self, _bg_color: &Option<DOMString>) -> ErrorResult {
|
||||
pub fn SetBgColor(&self, _bg_color: &DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn CellPadding(&self) -> Option<DOMString> {
|
||||
None
|
||||
pub fn CellPadding(&self) -> DOMString {
|
||||
~""
|
||||
}
|
||||
|
||||
pub fn SetCellPadding(&self, _cell_padding: &Option<DOMString>) -> ErrorResult {
|
||||
pub fn SetCellPadding(&self, _cell_padding: &DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn CellSpacing(&self) -> Option<DOMString> {
|
||||
None
|
||||
pub fn CellSpacing(&self) -> DOMString {
|
||||
~""
|
||||
}
|
||||
|
||||
pub fn SetCellSpacing(&self, _cell_spacing: &Option<DOMString>) -> ErrorResult {
|
||||
pub fn SetCellSpacing(&self, _cell_spacing: &DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue