prodamus.ru - Document is not fully visible
Categories
(Web Compatibility :: Site Reports, defect, P3)
Tracking
(Webcompat Priority:P3, Webcompat Score:1)
People
(Reporter: ctanase, Assigned: twisniewski)
References
(Depends on 1 open bug, )
Details
(4 keywords, Whiteboard: [webcompat-source:web-bugs])
User Story
platform:windows,mac,linux,android impact:content-missing configuration:general affects:all branch:release diagnosis-team:layout user-impact-score:6
Attachments
(3 files, 1 obsolete file)
Environment:
Operating system: Android 15/Windows 10
Firefox version: Firefox Mobile 147.0/149
Steps to reproduce:
- Go to https://prodamus.ru/pravila-provedeniya-akcii-fevral-vozmozhnostej
2.Observe the page.
Expected Behavior:
The document is fully visible.
Actual Behavior:
Document is not fully visible.
Notes:
- Reproduces regardless of the status of ETP
- Reproduces in firefox-nightly, and firefox-release
- Does not reproduce in chrome
Created from https://github.com/webcompat/web-bugs/issues/205933
| Reporter | ||
Comment 1•4 months ago
|
||
Comment 2•4 months ago
|
||
That's just an iFrame, and it's not full-height.
Comment 3•4 months ago
|
||
Comment 4•4 months ago
|
||
Comment 5•4 months ago
|
||
Daniel, can you finish up the diagnosis using the reduced test case?
Comment 6•4 months ago
|
||
Will do. bmoattachments.org is having trouble right now so I can't view the reduced testcase, but once that's back up, I can take a look.
Comment 7•4 months ago
•
|
||
Based on the reduced testcase, this is bug 1598458.
On the specific page linked in comment 0, we could work around this by adding this CSS (possible sitepatch):
.t396 .tn-atom { height: 100% }
The intent would be to extend this rule that makes that element an auto-height table cell:
.t396 .tn-atom {
display: table-cell;
vertical-align: middle;
width: 100%;
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
...from this stylesheet:
https://static.tildacdn.com/ws/project5499568/tilda-blocks-page116435696.min.css?t=1770301426
But that's only useful for cases where the table-cell has a percent-height child (as in the linked page). It's possible that this site has similar styles on other pages without a percent-height child, and the sitepatch could break the layout on those pages.
| Assignee | ||
Comment 8•4 months ago
|
||
I found that adding this CSS for the iframe for the PDF works fine too, Dan:
iframe[src*="pdf"] {
height:100vh;
}
I think that's a safer work-around, do you agree?
Comment 9•4 months ago
|
||
Sure -- but maybe best to add a tn-atom descendant-selector in there as well, to make it more specific, like so:
.tn-atom iframe[src*="pdf"] {
height:100vh;
}
Thanks!
Comment 10•4 months ago
|
||
(I tested the comment 9 CSS-snippet in stylus and confirmed it fixes the site for me, BTW.)
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 11•3 months ago
|
||
Updated•3 months ago
|
Comment 12•3 months ago
|
||
Comment 13•3 months ago
|
||
| bugherder | ||
| Assignee | ||
Updated•14 days ago
|
Updated•14 days ago
|
Description
•