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

Side by Side Diff: LayoutTests/fast/table/table-different-overflow-values.html

Issue 265493010: ASSERTION FAILED: overflowX() != OVISIBLE || overflowX() == overflowY() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/table/table-different-overflow-values-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3
4 <!-- For tables. -->
5 <table id="table1" class="test" style="overflow-x: visible; overflow-y: auto"/>
6 <table id="table2" class="test" style="overflow-x: visible; overflow-y: scroll"/ >
7 <table id="table3" class="test" style="overflow-x: visible; overflow-y: hidden"/ >
8
9 <!-- For inline tables. -->
10 <table id="inline_table1" class="test" style="overflow-x: visible; overflow-y: a uto; display: inline"/>
11 <table id="inline_table2" class="test" style="overflow-x: visible; overflow-y: s croll; display: inline"/>
12 <table id="inline_table3" class="test" style="overflow-x: visible; overflow-y: h idden; display: inline"/>
13
14 <!-- For table row groups. -->
15 <table>
16 <tbody id="tbody1" class="test" style="overflow-x: visible; overflow-y: auto "/>
17 <tbody id="tbody2" class="test" style="overflow-x: visible; overflow-y: scro ll"/>
18 <tbody id="tbody3" class="test" style="overflow-x: visible; overflow-y: hidd en"/>
19 </table>
20
21 <!-- For table rows. -->
22 <table>
23 <tr id="tr1" class="test" style="overflow-x: visible; overflow-y: auto"/>
24 <tr id="tr2" class="test" style="overflow-x: visible; overflow-y: scroll"/>
25 <tr id="tr3" class="test" style="overflow-x: visible; overflow-y: hidden"/>
26 </table>
27 <script>
28 description("This test checks for overflow equality. If overflow-x is visibl e then overflow-y should be visible as well.");
29
30 var elements = document.getElementsByClassName("test");
31 for (i = 0; i < elements.length; ++i)
32 {
33 computedStyle = getComputedStyle(elements[i]);
34 overflowX = computedStyle.getPropertyValue('overflow-x');
35 overflowY = computedStyle.getPropertyValue('overflow-y');
36
37 if (overflowX == "visible" && overflowX != overflowY)
38 testFailed(elements[i].id + ": overflow-y should be visible. Was " + overflowY + ".");
39 else
40 testPassed(elements[i].id + ": overflow-x is either not visible or b oth overflow values are visible.");
41 }
42 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/table/table-different-overflow-values-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698