Skip to content

Commit af1704d

Browse files
committed
[css-overflow] upgrade to MUST requirements about overflow:hidden
1 parent 62cbd14 commit af1704d

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

css-overflow-3/Overview.bs

+6-3
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,12 @@ Scrollable Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</
318318
<dd>
319319
This value indicates that
320320
the box’s content is clipped to its padding box
321-
and that no scrolling user interface should be provided by the UA
322-
to view the content outside the clipping region.
323-
However, the content may still be scrolled programatically,
321+
and that the UA must not provide any scrolling user interface
322+
to view the content outside the clipping region,
323+
nor allow scrolling by direct intervention of the user,
324+
such as dragging on a touch screen
325+
or using the scrolling wheel on a mouse.
326+
However, the content must still be scrollable programatically,
324327
for example using the mechanisms defined in [[CSSOM-VIEW]],
325328
and the box is therefore still a <a>scroll container</a>.
326329

css-overflow/Overview.bs

+12-5
Original file line numberDiff line numberDiff line change
@@ -416,11 +416,18 @@ Introduction</h2>
416416
may be rendered outside the block container.
417417
</dd>
418418
<dt><dfn>hidden</dfn>
419-
<dd>This value indicates that
420-
the content is clipped and that no scrolling user interface should be provided by the UA
421-
to view the content outside the clipping region.
422-
However, the content may still be scrolled programatically,
423-
for example using the mechanisms defined in [[CSSOM-VIEW]].
419+
<dd>
420+
This value indicates that
421+
the box’s content is clipped to its padding box
422+
and that the UA must not provide any scrolling user interface
423+
to view the content outside the clipping region,
424+
nor allow scrolling by direct intervention of the user,
425+
such as dragging on a touch screen
426+
or using the scrolling wheel on a mouse.
427+
However, the content must still be scrollable programatically,
428+
for example using the mechanisms defined in [[CSSOM-VIEW]],
429+
and the box is therefore still a <a>scroll container</a>.
430+
424431
<dt><dfn>clip</dfn>
425432
<dd>Like ''hidden'',
426433
this value indicates that

0 commit comments

Comments
 (0)