[css-overflow] overflow:-moz-hidden-unscrollable viewport propagation is incompatible with spec for clip
Categories
(Core :: Layout, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
References
Details
(Keywords: testcase)
Attachments
(2 files, 1 obsolete file)
Testcase: https://bugzilla.mozilla.org/attachment.cgi?id=9145869
So if I understand the spec[1] correctly, the overflow
value on <body>
is supposed to be propagated to the viewport in this case. That is, you should see a large blue rectangle that is clipped by the viewport on the right/bottom side (with no scrollbars, since it should behave as hidden
). It should not be clipped by <body>
(like we currently do) because the spec says:
The element from which the value is propagated must then have a used
overflow
value ofvisible
.
[1]
https://drafts.csswg.org/css-overflow/#overflow-propagation
This blocks bug 1531609 since -moz-hidden-unscrollable
is currently incompatible with clip
in this case and I rather fix this separately in case there are any regressions.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Attaching the right testcase (the first testcase was for a different bug).
Pushed by mpalmgren@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6da37d7f6dd3 [css-overflow] Make viewport propagation for 'overflow:-moz-hidden-unscrollable' compatible with the spec for 'clip'. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/24831 for changes under testing/web-platform/tests
Comment 6•4 years ago
|
||
Backed out for reftest failures.
Backout link: https://hg.mozilla.org/integration/autoland/rev/b734942650d428f3950f547fda4a1f030ce280c1
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=311687375&repo=autoland&lineNumber=7653
Pushed by mpalmgren@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1c5a85ab0efd [css-overflow] Make viewport propagation for 'overflow:-moz-hidden-unscrollable' compatible with the spec for 'clip'. r=emilio
Comment 8•4 years ago
|
||
bugherder |
Upstream PR merged by moz-wptsync-bot
Description
•