1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>CSS Test: overflow applied to elements with 'display' set to 'table-caption'
</title>
5 <link rel=
"author" title=
"Microsoft" href=
"http://www.microsoft.com/">
6 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/visufx.html#propdef-overflow">
7 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/visufx.html#overflow">
8 <meta name=
"flags" content=
"ahem">
9 <script src=
"../../resources/ahem.js"></script>
10 <meta name=
"assert" content=
"The 'overflow' property does apply to elements with 'display' set to 'table-caption'.">
11 <style type=
"text/css">
14 border: 5px solid transparent
;
16 display: table-caption
;
44 <p>Test passes if there is no red visible on the page.
</p>
46 <div id=
"test"><span>XXXXX
</span><span id=
"span2">XXXXX
</span></div>