Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
biggerCC
Posts: 270
Registered: ‎12-13-2010
My Device: PlayBook 16GB, BB10 Dev Alpha
My Carrier: o2 (de)
Accepted Solution

PlayBook CSS3 Animations

Hi guys,

 

having watched the WebWorks Podcasts lately, I remember something like "full HTML5 support".

I am now building a project with some fancy CSS3 effects, but they don't seem to work for me (in the emulator).

They do not only happen, but the emulator seems to hang for 0.5s or so, whenever I start a new animation (-webkit-transform).

 

Is this

 

  • something currently under development or
  • should I use some more mature technique (JS) instead or
  • is this issue somehow related to the emulator / 3D-acceleration
?

 

- - -
My approved apps @ App World
Please use plain text.
Developer
jmace
Posts: 482
Registered: ‎10-24-2008
My Device: 9300
My Carrier: AT&T

Re: PlayBook CSS3 Animations

I have two different playbook applications that use -webkit-transform with no issues.

 

Are you using the latest simulator (0.9.3) ? 

 

My suggestion is try a simple html file with just a button and throw the following style on it. When you touch the button in the simulator, it should grow to double the size and we'll know if you are having some other issue.

 

 

button {
  width: 60px;
  height: 40px;
}

button:active {
   -webkit-transform: scale(2);
}

 

 

_________________________________________
www.jasonmace.com/blackberry
Please use plain text.
Developer
biggerCC
Posts: 270
Registered: ‎12-13-2010
My Device: PlayBook 16GB, BB10 Dev Alpha
My Carrier: o2 (de)

Re: PlayBook CSS3 Animations

Thanks for your prompt reply!

This really seems to be an emulator issue... I just got it to work by using two instead of one CPU cores.

Strange, but worked :smileywink:

- - -
My approved apps @ App World
Please use plain text.