Overflow on replaced elements
Starting with Chrome 108, img, video and canvas honor the overflow property; in earlier Chrome releases it was ignored on these elements. The upshot: an image previously clipped to its content box can now paint outside those bounds if a stylesheet says so — and conversely, content that used to spill out may begin to be clipped once 108 ships.
The documented cases where existing work can be affected:
object-fitscales the image to fill the box; when the aspect ratio does not match, the image draws past the bounds.border-radiusturns a square image into a circle, but withoverflowvisible the clipping no longer happens.- Using
all: inherit, which makes every property (includingoverflow) inherit.
Where clipping is unwanted, the fix is to override the UA default overflow: clip with overflow: visible:
img {
overflow: visible;
}
On-screen keyboard and the Layout Viewport on Android
Chrome 108 also changes how the Layout Viewport reacts when the on-screen keyboard (OSK) appears. Chrome on Android will stop resizing the Layout Viewport and resize only the Visual Viewport, matching the behavior of Chrome and Safari on iOS.
Concretely, the computed values of viewport units no longer shrink when the keyboard is displayed, full-viewport elements no longer resize to make room for it, and fixed-position elements stay put instead of landing in unpredictable places. Behavior across Chrome, Safari and Edge on iOS and iPadOS becomes more consistent, though the model is not perfect: the keyboard UI can still cover elements in its path.
One long-standing workaround for keeping elements visible in that situation relies on the prefixed webkit-fill-available property, which sizes to the viewport space left available rather than the area hidden by UI:
body {
min-height: 100vh;
min-height: -webkit-fill-available;
}
html {
height: -webkit-fill-available;
}
Chrome currently ignores that property, and 108 is unlikely to change that. It may not matter much: Chrome 108 also adds support for the small, large and dynamic viewport units already available in Safari and Firefox. Support data below comes from Caniuse; a number indicates the browser supports the feature from that version onward.
Desktop
| Chrome | Firefox | IE | Edge | Safari |
|---|---|---|---|---|
| 108 | 101 | No | 108 | 15.4 |
Mobile / Tablet
| Android Chrome | Android Firefox | Android | iOS Safari |
|---|---|---|---|
| 157 | 160 | 157 | 15.4 |



