[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•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Attaching the right testcase (the first testcase was for a different bug).
Comment 6•5 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
![]() |
||
Comment 8•5 years ago
|
||
bugherder |
Description
•