aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-09-26 10:07:34 -0400
committerCorey Farwell <coreyf@rwell.org>2015-09-26 10:15:58 -0400
commita844b080d6728d29520b86625ca58915782cec0a (patch)
tree24e3c21ef1c81efe0897f4dc7c87c0e8a8920afa /components/script/dom/webidls
parentd39c8546b6bf03c69b1cde925c72722dfd61e588 (diff)
downloadservo-a844b080d6728d29520b86625ca58915782cec0a.tar.gz
servo-a844b080d6728d29520b86625ca58915782cec0a.zip
Imlement 'bgcolor' IDL attrs for table elements
The content attributes and presentational hints were implemented in the #4289 pull request. This just implements the relevant IDL attributes.
Diffstat (limited to 'components/script/dom/webidls')
-rw-r--r--components/script/dom/webidls/HTMLTableElement.webidl2
-rw-r--r--components/script/dom/webidls/HTMLTableRowElement.webidl2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/HTMLTableElement.webidl b/components/script/dom/webidls/HTMLTableElement.webidl
index 3a614efce1f..546d146bc15 100644
--- a/components/script/dom/webidls/HTMLTableElement.webidl
+++ b/components/script/dom/webidls/HTMLTableElement.webidl
@@ -34,7 +34,7 @@ partial interface HTMLTableElement {
// attribute DOMString summary;
// attribute DOMString width;
- //[TreatNullAs=EmptyString] attribute DOMString bgColor;
+ [TreatNullAs=EmptyString] attribute DOMString bgColor;
//[TreatNullAs=EmptyString] attribute DOMString cellPadding;
//[TreatNullAs=EmptyString] attribute DOMString cellSpacing;
};
diff --git a/components/script/dom/webidls/HTMLTableRowElement.webidl b/components/script/dom/webidls/HTMLTableRowElement.webidl
index 77475ce1630..e5c2183b103 100644
--- a/components/script/dom/webidls/HTMLTableRowElement.webidl
+++ b/components/script/dom/webidls/HTMLTableRowElement.webidl
@@ -21,5 +21,5 @@ partial interface HTMLTableRowElement {
// attribute DOMString chOff;
// attribute DOMString vAlign;
- //[TreatNullAs=EmptyString] attribute DOMString bgColor;
+ [TreatNullAs=EmptyString] attribute DOMString bgColor;
};