github web-platform-tests/wpt merge_pr_46972

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
9 months ago

Generate CSSPageDescriptors.webidl and change CSSPageRule to use CSSPageDescriptors for Style().

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1890842
gecko-commit: 782c9e2be6b8ee885a8d3a0294b60991f13cc12d
gecko-reviewers: webidl, emilio

Don't miss a new wpt release

NewReleases is sending notifications on new releases.