Opened 7 years ago

Closed 7 years ago

#1376 closed defect (fixed)

Dialogs are invisible in IE6

Reported by: nicholasbs Owned by: ray
Priority: normal Milestone: 0.96
Component: Xinha Core Version: trunk
Severity: blocker Keywords: ie5 new-dialogs


The new inline dialogs are invisible in IE6. It looks like it was r1141 that broke things, since I just checked and the dialogs were working as of r1140 and have not worked since r1141.

Change History (4)

comment:1 Changed 7 years ago by nicholasbs

Looks like a regression caused by the CSS3 additions from #1348

comment:2 Changed 7 years ago by ray

  • Owner changed from gogo to ray

comment:3 Changed 7 years ago by ray

It has actually nothing to do with the CSS additions, but it's that I added the classname modal to the dialog, which triggered an zero Alpha value which should only apply to the compound selector .xinha_dialog_background.modal, that is the background not the dialog itself. Please try this test case to enjoy an outstanding example of IE6 madness:

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Untitled Document</title>
        <style type="text/css">
            .xinha_dialog_background.modal {
                filter: alpha( opacity = 10 );
            .dialog {
        <script type="text/javascript">
            function toggleMe()
                var x = document.getElementById('x');
                var out = document.getElementById('out');
                if ( == 'absolute') 
           = '';
           = 'absolute';
                out.value = "Now the style is position:" +;
            <button type="button" onclick="toggleMe()">
                Click me to toggle div position absolute
            <div id="x" style="" class="modal dialog">
                <h1>Dialog Test</h1>
            <textarea id="out" rows="2" cols="30">

comment:4 Changed 7 years ago by ray

  • Resolution set to fixed
  • Status changed from new to closed

rev [1155]: no more using modal as classname

Note: See TracTickets for help on using tickets.