
# Objective The default should be `OverflowClipBox::PaddingBox` not `OverflowClipBox::ContentBox` `padding-box` is the default in CSS. ## Solution Set the default to `PaddingBox`. ## Testing Compare the `overflow` UI example on main vs with this PR. You should see that on main the outline around the inner node gets clipped. With this PR by default clipping starts at the inner edge of the border (the `padding-box`) and the outlines are visible. Fixes #18934
239 B
239 B
title | pull_requests | |
---|---|---|
OverflowClipBox's default is now Paddingbox |
|
The default variant for OverflowClipBox
is now PaddingBox
.
The default value for OverflowClipMargin::visual_box
is now OverflowClipBox::PaddingBox
.