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

Unified Diff: LayoutTests/fast/repaint/inline-outline-repaint-2.html

Issue 1164533005: Don't double-inflate visual overflow rect for LayoutInlines (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: SP TEs. Created 5 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
Index: LayoutTests/fast/repaint/inline-outline-repaint-2.html
diff --git a/LayoutTests/fast/repaint/inline-outline-repaint-2.html b/LayoutTests/fast/repaint/inline-outline-repaint-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..3324608a8a5297810eec20fed1fca2e08fea9ab8
--- /dev/null
+++ b/LayoutTests/fast/repaint/inline-outline-repaint-2.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<script src=resources/text-based-repaint.js></script>
+<style>
+body {
+ margin: 0;
+ padding: 0;
+}
+.foo {
Julien - ping for review 2015/06/08 15:46:11 foo :(
fs 2015/06/08 16:15:37 Restructured a bit and dropped the foo (in favor o
+ outline: 5px solid blue;
+}
+.container {
+ position: absolute;
+ width: 255px;
+ text-align: right;
+ font: 10px Ahem;
+}
+</style>
+<div class=container>
+ <span class=foo>Test</span>
+</div>
+<script>
+function repaintTest() {
+ document.querySelector('div').style.color = 'green';
Julien - ping for review 2015/06/08 15:46:11 document.getElementsByClassName['container'][0] (o
fs 2015/06/08 16:15:37 Changed to using an id.
+}
+onload = runRepaintTest;
+</script>

Powered by Google App Engine
This is Rietveld 408576698