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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/button-inner-no-repaint.html

Issue 2672833004: Invalidate width available to children if style diff needs full layout (Closed)
Patch Set: rebase Created 3 years, 10 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script> 2 <script src="resources/text-based-repaint.js"></script>
3 <script> 3 <script>
4 function repaintTest() { 4 function repaintTest() {
5 document.getElementsByTagName('button')[0].style.maxWidth = '1000px'; 5 document.getElementsByTagName('button')[0].style.maxWidth = '1000px';
6 } 6 }
7 onload = runRepaintTest; 7 onload = runRepaintTest;
8 </script> 8 </script>
9 <style> 9 <style>
10 button { 10 button {
11 position: absolute; 11 position: absolute;
12 width: 300px; 12 width: 300px;
13 height: 100px; 13 height: 100px;
14 } 14 }
15 </style> 15 </style>
16 <button>Should not repaint on style change that doesn't change visual.</button> 16 <button>Should not repaint on style change that doesn't change visual.<br></butt on>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698