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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html

Issue 1837033002: Invalidate objects when their content box changes dimensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/repaint/border-box-sizing-invalidation-expected.html » ('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 <style>
3 img {
4 box-sizing: border-box;
5 transition: padding;
Xianzhu 2016/04/04 03:55:45 Is this needed?
6 width: 100px;
7 }
8 #tst {
9 padding: 30px;
10 }
11 </style>
12 <p>crbug.com/597194: There should be a blue box below.</p>
Xianzhu 2016/04/04 03:55:45 If the test fails, isn't there a blue box? (In oth
13 <img id="tst" src='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" vi ewBox="0 0 1 1"><rect width="1" height="1" fill="blue"/></svg>'>
14 <script src="../../resources/run-after-layout-and-paint.js"></script>
15 <script>
16 runAfterLayoutAndPaint(function() {
17 document.body.offsetTop;
Xianzhu 2016/04/04 03:55:45 Nit: indent with 4 spaces.
Xianzhu 2016/04/04 03:55:45 Nit: No need to force layout here because this is
18 document.getElementById('tst').style.padding = "0";
19 }, true);
20 </script>
21
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698