Open Bug 1886566 Opened 2 years ago Updated 5 months ago

Site content is not visible on qceservices.quezoncity.gov.ph

Categories

(Web Compatibility :: Interventions, defect, P1)

Tracking

(Webcompat Priority:P2, Webcompat Score:4)

ASSIGNED
Webcompat Priority P2
Webcompat Score 4

People

(Reporter: ksenia, Assigned: twisniewski)

References

(Depends on 2 open bugs, )

Details

(5 keywords)

User Story

platform:windows,mac,linux,android
impact:site-broken
affects:all
configuration:general
branch:release
user-impact-score:100
diagnosis-team:webcompat

Attachments

(3 files)

Moving https://github.com/webcompat/web-bugs/issues/130868 to this bug for tracking purposes

Severity: -- → S2
User Story: (updated)
Priority: -- → P3
Summary: Site content is not fully visible on qceservices.quezoncity.gov.ph → Site content is not visible on qceservices.quezoncity.gov.ph

The content is displayed via iframe and site is using -webkit-fill-available; to set its height:
<iframe src="https://qceservices.quezoncity.gov.ph/index.php/qcvaxeasy/qcvaxeasy_landing_page" onload="whenLoaded()" class="responsive-iframe qc_vax_iframe" style="height:-webkit-fill-available;width:100%" allow="camera;" id="qcid_iframe"> </iframe>

-webkit-fill-available; is not supported in Firefox, see https://bugzilla.mozilla.org/show_bug.cgi?id=1872755

We could contact the site to ask if they could change the height property to 100% instead.

Priority: P3 → P2
User Story: (updated)
Keywords: leave-open
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Pushed by twisniewski@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/00bd39b32a73 add a CSS intervention to show the main iframe on qceservices.quezoncity.gov.ph/qcvaxeasy; r=denschub,webcompat-reviewers
Webcompat Priority: --- → P2
User Story: (updated)
Webcompat Priority: P2 → P1
Webcompat Score: --- → 10
Priority: P2 → P1
Webcompat Score: 10 → 6
Webcompat Score: 6 → 5
User Story: (updated)
Webcompat Score: 5 → 10
Webcompat Score: 10 → 5
Depends on: 1872755
Webcompat Score: 5 → 4

Noticed while skimming webcompat bugs on -webkit-fill-available: this particular intervention isn't working (possibly it never worked?)

Per comment 1, the height: -webkit-fill-available; is in a style attribute, which is higher-precedence than the style rule in our injected stylesheet ( https://searchfox.org/firefox-main/source/browser/extensions/webcompat/injections/css/bug1886566-quezoncity.gov.ph-iframe-height.css )

Probably we need to add !important in order for the intervention to take effect here. Though also, -webkit-fill-available support will hopefully ship soon, so maybe no sense in shipping an update here at this point.

User Story: (updated)
Depends on: 1988938

(In reply to Daniel Holbert [:dholbert] from comment #5)

Though also, -webkit-fill-available support will hopefully ship soon, so maybe no sense in shipping an update here at this point.

Following up: this should be fixed by the patch that I've landed in bug 1988938. I'll plan to retest in tomorrow's Nightly, with the (perhaps-ineffective) intervention disabled just to be sure, and I'll close after confirming that it's fixed.

--> Removing dependency on bug 1872755 (which remains open and tracks broader support that's not needed here).

User Story: (updated)
No longer depends on: 1872755
Attached file testcase 1

Hmm, this one actually isn't fixed by the pref-flip in bug 1988938; in fact, the site went from working (with the intervention in yesterday's Nightly) to broken in today's Nightly.

That's because:
(a) the site's height: -webkit-fill-available is higher-precedence than our intervention, due to being in an inline style="..." attribute
(b) apparently in quirks-mode, Chrome resolves height: -webkit-fill-available on inline-level elements with unconstrained size on their containing block. (They resolve it against the viewport height, it looks like.) I'm attaching a testcase to demonstrate this behavior (we render the blue area as being 150px tall, the default for iframes; Chrome renders it as filling the viewport).

I'll file a bug on matching the behavior in (b); but in the meantime, I think we need to update our intervention here to add !important on our height:100% decl.

(though I suppose if we can fix (b) quickly enough, as we probably should, then we don't need to worry about updating the intervention.)

Depends on: 1989365

(side note: I needed to use a VPN set to the Philippines in order to test the site here. Before I activated that VPN, I just got a never-ending stream of recaptcha prompts.)

See Also: → 1989375

I confirmed that:

  • this bug still affects Nightly if I disable the intervention.
  • ...but it's fixed in a build with my patch on bug 1989365.

(In reply to Daniel Holbert [:dholbert] from comment #9)

(side note: I needed to use a VPN set to the Philippines in order to test the site here. Before I activated that VPN, I just got a never-ending stream of recaptcha prompts.)

This^ is no longer an issue; I just had to solve 1-2 recaptcha puzzles and then made it through to the site, no VPN needed.

Since bug 1989365 is fixed in 146, I will adjust the intervention so it doesn't run on 146 up when the related pref is true.

Keywords: leave-open
Pushed by twisniewski@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/bdb5a318f084 https://hg.mozilla.org/integration/autoland/rev/1269886174e0 disable our webcompat intervention for qceservices.quezoncity.gov.ph where it is no longer needed; r=ksenia,webcompat-reviewers
Webcompat Priority: P1 → P2
Component: Site Reports → Interventions
Depends on: 2023660
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: