Open cdoublev opened 5 months ago
At least years ago, CSSOM was defining the object model for CSS 2, with the intention of putting everything for later levels in their own modules. This would imply that CSS Page 3 should be defining a lot of this itself.
While I'm definitely in broad strokes in favour of explicitly enumerating IDL attributes (this makes it possible for anything relying on extracted data from reffy, like WPT's idlharness tests, to actually test for presence and similar), it is unfortunate that allows things like this to fall through the cracks.
@emilio Would be great to have this clarified and cleaned up. It doesn't seem right to include margins, but not other valid page properties, such as padding, width, background, and so on. See https://drafts.csswg.org/css-page-3/#page-property-list
Are e.g. margins descriptors at all, or just regular properties?
Only "standalone" descriptors and "property-like"
margin-*
descriptors are defined asCSSPageDescriptors
attributes.(fixed by #10521) and other page properties are missing. Is there any reason for this?page-orientation
[if they are missing]
Quote from @gsnedders:
+1. Maybe the definition of a supported property or descriptor should be narrowed down to a valid property or descriptor in the context. For example: