Opened 9 years ago

Closed 9 years ago

#11702 closed enhancement (fixed)

[patch][ccla] dojox.mobile: BlackBerry simulator support

Reported by: ykami Owned by: Shane O'Sullivan
Priority: high Milestone: 1.6
Component: DojoX Mobile Version: 1.5
Keywords: Cc: Douglas Hays, Shane O'Sullivan, Chris Mitchell, dylans, Jared Jurkiewicz
Blocked By: Blocking:

Description

dojox.mobile does not work on blackberry at all. As the first step, I investigated the blackberry 9550 (and some others) *simulator*, not a real device, and found some problems and limitations.

  • The blackberry browser does not support the clip property. Thus CSS sprites, which dojox.mobile supports, do not work.
  • The blackberry does not support the opacity CSS property. Therefore, the fade animation does not work.
  • Cannot change a background image dynamically.
  • Dojo.require() does not work. (Workaround is to build your entire app.)
  • Need to eliminate the spaces after commas from the value of the viewport meta tag. (Most of the test html files need to be fixed)
  • Need to load *-compat.css explicitly with <link> or @import. Otherwise, blackberry miscalculates CSS relative paths.
  • Dojo.hash does not seem to work

A patch will be sent to doughays.

Attachments (2)

11702.patch (69.8 KB) - added by Douglas Hays 9 years ago.
Patch from Yoshiroh Kamiyama (IBM, CCLA)
heading-bg.png (181 bytes) - added by Douglas Hays 9 years ago.
New PNG file for dojox/mobile/themes/android/compat/, from Yoshiroh Kamiyama (CCLA)

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by Douglas Hays

Attachment: 11702.patch added

Patch from Yoshiroh Kamiyama (IBM, CCLA)

Changed 9 years ago by Douglas Hays

Attachment: heading-bg.png added

New PNG file for dojox/mobile/themes/android/compat/, from Yoshiroh Kamiyama (CCLA)

comment:1 Changed 9 years ago by Douglas Hays

Milestone: tbd1.6

Shane, can you review the patch+png and commit? I don't have any way to test this.

comment:2 Changed 9 years ago by Douglas Hays

Summary: dojox.mobile: BlackBerry simulator support[patch][ccla] dojox.mobile: BlackBerry simulator support

comment:3 Changed 9 years ago by Shane O'Sullivan

Cc: dylans Jared Jurkiewicz added

I'm not sure that we plan to support non-WebKit? browsers for the moment. Does this patch negatively affect the experience on Android and iPhone?

comment:4 Changed 9 years ago by dylan

Blackberry 6 is WebKit?...

comment:5 Changed 9 years ago by ykami

I believe it doesn't negatively affect Android and iPhone. There were several minor issues, but the issues were mainly in the test html files.

ps. I also tried Blackberry Java SDK 6.0, which is webkit-based. I only did some quick tests, but it seemed to be working fine (regardless of this patch).

comment:6 Changed 9 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [22952]) Fixes #11702, #11703. Proxy commit for ykami (CCLA). Adds support for Blackberry simulator and iPad split view. Several new iPad testcases added.

Note: See TracTickets for help on using tickets.