Css commented out block of code make Chrome fail

4 posts, 0 answers
  1. Chris
    Chris avatar
    58 posts
    Member since:
    Feb 2012

    Posted 20 Aug 2013 Link to this post

    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

  2. Chris
    Chris avatar
    58 posts
    Member since:
    Feb 2012

    Posted 20 Aug 2013 Link to this post

    Looks like Firefox just crashed as well (v23.0.1)
  3. domiSchenk
    domiSchenk avatar
    55 posts
    Member since:
    Mar 2013

    Posted 21 Aug 2013 Link to this post

    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.
  4. Deyan Varchev
    Admin
    Deyan Varchev avatar
    150 posts

    Posted 23 Aug 2013 Link to this post

    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.
Back to Top