Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: LayoutTests/fast/table/overflowScroll-display-block.html

Issue 1228373007: Compute the correct overflow-x and overflow-y values for table elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/table/overflowScroll-display-block.html
diff --git a/LayoutTests/fast/table/overflowScroll-display-block.html b/LayoutTests/fast/table/overflowScroll-display-block.html
new file mode 100644
index 0000000000000000000000000000000000000000..3f9b00a823285964dc360c60c41a88d23989e5fa
--- /dev/null
+++ b/LayoutTests/fast/table/overflowScroll-display-block.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<style>
+.scrollingElement
+{
+ width: 100px;
+ height: 100px;
+ background-color: green;
+ overflow: scroll;
+ display: block;
+}
+table
+{
+ margin-bottom: 35px;
+}
+</style>
+<table class="scrollingElement" cellspacing=0>
+ <tbody>
+ <tr><td></td></tr>
+ </tbody>
+</table>
+<table cellspacing=0>
+ <tbody class="scrollingElement">
+ <tr><td></td></tr>
+ </tbody>
+</table>
+<table cellspacing=0>
+ <tbody>
+ <tr class="scrollingElement"><td></td></tr>
+ </tbody>
+</table>
+<p> crbug.com/368699: When table elements have display: block, they should be allowed to have overflow:scroll. The exception is the table element, which doesn't permit anything other than visible per http://dev.w3.org/csswg/css2/visufx.html#overflow.</p>
« no previous file with comments | « LayoutTests/fast/table/overflowScroll.html ('k') | LayoutTests/fast/table/overflowScroll-display-block-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698