Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

www.lcbo.com - Table with locations is not showing #75137

Closed
ksy36 opened this issue May 26, 2021 · 9 comments
Closed

www.lcbo.com - Table with locations is not showing #75137

ksy36 opened this issue May 26, 2021 · 9 comments
Labels
browser-firefox engine-gecko The browser uses the Gecko rendering engine type-webrender-enabled Firefox webrender engine pref
Milestone

Comments

@ksy36
Copy link
Contributor

ksy36 commented May 26, 2021

URL: https://www.lcbo.com/webapp/wcs/stores/servlet/PhysicalStoreInventoryView?langId=-1&storeId=10203&catalogId=10051&productId=54875

Browser / Version: Firefox 90.0
Operating System: Mac OS X 10.14
Tested Another Browser: Yes Chrome

Problem type: Something else
Description: Can't see the location availability table
Steps to Reproduce:
The table with locations is not showing, works in Chrome

View the screenshot Screenshot
Browser Configuration
  • gfx.webrender.all: true
  • gfx.webrender.blob-images: true
  • gfx.webrender.enabled: false
  • image.mem.shared: true
  • buildID: 20210526094846
  • channel: nightly
  • hasTouchScreen: false
  • mixed active content blocked: false
  • mixed passive content blocked: false
  • tracking content blocked: false

View console log messages

From webcompat.com with ❤️

@webcompat-bot webcompat-bot added this to the needstriage milestone May 26, 2021
@webcompat-bot webcompat-bot added browser-firefox engine-gecko The browser uses the Gecko rendering engine type-webrender-enabled Firefox webrender engine pref labels May 26, 2021
@ksy36 ksy36 modified the milestones: needstriage, needsdiagnosis May 26, 2021
@ksy36 ksy36 changed the title www.lcbo.com - see bug description www.lcbo.com - Table with locations is not showing May 28, 2021
@denschub denschub modified the milestone: needsdiagnosis Jun 7, 2021
@ksy36
Copy link
Contributor Author

ksy36 commented Jun 25, 2021

The table is on the page, but it's shifted to the right of the parent block:

Screen Shot 2021-06-24 at 8 21 10 PM

The issue is caused by the mix of negative margins and a float (and the float is not cleared):

.col-xs-12 {
    float: left;
}
...

.row {
    margin-left: -5px;
    margin-right: -5px;
}

Which is https://bugzilla.mozilla.org/show_bug.cgi?id=1400958

The site could fix this by adding clear:both between <div class="col-xs-12"></div> and <div class="row scrollX"></div> elements.

We could also add an intervention:

.physicalStoreInventoryPage .scrollX {
  clear: both;
}	

Lets close as a duplicate

@ksy36 ksy36 closed this as completed Jun 25, 2021
@ksy36 ksy36 modified the milestones: needsdiagnosis, duplicate Jun 25, 2021
@ksy36
Copy link
Contributor Author

ksy36 commented Jun 25, 2021

Sorry @denschub just realized it was assigned to you. I guess I really wanted that Chambord Royale :D

@ksy36 ksy36 added the action-needssitepatch This web bug needs a GoFaster site patch. label Jun 25, 2021
@denschub denschub removed the action-needssitepatch This web bug needs a GoFaster site patch. label Jul 9, 2021
@denschub
Copy link
Member

denschub commented Jul 9, 2021

just realized it was assigned to you. I guess I really wanted that Chambord Royale :D

I mean... I'm not gonna complain about have less issues on my plate. :)

I removed the needssitepatch label earlier, but Ksenia veto'ed correctly. Site patch is slotted for v24 and is tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1719870

Let's reopen this and move this to needscontact - even though this is a core bug, the intervention is simple enough that it could also be applied by the site's devs.

@denschub denschub reopened this Jul 9, 2021
@denschub denschub added the sitepatch-applied There is an UA override/intervention in place for this site label Jul 9, 2021
@denschub denschub modified the milestones: duplicate, needscontact Jul 9, 2021
@webcompat-bot
Copy link

@denschub denschub removed their assignment Aug 12, 2021
@dholbert
Copy link

dholbert commented Dec 9, 2021

As noted on https://bugzilla.mozilla.org/show_bug.cgi?id=1400958 , I think this (like other recent webcompat associations there) is actually a case of the site depending on a Chrome/WebKit bug. Specifically:
https://bugs.chromium.org/p/chromium/issues/detail?id=1141209
https://bugs.webkit.org/show_bug.cgi?id=233956

@softvision-oana-arbuzov
Copy link
Member

softvision-oana-arbuzov commented Dec 23, 2021

@ksy36 the Intervention works fine on desktop.

I've checked on mobile layout and the locations table does not load regardless if the Intervention is enabled or not. The locations table loads in Chrome.
image
Can we have the Intervention for mobile layout also?

Tested with:
Browser / Version: Firefox Nightly 97.0a1 (🦎 97.0a1-20211221093038)
Operating System: Windows 10 Pro, Google Pixel 5 (Android 12) - 1080 x 2340 pixels, 19.5:9 ratio (~432 ppi density), Samsung Galaxy S8 (Android 9) - 1440 x 2960 pixels, 18.5:9 ratio (~570 ppi density)

@ksy36
Copy link
Contributor Author

ksy36 commented Dec 23, 2021

Thanks @softvision-oana-arbuzov , I've filed https://bugzilla.mozilla.org/show_bug.cgi?id=1747438 ad will add it in the next rotation

@ksy36 ksy36 removed the status-needsinfo-ksy36 ping @ksy36 label Dec 23, 2021
@dholbert
Copy link

Good news: I think this isn't reproducible anymore, and we can remove the intervention.

I'm revisiting this after landing a fix in https://bugzilla.mozilla.org/show_bug.cgi?id=1745310 (which should make us produce the same layout as Chrome here, in Firefox 102 and newer). But I think the site's design has changed such that this is no longer reproducible.

I disabled the intervention and browsed around in Firefox 100 release (in desktop as well as RDM), and I observed:

  • The original URL just redirects to https://www.lcbo.com/ now.
  • If I view a particular product e.g. https://www.lcbo.com/en/downton-abbey-gin-22891 , the site doesn't automatically show a store-availability chart like it did (or tried to do) in the original screenshots here.
  • If I click through to store availability, everything looks fine (and the design looks different)
  • Also, the bar of links at the top of the page has changed since the comment with a screenshot above -- at that point it had WINE SPIRITS BEER&CIDER ... whereas now it has Products New Arrivals Gifts .... So, this is a further indication that the site has undergone a redesign.

If anyone can still reproduce the issues here (with the intervention disabled), please say so (and then we can also confirm whether bug 1745310's patch helped or not).

@ksy36
Copy link
Contributor Author

ksy36 commented May 10, 2022

A new url for the table would be https://www.lcbo.com/en/storeinventory/?sku=111443 and indeed the design is different. Let's remove the intervention and close this :)

@ksy36 ksy36 closed this as completed May 10, 2022
@ksy36 ksy36 modified the milestones: needscontact, fixed May 10, 2022
@ksy36 ksy36 removed the sitepatch-applied There is an UA override/intervention in place for this site label May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-firefox engine-gecko The browser uses the Gecko rendering engine type-webrender-enabled Firefox webrender engine pref
Projects
None yet
Development

No branches or pull requests

5 participants