Refactor GenerateCSS2PropertiesWebIDL.py to generate both CSS2Properties and
also CSSPageDescriptors.
I had to adjust the margin property in Servo to ensure
`margin_{inline,block}_{start,end}` did not end up in CSSPageDescriptors.
I also removed the main function from the script since the arguments are
already inaccurately named as leftovers from its previous usage, and this
script is only invoked by function name by the build anyway.
Differential Revision: https://phabricator.services.mozilla.com/D209061
16 lines
626 B
Plaintext
16 lines
626 B
Plaintext
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* The origin of this IDL file is
|
|
* https://drafts.csswg.org/cssom/#the-csspagerule-interface
|
|
*/
|
|
|
|
// https://drafts.csswg.org/cssom/#the-csspagerule-interface
|
|
[Exposed=Window]
|
|
interface CSSPageRule : CSSGroupingRule {
|
|
attribute UTF8String selectorText;
|
|
[SameObject, PutForwards=cssText] readonly attribute CSSPageDescriptors style;
|
|
};
|