What problem does this address?
While testing Responsive editing (WordPress 7.1 Beta 4), viewport-specific style changes appear to be applied on top of the general (default) block styles rather than overriding them.
Concretely: after enabling Responsive editing via the device preview dropdown and changing the "orientation" control for a specific viewport, the block's text rendered upside down. The viewport orientation value combined with the base value instead of replacing it.
Expected behaviour
A style set for a specific viewport should override the general style for that property at that viewport — not stack additively on top of it.
Steps to reproduce
- Enable Responsive editing from the device preview dropdown.
- Select a block that supports the orientation style.
- Change the orientation for a specific viewport.
- Observe the text renders upside down — the base and viewport values combine rather than the viewport value overriding.
Environment
The cause for the above is that both orientation styles are selected for this block: one in the general view (so for every site), one on the responsive editing. However, in the responsive view only, it's not visible that this is the case, it just looks like upside down text. I can fix it by first updating the general approach, and then editing the orientation in desktop view, but it feels very counterintuitive to do so since the exception I want here is on mobile.
Part of it seems to be the fact that the UI gives the idea you're starting with a blank slate when adding a responsive layer, but you're not, you're inheriting existing styles.

What problem does this address?
While testing Responsive editing (WordPress 7.1 Beta 4), viewport-specific style changes appear to be applied on top of the general (default) block styles rather than overriding them.
Concretely: after enabling Responsive editing via the device preview dropdown and changing the "orientation" control for a specific viewport, the block's text rendered upside down. The viewport orientation value combined with the base value instead of replacing it.
Expected behaviour
A style set for a specific viewport should override the general style for that property at that viewport — not stack additively on top of it.
Steps to reproduce
Environment
The cause for the above is that both orientation styles are selected for this block: one in the general view (so for every site), one on the responsive editing. However, in the responsive view only, it's not visible that this is the case, it just looks like upside down text. I can fix it by first updating the general approach, and then editing the orientation in desktop view, but it feels very counterintuitive to do so since the exception I want here is on mobile.
Part of it seems to be the fact that the UI gives the idea you're starting with a blank slate when adding a responsive layer, but you're not, you're inheriting existing styles.