Skip to main content

Bug Tracker

Side navigation

Ticket #5670: IE8_visible_after_inline.html

File IE8_visible_after_inline.html, 1.1 KB (added by geoffreyk, December 16, 2009 11:57PM UTC)

IE8 visible after inline

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="">
    <title>Visibility Test for jQuery</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <style type="text/css">
        .aaa {
            display: inline;
        .bbb {
            display: none;
    <script src="" type="text/javascript"></script>
    <script type="text/javascript">

        $(document).ready(function() {
            alert('number of visible div elements: ' + $('div:visible').length)
            alert('is class .bbb visible? ' + $('.bbb').is(':visible'))


    <div class="aaa">This is display inline</div>
    <div class="bbb">This is display none</div>


Download in other formats:

Original Format