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

Side by Side Diff: LayoutTests/fast/flexbox/box-size-integer-overflow.html

Issue 10583010: Merge 120257 - Padding and borders can cause integer overflow in block layouts (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 6 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 window.onload = function() { 4 window.onload = function() {
5 if (window.layoutTestController) 5 if (window.layoutTestController)
6 window.layoutTestController.dumpAsText(); 6 window.layoutTestController.dumpAsText();
7 7
8 var cell = document.getElementById("cell"); 8 var cell = document.getElementById("cell");
9 var text = cell.firstElementChild; 9 var text = cell.firstElementChild;
10 var wdiff = cell.offsetWidth - text.offsetWidth - (parseInt(window.getComputed Style(cell).getPropertyValue('padding-right')) + 10 var wdiff = cell.offsetWidth - text.offsetWidth - (parseInt(window.getComputed Style(cell).getPropertyValue('padding-right')) +
(...skipping 12 matching lines...) Expand all
23 <td id="cell" style="background-color: green; width: 100%; height: 30px" > 23 <td id="cell" style="background-color: green; width: 100%; height: 30px" >
24 <span>FAIL</span> 24 <span>FAIL</span>
25 </td> 25 </td>
26 </tr> 26 </tr>
27 </table> 27 </table>
28 </div> 28 </div>
29 </div> 29 </div>
30 <div style="clear: left;">The green box should be the full width of the page.</d iv> 30 <div style="clear: left;">The green box should be the full width of the page.</d iv>
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698