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
Highlighted
Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom
Accepted Solution

More CSS classes coming our way?

I'm assuming the reference when it comes to writting CSS for the Playbook browser is this?

http://docs.blackberry.com/en/developers/deliverables/18234/Overview_function_1176567_11.jsp

 

There are a few interesting classes missing like box-shadow and -webkit-mask.

 

Any idea of if and when those will be made available?

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Developer
Posts: 123
Registered: ‎03-22-2011
My Device: curve 8900
My Carrier: Rogers

Re: More CSS classes coming our way?

That's weird, I'm using box-shadow in one of my apps and last I recall it works fine
--
Bitbox
Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: More CSS classes coming our way?

I just went int o the PB's browser and was able to see shadows on css3.info, but it didn't work from my app even though Chrome shows them, so I don't know what to think since the emulator is pretty broken.

 

I think that CSS page should be updated to mention what is supported on the PB.

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Contributor
Posts: 34
Registered: ‎03-15-2011
My Device: Torch 9800
My Carrier: Virgin Canada

Re: More CSS classes coming our way?

That document is for the Blackberry Browser on Phones. 

Developer
Posts: 123
Registered: ‎03-22-2011
My Device: curve 8900
My Carrier: Rogers

Re: More CSS classes coming our way?

First thing that comes to mind, which css selector did you use for the box shadow?

 

--
Bitbox
Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: More CSS classes coming our way?

[ Edited ]

I was using box-shadow since that's what the Sencha cheatsheets recommends we use and since that page I linked to is using selectors like text-shadow, but I just did a test with -webkit-box-shadow and it worked Smiley Happy.

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: More CSS classes coming our way?

Seems The webkit browser is a bit broken:

http://www.sencha.com/blog/blackberry-playbook-the-html5-developer-scorecard/

 

Hopefully, this will be adressed soon Smiley Happy

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.