haikuwebkit/LayoutTests/css2.1/20110323/overflow-applies-to-006.htm

50 lines
1.6 KiB
HTML
Raw Permalink Normal View History

CSS 2.1 failure: overflow-applies-to-001 fails https://bugs.webkit.org/show_bug.cgi?id=93148 Reviewed by Eric Seidel. Source/WebCore: Overflow no longer applies to table-rows or table-row-groups, it only applies to block containers: http://www.w3.org/TR/CSS21/visufx.html#overflow Tests: css2.1/20110323/overflow-applies-to-001.htm css2.1/20110323/overflow-applies-to-002.htm css2.1/20110323/overflow-applies-to-003.htm css2.1/20110323/overflow-applies-to-004.htm css2.1/20110323/overflow-applies-to-005.htm css2.1/20110323/overflow-applies-to-006.htm css2.1/20110323/overflow-applies-to-007.htm css2.1/20110323/overflow-applies-to-008.htm css2.1/20110323/overflow-applies-to-009.htm css2.1/20110323/overflow-applies-to-010.htm css2.1/20110323/overflow-applies-to-012.htm css2.1/20110323/overflow-applies-to-013.htm css2.1/20110323/overflow-applies-to-014.htm css2.1/20110323/overflow-applies-to-015.htm * rendering/RenderBox.cpp: (WebCore::RenderBox::updateBoxModelInfoFromStyle): LayoutTests: * css2.1/20110323/overflow-applies-to-001-expected.html: Added. * css2.1/20110323/overflow-applies-to-001.htm: Added. * css2.1/20110323/overflow-applies-to-002-expected.html: Added. * css2.1/20110323/overflow-applies-to-002.htm: Added. * css2.1/20110323/overflow-applies-to-003-expected.html: Added. * css2.1/20110323/overflow-applies-to-003.htm: Added. * css2.1/20110323/overflow-applies-to-004-expected.html: Added. * css2.1/20110323/overflow-applies-to-004.htm: Added. * css2.1/20110323/overflow-applies-to-005-expected.html: Added. * css2.1/20110323/overflow-applies-to-005.htm: Added. * css2.1/20110323/overflow-applies-to-006-expected.html: Added. * css2.1/20110323/overflow-applies-to-006.htm: Added. * css2.1/20110323/overflow-applies-to-007-expected.html: Added. * css2.1/20110323/overflow-applies-to-007.htm: Added. * css2.1/20110323/overflow-applies-to-008-expected.html: Added. * css2.1/20110323/overflow-applies-to-008.htm: Added. * css2.1/20110323/overflow-applies-to-009-expected.html: Added. * css2.1/20110323/overflow-applies-to-009.htm: Added. * css2.1/20110323/overflow-applies-to-010-expected.html: Added. * css2.1/20110323/overflow-applies-to-010.htm: Added. * css2.1/20110323/overflow-applies-to-012-expected.html: Added. * css2.1/20110323/overflow-applies-to-012.htm: Added. * css2.1/20110323/overflow-applies-to-013-expected.html: Added. * css2.1/20110323/overflow-applies-to-013.htm: Added. * css2.1/20110323/overflow-applies-to-014-expected.html: Added. * css2.1/20110323/overflow-applies-to-014.htm: Added. * css2.1/20110323/overflow-applies-to-015-expected.html: Added. * css2.1/20110323/overflow-applies-to-015.htm: Added. Tests from the CSS test suite. * fast/css/nested-layers-with-hover.html: Made this dumpAsText/waitUntilDone - the test relies on a simulated hover so wasn't meaningful as a rendertree. * platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug106966-expected.png: * platform/chromium-linux/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.png: * platform/chromium-linux/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.png: * platform/chromium-win/fast/css/nested-layers-with-hover-expected.txt: * platform/chromium-win/tables/mozilla_expected_failures/bugs/bug106966-expected.txt: * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt: * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt: These are all progressions and now render the same as FF and Opera. * platform/chromium/TestExpectations: * platform/efl/TestExpectations: * platform/gtk/TestExpectations: * platform/mac/TestExpectations: * platform/qt/TestExpectations: Canonical link: https://commits.webkit.org/111036@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@124697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-08-04 09:59:30 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: overflow applied to elements with 'display' set to 'table-column'</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#propdef-overflow">
<link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#overflow">
<meta name="flags" content="ahem">
<meta name="assert" content="The 'overflow' property does not apply to elements with 'display' set to 'table-column'.">
<style type="text/css">
#test
{
display: table-column;
overflow: hidden;
}
#table
{
border: 5px solid transparent;
color: white;
display: table;
font: 20px/1em Ahem;
height: 5em;
table-layout: fixed;
width: 5em;
}
#row
{
display: table-row;
}
#cell
{
display: table-cell;
white-space: nowrap;
}
#span2
{
color: green;
}
</style>
</head>
<body>
<p>Test passes if there is a green box below.</p>
<div id="table">
<div id="test"></div>
<div id="row">
<div id="cell"><span>XXXXX</span><span id="span2">XXXXX</span></div>
</div>
</div>
</body>
</html>