While discussing web-platform-tests/wpt#44138 via email with @zcorpan he raised this point:
I had a different understanding of the "may disregard some CSS properties" language in the spec. Changing computed styles of other properties based on native/primitive appearance seems like a fundamental change to how the CSS cascade normally works that I think it should be explicitly defined.
As an example, for the switch control the native appearance uses display:inline-grid (though display:block and the like will compute to display:grid). But when you change to the primitive appearance it'll always have display:initial. (When this was discussed during a WHATNOT call that was what the people attending preferred.)
Being able to change properties (as well as some other things) in this way will also be essential for the inevitable appearance:base-bikeshed.
cc @nt1m
While discussing web-platform-tests/wpt#44138 via email with @zcorpan he raised this point:
As an example, for the switch control the native appearance uses
display:inline-grid(thoughdisplay:blockand the like will compute todisplay:grid). But when you change to the primitive appearance it'll always havedisplay:initial. (When this was discussed during a WHATNOT call that was what the people attending preferred.)Being able to change properties (as well as some other things) in this way will also be essential for the inevitable
appearance:base-bikeshed.cc @nt1m