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

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: Touch up Tc. 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/inline-outline-repaint-2-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2ec763bc682835abf35c229be2bb2e99ef5f5781
--- /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;
+}
+#container {
+ position: absolute;
+ width: 255px;
+ text-align: right;
+ font: 10px Ahem;
+}
+#container > span {
+ outline: 5px solid blue;
+}
+</style>
+<div id=container>
+ <span>Test</span>
+</div>
+<script>
+function repaintTest() {
+ document.getElementById('container').style.color = 'green';
+}
+onload = runRepaintTest;
+</script>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/inline-outline-repaint-2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698