Index: core/css/CSSPageRule.idl |
diff --git a/core/css/CSSPageRule.idl b/core/css/CSSPageRule.idl |
index 3c64d3b9c4202273b88704060429ac88d47c9b65..5e04b6c7d6eef310c16f551dcea24922c62ebca8 100644 |
--- a/core/css/CSSPageRule.idl |
+++ b/core/css/CSSPageRule.idl |
@@ -18,8 +18,15 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
-// Introduced in DOM Level 2: |
+// http://dev.w3.org/csswg/cssom/#the-csspagerule-interface |
+ |
+// TODO(philipj): CSSPageRule should inherit from CSSGroupingRule. |
+// crbug.com/496381. To internally implement this as grouping rule, |
+// margin at-rules should be implemented crbug.com/320370, since the |
+// spec http://dev.w3.org/csswg/css-page/#at-page-rule allows only |
+// margin at-rules inside @page. |
interface CSSPageRule : CSSRule { |
attribute DOMString selectorText; |
- readonly attribute CSSStyleDeclaration style; |
+ // TODO(philipj): style should have [PutForwards=cssText]. |
+ [SameObject] readonly attribute CSSStyleDeclaration style; |
}; |