Skip to content

Audit specifications for correct handling of overflow:clip. #7436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions css-backgrounds-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,8 @@ a comma-separated list of <attachment> keywords where
with respect to the <a href="https://www.w3.org/TR/CSS2/page.html#page-box">page box</a>
and therefore replicated on every page.
<span class="note">Note that there is only one viewport per view.
Even if an element has a scrolling mechanism (see the 'overflow'
property [[!CSS2]]), a ''fixed'' background doesn't move with the
Even if an element is a <a>scroll container</a>,
a ''fixed'' background doesn't move with the
element.</span>
<dt><dfn>local</dfn></dt>
<dd>The background is fixed with regard to the element's contents:
Expand Down
2 changes: 1 addition & 1 deletion css-tables-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,7 @@ spec:css-sizing-3; type:property; text:box-sizing
descendants of table cells whose height depends on percentages of their parent cell' height
<a href="#appropriateness-of-child-percentage-resolution">(see section below)</a>
are considered to have an auto height
if they have 'overflow' set to <code>visible</code> or <code>hidden</code>
if they have 'overflow' set to ''overflow/visible'', ''overflow/clip'', or ''overflow/hidden''
or if they are replaced elements,
and a 0px height if they have not.
<a href="https://jsfiddle.net/0e12ve9b/">Testcase</a>
Expand Down
6 changes: 3 additions & 3 deletions css-ui-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ and if so, along which axis/axes.
Name: resize
Value: none | both | horizontal | vertical
Initial: none
Applies to: elements with 'overflow' other than visible,
Applies to: elements that are <a>scroll containers</a>
and optionally replaced elements such as images, videos, and iframes
Inherited: no
Percentages: N/A
Expand Down Expand Up @@ -566,8 +566,7 @@ The resizing mechanism allows the user
to determine the size of the element.

The 'resize' property applies to elements
whose computed 'overflow' value
is something other than ''visible''.
that are <a>scroll containers</a>.
UAs may also apply it,
regardless of the value of the 'overflow' property,
to:
Expand Down Expand Up @@ -664,6 +663,7 @@ its <a>end</a> line box edge
in the inline progression direction of its block container element ("the block")
that has 'overflow'
other than ''visible''.
<!-- REVIEW: I *think* this should not include ''overflow/clip'' -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed.


Text can overflow for example when it is prevented from wrapping
(e.g. due to <code class="lang-css">white-space: nowrap</code>
Expand Down
5 changes: 2 additions & 3 deletions css-ui-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ and if so, along which axis/axes.
Name: resize
Value: none | both | horizontal | vertical | block | inline
Initial: none
Applies to: elements with 'overflow' other than visible,
Applies to: elements that are <a>scroll containers</a>
and optionally replaced elements such as images, videos, and iframes
Inherited: no
Percentages: N/A
Expand Down Expand Up @@ -523,8 +523,7 @@ The resizing mechanism allows the user
to determine the size of the element.

The 'resize' property applies to elements
whose computed 'overflow' value
is something other than ''overflow/visible''.
that are <a>scroll containers</a>.
UAs may also apply it,
regardless of the value of the 'overflow' property,
to:
Expand Down