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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-hidden-content-in-cell.html

Issue 2807973004: Deflake two layout tests (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-visible-content-in-cell.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 table { 3 table {
4 height: 100px; 4 height: 100px;
5 } 5 }
6 #content { 6 #content {
7 height: 100%; 7 height: 100%;
8 width: 100%; 8 width: 100%;
9 overflow: hidden; 9 overflow: hidden;
10 } 10 }
11 </style> 11 </style>
12 <table class="test" data-expected-height=100 data-expected-width=82> 12 <table class="test" data-expected-height=100 data-expected-width=82>
13 <tr> 13 <tr>
14 <td class="test" data-expected-height=96 data-expected-width=78><div id= "content" class="test" data-expected-height=94 data-expected-width=76><img src=" ../../images/resources/border-image-srgb-color-profile.png"></div></td> 14 <td class="test" data-expected-height=96 data-expected-width=78><div id= "content" class="test" data-expected-height=94 data-expected-width=76><img id="i mg"></div></td>
15 </tr> 15 </tr>
16 </table> 16 </table>
17 <script src="../../resources/check-layout.js"></script> 17 <script src="../../resources/check-layout.js"></script>
18 <p> crbug.com/637811: Percent height overflow hidden content in a cell should fl ex the height of the cell. </p> 18 <p> crbug.com/637811: Percent height overflow hidden content in a cell should fl ex the height of the cell. </p>
19 <div id="output"></div> 19 <div id="output"></div>
20 <script> 20 <script>
21 document.body.offsetTop; 21 img.addEventListener("load", onImageLoaded, false);
22 checkLayout('.test', output); 22 img.src = "../../images/resources/border-image-srgb-color-profile.png";
23 function onImageLoaded()
24 {
25 document.body.offsetTop;
26 checkLayout('.test', output);
27 }
23 </script> 28 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-visible-content-in-cell.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698