Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html b/third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..491e967d7e946478a8b476e2ca79238bd850c022 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/repaint/border-box-sizing-invalidation.html |
| @@ -0,0 +1,20 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +img { |
| + box-sizing: border-box; |
| + width: 100px; |
| +} |
| +#tst { |
| + padding: 30px; |
| +} |
| +</style> |
| +<p>crbug.com/597194: There should be two blue boxes of equal size below.</p> |
| +<img id="tst" src='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"><rect width="1" height="1" fill="blue"/></svg>'> |
| +<img src='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"><rect width="1" height="1" fill="blue"/></svg>'> |
| +<script src="../../resources/run-after-layout-and-paint.js"></script> |
| +<script> |
| +runAfterLayoutAndPaint(function() { |
| + document.getElementById('tst').style.padding = "0"; |
| + }, true); |
|
Xianzhu
2016/04/04 18:20:41
Nit: align with line 16.
|
| +</script> |
| + |