Closed Bug 1244464 Opened 8 years ago Closed 8 years ago

WebkitCSSMatrix support breaks realtor.ca photo gallery (RoyalSlider)

Categories

(Core :: DOM: CSS Object Model, defect)

46 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1241021
Tracking Status
firefox46 - ---

People

(Reporter: mixedpuppy, Unassigned)

References

()

Details

(Keywords: regression, site-compat, Whiteboard: dom-triaged)

dev edition is my regular browser, this just started since the update to 46

STR
- visit realtor.ca
- search then select a property (that has multiple images)
- click on the image, an in-page dialog appears to view images at a larger size
- click on left or right arrows to view next image (may be a couple times till it stops working)

expected:
- you see the next image

failure:
- you dont see the next image, console shows:

TypeError: content is null
gGestureSupport.rotate()
 browser-gestureSupport.js:445
oncommand()
 browser.xul:1
GS__doCommand()
 browser-gestureSupport.js:338
GS__doAction()
 browser-gestureSupport.js:284
GS__doUpdate()
 browser-gestureSupport.js:148
GS__setupGesture()
 browser-gestureSupport.js:160
GS_handleEvent()
 browser-gestureSupport.js:91
 browser-gestureSupport.js
[Tracking Requested - why for this release]: major breakage probably affects many sites
I don't see the error message in the console, I expect that's profile dependent. But I can reproduce the issue on a clean profile on Windows. This is the regression window I found with mozregression:


https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=bb6bfd172d6e40b5d6a87d8118faf860c02f8545&tochange=10d4e8736dbbb4f79320273906d148c448cb8e0b

Couple of candidates in there because windows builds were busted in the middle. I suspect the asyncopen or the webkitcssmatrix work, but I've not looked at the site code yet, so I could be way off. Shane, any chance you can narrow this down further with mozregression (assuming you're using OS X?)? This should work:

mozregression --good bb6bfd172d6e40b5d6a87d8118faf860c02f8545 --bad 10d4e8736dbbb4f79320273906d148c448cb8e0b
Flags: needinfo?(mixedpuppy)
webkitcssmatrix is the winner!
Blocks: 717722
Flags: needinfo?(mixedpuppy)
verified still broken in 02-02 aurora.
Note, this won't get past Nightly or Aurora for now. Taking a closer look...
Component: General → Desktop
Product: Firefox → Tech Evangelism
Summary: browser-gestureSupport breakage in aurora → webkitcssmatrix implementation breaks realtor.ca photo
Version: 46 Branch → Firefox 46
Summary: webkitcssmatrix implementation breaks realtor.ca photo → webkitcssmatrix implementation breaks realtor.ca photo gallery
This probably doesn't belong in the TE component, especially if it's our implementation of WebKitCSSMatrix that's breaking the site.
Component: Desktop → DOM: CSS Object Model
Product: Tech Evangelism → Core
Version: Firefox 46 → 46 Branch
Shane, are you on Windows?
Flags: needinfo?(mixedpuppy)
My windows question was related to this touch event sniffing, which would actually mean the bug was Bug 1241021.

if ("ontouchstart" in window) {
    if (!this.settings.disableTranslate3d) {
        if (("WebKitCSSMatrix" in window && "m11" in new WebKitCSSMatrix()) ) {
            this._ev.css({
                "-webkit-transform-origin": "0 0",
                "-webkit-transform": "translateZ(0)"
            });
            this._ir = true
        }
    }
    this.hasTouch = true;
    this._az = "touchstart.rs";
    this._by = "touchmove.rs";
    this._cx = "touchend.rs"
}

But, this is on Aurora (and I can reproduce on Mac as well).

There's also some code here that relies on webkitTransitionEnd listeners support, which just landed in Bug 236979 (uplift has been requested on that).

So a few things to explore here. Likely WebKitCSSMatrix is taking us down a codepath that is revealing a bug, rather than a bug in the implementation of WebKitCSSMatrix itself.
Blocks: 1213126
No longer blocks: 717722
Flags: needinfo?(mixedpuppy)
Depends on: 1241021
Depends on: 1236979
> My windows question was related to this touch event sniffing, which would actually mean the bug was Bug 1241021.

To be more clear, jQuery.fn.css('-webkit-thing', 'foo') fails due to Bug 1241021. This site is using RoyalSlider (see Bug 1240611), so it likely *is* that bug. They're just using WebKitCSSMatrix support as a flag to go down that codepath, apparently.
Summary: webkitcssmatrix implementation breaks realtor.ca photo gallery → WebkitCSSMatrix support breaks realtor.ca photo gallery (RoyalSlider)
I am on osx.
Whiteboard: dom-triaged
This is working now in Nightly. I'm gonna dupe against Bug 1241021.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
No longer depends on: 1241021
This is tracked in the duplicated bug.
You need to log in before you can comment on or make changes to this bug.