OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 10 matching lines...) Expand all Loading... |
21 // https://dev.w3.org/csswg/cssom/#the-csspagerule-interface | 21 // https://dev.w3.org/csswg/cssom/#the-csspagerule-interface |
22 | 22 |
23 // TODO(foolip): CSSPageRule should inherit from CSSGroupingRule. | 23 // TODO(foolip): CSSPageRule should inherit from CSSGroupingRule. |
24 // crbug.com/496381. To internally implement this as grouping rule, | 24 // crbug.com/496381. To internally implement this as grouping rule, |
25 // margin at-rules should be implemented crbug.com/320370, since the | 25 // margin at-rules should be implemented crbug.com/320370, since the |
26 // spec https://dev.w3.org/csswg/css-page/#at-page-rule allows only | 26 // spec https://dev.w3.org/csswg/css-page/#at-page-rule allows only |
27 // margin at-rules inside @page. | 27 // margin at-rules inside @page. |
28 interface CSSPageRule : CSSRule { | 28 interface CSSPageRule : CSSRule { |
29 attribute DOMString selectorText; | 29 attribute DOMString selectorText; |
30 // TODO(foolip): style should have [PutForwards=cssText]. | 30 // TODO(foolip): style should have [PutForwards=cssText]. |
31 [SameObject] readonly attribute CSSStyleDeclaration style; | 31 [SameObject, Measure] readonly attribute CSSStyleDeclaration style; |
32 }; | 32 }; |
OLD | NEW |