This is a migrated thread and some comments may be shown as answers.

Css commented out block of code make Chrome fail

3 Answers 7 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Christophe
Top achievements
Rank 1
Christophe asked on 21 Aug 2013, 12:37 AM
Hi there,

I tried to load a css file in Icenium Mist but Chrome keeps crashing when I open it. It works perfectly in Firefox though.
What cause the crash is the following (i.e it works when I remove it before uploading the file):

1./*#dial_login
2.{
3.    text-align: center;
4.    }*/

OS: Windows 7 64bits
Browser: Chrome 21.0.1180.89 m

The complete css file is as follow:
01.body {
02.}
03. 
04..dial_icon
05.{
06.    max-height: 42px;
07.    max-width: 42px;
08.    float: left;
09.    }
10. 
11.div[data-role="dialog"]
12.{
13.    z-index: 1000;
14.    }
15. 
16.div[data-role="content"]
17.{
18.    text-align: center;  
19.    }
20. 
21./*#dial_login
22.{
23.    text-align: center;
24.    }*/
25. 
26.#buttons a
27.{
28.    width: 100px;
29.    display: inline-table;
30.}
31. 
32..ui-dialog  .ui-header .ui-btn-icon-notext
33.{
34.    display:none;
35.}
36. 
37..inactive
38.{
39.    display: block !important;
40.}
41.     
42..ui-dialog
43.{
44.    background-color: rgba(34,34,34,0.25) !important;
45.}
46. 
47..ui-dialog.ui-overlay-a
48.{
49.    background-image: none;
50.}


Regards

Chris

3 Answers, 1 is accepted

Sort by
0
Christophe
Top achievements
Rank 1
answered on 21 Aug 2013, 12:50 AM
Looks like Firefox just crashed as well (v23.0.1)
0
domiSchenk
Top achievements
Rank 1
answered on 21 Aug 2013, 05:24 AM
just tested with chrome and I - same problem.

it looks like he doesn't like the combination of 'div[data-role="dialog"]' selectors and comments.
Also after loading this css file my CPU runs at 100%(1 cpu core)

Graphite works.
0
Deyan Varchev
Telerik team
answered on 23 Aug 2013, 05:35 PM
Hello,

 Thanks for the bug report guys. We were able to reproduce this problem and will do our best to fix it in our next release. In the mean time, if you are on Windows, everything should be working fine in Graphite. 
On other OS, avoid using that sequence of css code.

 Sorry for the inconvenience we've caused you and stay tuned for our next release.

Regards,
Deyan Varchev
Telerik

Do you enjoy Icenium? Vote for it as your favorite new product here (use short code H048S).
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
Report a bug
Asked by
Christophe
Top achievements
Rank 1
Answers by
Christophe
Top achievements
Rank 1
domiSchenk
Top achievements
Rank 1
Deyan Varchev
Telerik team
Share this question
or