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

Unified Diff: LayoutTests/fast/repaint/resize-with-border.html

Issue 312193004: Don't force full repaint on size change in style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More rebaseline Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/resize-with-border-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/resize-with-border.html
diff --git a/LayoutTests/fast/repaint/resize-with-border.html b/LayoutTests/fast/repaint/resize-with-border.html
new file mode 100644
index 0000000000000000000000000000000000000000..506fb250e1e905a3198532966e5e1930c3769558
--- /dev/null
+++ b/LayoutTests/fast/repaint/resize-with-border.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+function repaintTest()
+{
+ document.getElementById('div').style.width = '400px';
+}
+window.onload = runRepaintTest;
+</script>
+<style>
+body {
+ margin: 0;
+}
+div {
+ width: 200px;
+ height: 200px;
+ border: green 10px solid;
+}
+</style>
+<div id="div"></div>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/resize-with-border-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698