How to report bugs of rendering CSS browser WebView/BB?

I have an app that bypasses the normally difficult radio button style html5 by cutting the real radio inside a rectangle 0,0,0,0, then using the CSS: before Pseudo selector to create a substitute radio button image using nothing more than CSS attributes. It works perfectly on every single desktop browser, I tested against (Chrome, Firefox, IE, Opera), each Android browser, I've tried (Chrome, Firefox, Opera) and the same Android browsers running on my Z10 via Cobalt (Chrome, Firefox, Opera), but on the browser BB10 and WebView (so-called WebKit based as Chrome and Opera) does not support the CSS style the : Pseudo-selector update to show that when the Group of option buttons has focus.

This is an example of what a couple of radio buttons by using this technique looks like when they have not developed in the...

When option buttons have the focus, it should look like this...

But as I said, on the browser BB10 or WebView even with the development of radio buttons always look like the first example. On all other browsers (except iOS/Safari, which proves defective as browsers BB10) favouring option buttons look like the second example.

Anyone where I can tell you something like that?

In the immortal words of Emily Littela... never mind. Since the BB10 and WebView browser seem to ignore the: pseudo-selector developed, I thought that it was a CSS rendering problem, but it is not. The idea that led me to a solution, is that the same problem occurs on iOS Safari too. A little Google search on the oddities of Safari has revealed the real cause.

It turns out that even if Safari, as the browser BB10 and WebView, are Webkit based, he manipulates not the focus of the element like all the other funds or Android mobile WebKit browsers. Based on certain types of HTML elements is not automatically set focus to this element. One of the element types that it affects is the radio input element that I use. Some devs online are speculating that avoids unnecessary popups of the keyboard to the iOS screen by typing some controls on a form, but does not say Apple.

The solution is quite simple, just set the focus in the OnClick of the radio input element explicitly. In this way, by tapping the control will force the browser to focus control and if necessary: focus CSS will be applied...

myRadioButton.focus();

I use jQuery so my generic code to manage all the radio buttons to a page looks like this...

$('input[type="radio"').click( function() {
    $(this).focus();
});

It is clear that BlackBerry browser and WebView work in the same way as iOS Safari because this code sets things there also. I don't know if someone else is bickering with this problem when you target the WebView or BB10 browser, but I thought I would post the solution, just in case.

Tags: BlackBerry Developers

