Closed Bug 804710 Opened 7 years ago Closed 5 years ago

soso.com image carousel doesn't function on Fennec

Categories

(Web Compatibility :: Mobile, defect)

ARM
Android
defect
Not set

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: lmandel, Unassigned)

References

()

Details

(Whiteboard: [country-cn] [js] [window.event] [contactready])

Attachments

(1 file)

The image carousel on soso.com doesn't function in Fennec. Works fine in the Android Stock browser.
Screenshot of the carousel. Clicking on the arrows doesn't change the photo albums in Firefox for Android.
Just tested on Firefox for Android. 

Going to the home page and selecting image search and then with a term. And I get results with images. The layout seems to have changed a lot since the screenshot attached to this bug. Closing.
Status: NEW → RESOLVED
Closed: 6 years ago
OS: Mac OS X → Android
Hardware: x86 → ARM
Resolution: --- → WORKSFORME
Whiteboard: [country-cn] [js]
Tapping an image in the search results will enlarge that image to fill the screen. At this point you're supposed to be able to slide left/right to scroll through the search results - this part doesn't work.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Lots of "ReferenceError: event is not defined" - some code here relies on a global window.event variable:

var touchStart = function(){
		topCurX = event.touches[0].screenX;
		topCurY = event.touches[0].screenY;
		topDeltaX = 0;
	}
	var touchMove = function(){
		if(event.touches.length > 1 || event.scale && event.scale !== 1) return;
		topDeltaX = event.touches[0].screenX - topCurX;
		topDeltaY = event.touches[0].screenY - topCurY;
		//if( topDeltaY > -260 && topDeltaY < 260 ){
			//if( topDeltaX > 20 || topDeltaX < -20 ){
		event.preventDefault();
			//}
		//}
	}
	var touchEnd = function(){
		if(event.touches.length > 1 || event.scale && event.scale !== 1) return;
Status: REOPENED → NEW
Whiteboard: [country-cn] [js] → [country-cn] [js] [window.event] [contactready]
It's resolved!
Status: NEW → RESOLVED
Closed: 6 years ago5 years ago
Resolution: --- → WORKSFORME
Depends on: 218415
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.