Open Bug 2016030 Opened 4 months ago Updated 14 days ago

prodamus.ru - Document is not fully visible

Categories

(Web Compatibility :: Site Reports, defect, P3)

Desktop
Windows 10

Tracking

(Webcompat Priority:P3, Webcompat Score:1)

ASSIGNED
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:

  1. 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

Attached image image.png

That's just an iFrame, and it's not full-height.

Severity: -- → S2
User Story: (updated)
Webcompat Priority: --- → P3
Webcompat Score: --- → 4
Priority: -- → P3
Attached file Standalone test case (obsolete) —
Attached file Reduced test case
Attachment #9546500 - Attachment is obsolete: true

Daniel, can you finish up the diagnosis using the reduced test case?

Flags: needinfo?(dholbert)

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.

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.

Depends on: 1598458
Flags: needinfo?(dholbert)

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?

Flags: needinfo?(dholbert)

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!

Flags: needinfo?(dholbert)

(I tested the comment 9 CSS-snippet in stylus and confirmed it fixes the site for me, BTW.)

Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
User Story: (updated)
Webcompat Score: 4 → 1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: