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

Unified Diff: third_party/WebKit/ManualTests/overflow-on-text-beside-form-element.html

Issue 2688413002: Calculate glyph overflow when computing overflow outside of layout (Closed)
Patch Set: 667245 Created 3 years, 10 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 | « no previous file | third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/ManualTests/overflow-on-text-beside-form-element.html
diff --git a/third_party/WebKit/ManualTests/overflow-on-text-beside-form-element.html b/third_party/WebKit/ManualTests/overflow-on-text-beside-form-element.html
new file mode 100644
index 0000000000000000000000000000000000000000..7bc11e15d39096b96e037b91140b5a4941715348
--- /dev/null
+++ b/third_party/WebKit/ManualTests/overflow-on-text-beside-form-element.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<meta charset=utf8>
+<p>crbug.com/667245: Overflow on text beside a form element should get repainted. When clicking on the checkbox there should be no artefact's left from the black rectangle and it should stay the same size (with the bug a row of pixels at the top and bottom were getting lost).</p>
+<div id="test" style="font-size: 35px;">
+ <input type="checkbox" id="checkbox" checked=true onclick="toggle();"> █
+</div>
+<script>
+function toggle()
+{
+ var node = document.getElementById("test");
+ node.style.color == 'rgb(255, 255, 255)' ? node.style.color = 'rgb(0, 0, 0)' : node.style.color = 'rgb(255, 255, 255)';
+}
+</script>
+
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698