Setting tone="critical" on s-button with secondary-action slots does not work

I copy pasted the HTML example from the Polaris web components pattern (details) : Details

And the actual result differs from what is shown on the documentation, the Delete button (tone=“critical”) is not shown in red color :