Skip to content

Commit

Permalink
Hint for forced clipping with hidden overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mikke89 committed Jan 4, 2025
1 parent 1a671a2 commit eadd52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/rcss/visual_effects.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The values have the following meanings:

If either `overflow-x`{:.prop} or `overflow-y`{:.prop} is set to a value other than 'visible', clipping will occur on both axes.

Note that, unlike CSS, [positioned elements](visual_formatting_model.html#position) and [transformed elements](animations_transitions_transforms.html#transform) do not affect when clipping is applied to the element. Thus, such elements may not be clipped or cause scrollbars to appear even when they overflow.
Note that, unlike CSS, [positioned elements](visual_formatting_model.html#position) and [transformed elements](animations_transitions_transforms.html#transform) do not affect when clipping is applied to the element. Thus, such elements may not be clipped or cause scrollbars to appear even when they overflow. Instead, one can use the [`clip: always`{:.value} property](#clip) together with hidden overflow to force clipping to occur.

`overflow`{:.prop}

Expand Down

0 comments on commit eadd52f

Please sign in to comment.