From jira-events at lists.jboss.org Mon Jul 23 08:51:07 2012 Content-Type: multipart/mixed; boundary="===============1232698310532735091==" MIME-Version: 1.0 From: Kris Borchers (JIRA) To: jbosstools-issues at lists.jboss.org Subject: [jbosstools-issues] [JBoss JIRA] (JBIDE-12274) BrowserSim borks on jquery mobile (RHEL 6.1) Date: Mon, 23 Jul 2012 08:51:07 -0400 Message-ID: <1113162937.11860.1343047867210.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 189308530.24381.1340982492245.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============1232698310532735091== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/JBIDE-12274?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12707266#= comment-12707266 ] = Kris Borchers commented on JBIDE-12274: --------------------------------------- I do not have a RHEL machine to test with but should get a VM running that = at some point. That being said, I don't think this is a jQM issue. The fact= that the page renders fine in every other webkit browser I have tested lea= ds me to believe it is something with BrowserSim. If I had to guess, I woul= d say it may have to do with something messing with the DOM while jQM is in= itializing. jQM waits for domready then manipulates the content to give it = the mobile styling and then fires a pageinit event which is what you listen= for to tell your app that jQM is ready. My guess, and this is just a guess= , is that maybe BrowserSim is doing something to the document after it repo= rts domready and that is messing with jQM's initialization. Again, this is = just speculation as I haven't been able to actually test anything on RHEL. = > BrowserSim borks on jquery mobile (RHEL 6.1) > -------------------------------------------- > > Key: JBIDE-12274 > URL: https://issues.jboss.org/browse/JBIDE-12274 > Project: Tools (JBoss Tools) > Issue Type: Feature Request > Components: Visual Page Editor core > Affects Versions: 3.3.0.CR1 > Environment: RHEL 6.1 > JBoss Developer Studio 5.0.0.CR1 > Reporter: Gabriel De Repentigny > Assignee: Yahor Radtsevich > Labels: upstream > Fix For: 3.4.0.M1 > > Attachments: Screenshot-BrowserSim .png, windows-7_Safari-5.1.2-7= 534.52.7.png > > > I'm walking through the JBoss Way Ticket Monster lab. JDS's BrowserSim bo= rks while trying to render mobile.html (pasted below) which is part of the = tutorial. > The problem seems to be with the jquery mobile js file. If you take that = include out, it renders (sans-mobile styling). > {code:xml} > > > > jQuery Mobile Template > > > href=3D"http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css"= /> > > > > >
>
>

jQuery Mobile

>
>
> >
>
>

www.jboss.org/developer

>
>
> > > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.jboss.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira = --===============1232698310532735091==--