CKTIS / CSS
corner-end-end-shape — logical end-end corner shape
corner-end-end-shape controls the corner where block-end meets inline-end. Its size is set separately by a radius, such as border-end-end-radius.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
corner-end-end-shape: round | scoop | bevel | notch | square | squircle | superellipse(<number> | infinity | -infinity);corner-end-end-shape selects the shape of one logical corner: where block-end meets inline-end. With writing-mode: horizontal-tb and direction: ltr, this is the bottom-right corner; with direction: rtl, it is bottom-left. It therefore does not identify a fixed physical position.
The initial value is round; the property is not inherited. It accepts one shape from the syntax above. bevel produces a straight diagonal. border-end-end-radius sets the corner area's size: with a zero radius, changing the shape has no visible effect.
The example explicitly sets the direction and writing mode. If the browser supports corner-end-end-shape: bevel, the blue rectangle has a beveled bottom-right corner. Without that support, border-bottom-right-radius keeps the corner rounded, even if border-end-end-radius is also unsupported. The definition comes from an evolving specification; verify the example locally rather than assuming support from the browser version alone.
Examples
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Logical end-end corner shape</title>
<style>
#tile {
writing-mode: horizontal-tb;
direction: ltr;
width: 160px;
height: 100px;
background: #075985;
border-bottom-right-radius: 32px;
border-end-end-radius: 32px;
corner-end-end-shape: bevel;
}
</style>
</head>
<body>
<div id="tile" role="img" aria-label="Blue sample tile" aria-describedby="status"></div>
<p id="status" role="status"></p>
<script>
const supported = CSS.supports('corner-end-end-shape', 'bevel');
const style = getComputedStyle(document.getElementById('tile'));
const shape = style.getPropertyValue('corner-bottom-right-shape');
const radius = style.borderBottomRightRadius;
const ok = radius === '32px' && (supported ? (shape === 'bevel' || shape === 'superellipse(0)') : shape === '' || shape === 'round');
document.getElementById('status').textContent = supported
? `Supported. End-end maps to bottom-right here. Computed shape: ${shape}; radius: ${radius}.`
: `Unsupported. The physical bottom-right radius (${radius}) preserves the rounded fallback even without the logical radius property.`;
console.log(`End-end corner check: ${ok ? 'PASS' : 'FAIL'}`);
</script>
</body>
</html>Result
End-end corner check: PASS
The console output `End-end corner check: PASS` was verified in an isolated environment. The check tests for a `32px` radius and checks the computed shape according to the result of `CSS.supports()`. It can report `PASS` with the rounded fallback, so it does not confirm that a bevel was rendered.