Similar Questions

  • How to report bug for Photoshop CS6?

    I was unable to find a way to prevent a bug in Camera Raw Adobe - is there a process to raise questions?

    Hello

    You can post the camera raw forum:

    (adobe employees read the forums)

    http://forums.Adobe.com/community/CameraRaw

  • Bug Video Renderer increased - where do I report it?

    I found a bug in the Enhanced Video Renderer when used with DirectShow.

    If I use the IGraphBuilder::Connect to connect some pin from the source to the input pin was, and then immediately call IPin::ConnectedTo, then connected sometimes returns VFW_E_NOT_CONNECTED.

    I check the result of IGraphBuilder::Connect, and he succeeds. Also when I insert a loop to try again with a Sleep (1), the second attempt usually succeeds (and I have * never * seen the third attempt fail until now)!

    So I'm sure it is a bug, and I would like to report it. However, I don't find a place where I can report bugs Windows SDK or Core.

    Can you tell me what I need to do to post this?

    I have this problem, since the work of new attempt-loop bypass, so I of course won't open a ticket paid for it. However, I think it should be fixed.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • Smartphones blackBerry how to report a bug in the operating system or HW?

    Hi all

    I would like to know how to report a bug in the operating system or a bug of the HW? Post a message here looks like post it anywhere... If there is a serious bug in the operating system, how can I report on BOARD?

    Boris

    borisporosin wrote:

    I would like to know how to report a bug in the operating system or a bug of the HW?

    [email protected]

    borisporosin wrote:

    Post a message here looks like post it anywhere...

    Correct - this forum is a support system-based user community. ON-BOARD staff rarely participate and check no reports of bugs here.

  • How to report a bug in the package XMP Toolkit?

    Hello

    How to report a bug in the package XMP Toolkit?

    Thomas

    Hi Thomas,

    Please let us know any bugs through this forum. We will file a bug in their own country. Unfortunately, there is currently no public bug for XMP tool.

    Thank you

    Jörg

  • How to report a flex2 bug?

    How can I report a flex2 bug?

    Hi Sabri,

    Great question! You can report bugs Flex 2 by posting a topic in the appropriate forum of Flex with "Bug report:" in the subject line. We do not have a request at the moment of bug tracking, but the product teams are combing the forums looking for problems and bugs. I hope this helps!

  • Vista - How to report a bug to?

    As time passes, I find most annoying bugs with Vista EU on my Qosmio G20. I think I installed all the drivers available. But still things are simply unforgivable.
    To be altruistic and all :), I would like to report bugs so someone could correct. But I do not know where to write to. just from Microsoft? Toshiba as well?

    I am also interested in the status, the crew Toshiba trying to get Vista drivers for their 'old' models too? Coz I don't have this much trouble with Satellite Pro U200-10i, which came with Vista Business pre-installed.

    P. S. - does anyone know what is SP1 for Vista demand?

    Vista bug? Hmm generally manufacturing operating system (Microsoft ;)) is responsible for the system clean. If you want you can report bugs in Vista to MS.

    Regarding the drivers Vista for Qosmio G20:

    I found this official document from Toshiba:
    http://support.toshiba-tro.de/KB0/TSB7201SK002HR01.htm

    There, you will not find the Qosmio G20 series.
    Sorry to say but it seems that drivers Vista for Qosmio G20 out :(

    I agree with you on the performance of the G20. This notebook can handle the Vista operating system very easily. But in my opinion it s not a question of the performance of the laptop but the issue of delay. The Qosmio G20 series seems to be out of the reach of driver Vista

  • How can I remove a program called Browser support. I have not asked for it. I think it might come when I updated Adobe

    How can I remove a program called Browser Support?

    Sometimes a problem with Firefox can be a result of malware installed on your computer, you may not be aware of.

    You can try these free programs to search for malicious software that work with your existing anti-virus software:

    Microsoft Security Essentials is a good permanent antivirus for Windows 7/Vista/XP, if you do not already have one. Windows 8 already has integrated antivirus.

    More information can be found in the article troubleshooting Firefox problems caused by malware .

    This solve your problems? Please report to us!

  • How to display date / time in the browser console?

    How to display date / time in the browser console?

    You can set through the Options (gear icon) page in the Web Console (Firefox/tools > Web Developer).
    This applies to the browser console and the Web console.

  • I need, but do not know how to go to the FWD & BWD browse screens like these arrows are missing from my tab

    in IE, I could see left and right arrows for Backward and Forward through the pages. I used to make them, but they disappeared after I did something. A screenshot will be following when I figure out how to paste the shpt on my area of Question (later)

    Hello

    Sometimes, bars of buttons and tools or are missing because they are hidden, you just bring it to the top. Visit this link to know how to report them: Customize Firefox commands, buttons, and toolbars. You can learn tips and tricks at the same time.

  • How to upgrade Safari is a Web browser supported?

    How to upgrade Safari is a Web browser supported? My main browser is Yahoo. After the update to my OS X 10.6.3 to 10.6.8 I tried to access my email through Yahoo. Before the upgrade, my Yahoo mail had to be basic messaging. I was hoping once I upgraded to 10.6.8 I would be able to upgrade to the latest features of Yahoo mail. He said that I use a browser not supported. When I clicked on upgrade of your browser, it took me straight to Firefox to download. I downloaded Firefox. I can access the new Yahoo mail via Firefox, but, not through Safari. How can I also make Yahoo mail on Safari?

    Open the Mac App Store and try to download El Capitan. If you get told that it is incompatible with your computer or not desired, choose about this Mac from the Apple menu, check if the computer has at least a Xeon or CPU Core 2 Duo(not Core Duo) and 2 GB of RAM, and if this is the case, click here and order a download code for Lion 10.7; the Apple Online Store also sells codes for 10.8 Mountain Lion to download, but it has the same system requirements as El Capitan. Note that if the maximum of your computer operating system is 10.7.5, you will probably still need to use Firefox.


    Back up your data and control your applications for compatibility before upgrading. In particular, Mac OS X 10.7 and newer do not support PowerPC programs such as versions of Microsoft Office prior to 2008.


    (137973)

  • where to report bugs found on the lollipop?

    What is the appropriate forum to report bugs found?

    If you have received a legitimate on the upgrade of air to L, you can start a new thread with any problem you find. The case for 2nd Gen G, then the 2nd G, forum is the appropriate place. If you sideloaded update, or are part of a private beta, then it wouldn't be the place.

  • How to insert the image in the browser IMAQ instructions

    Hello

    How to insert multiple images in the browser of the IMAQ insert vi. will be taken to image in the folder.


  • How to report a provider using unlicensed Microsoft products?

    How can report you a Microsoft Certified provider who is using unauthorized copies?

    Please see: report suspected piracy (in the United States) or report piracy outside the United States

  • I'm possitive that is illegal but don't know how to report it.

    I was looking for a cheap second hand computer Chair and keep coming across this guy adds. http://capebreton.Kijiji.ca/c-buy-and-sell-computer-accessories-fix-your-own-computer-today-or-allow-me-to-do-it-for-you-W0QQAdIdZ165752897 he said that he has a volume license and sells copies of XP for $20 to use. Now I'm a professional and positive that it's against the license agreement. Am I wrong? or is his claim that he is right. Also if I am how I report it. Such things are the reason small time sellers can get a foot in the door of the local market

    It seems certainly fishy to me, but I have no way of really knowing. Here is the link for reporting piracy:

    http://www.Microsoft.com/piracy/reporting/default.aspx MS - MVP - Elephant Boy computers - don't panic!

Maybe you are looking for

  • put Airport Express before or after the switch?

    Believing that it is preferable to wire as much of my LAN House as possible, I ran ethernet in all the House of my office (where desktop computer, printer and modem/router DSL reside) in my living room (Roku, Apple TV, etc. where).  The living room i

  • URGENT REQUEST - X 200 problems running SMS ZTI build - hangs after agpcpq.sys

    I work for a major public sector division and we just started having a laptop Lenovo (X 200), through a system of Government. We drive on XP SP2 by using SMS and a Zero Touch installation. The machine connects very well and all the image will load bu

  • d 800700 error is the error I get whenever I try to update what I'll do?

    whenever I put on my pc I get a pop up on the screen saying 1 update available and when I click and start to be updated after agreeing to the terms and condition after a while, it shows the sign update failed error 8007000D then now could someone ple

  • Kodak printer

    I have an error message but no clue as to why. The printer made a copy but doesn't my lap top even though it used to be. Why it has stopped working?

  • Cisco WLC 2504 - Access Points do not reach the controller

    Hello world We bougth a Cisco WLC 2504 with two AIR-AP2702I-UXK9 Access Points. The problem is that the AP do not join the WLC.The output from 'show join ap stats' shows the following: (Cisco Controller) > view join ap stats summary all the Database