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

Unified Diff: LayoutTests/fast/block/float/br-with-clear-3.html

Issue 1102953002: BR styled clear is ignored while partially relayouting. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comment updated. Created 5 years, 7 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 | LayoutTests/fast/block/float/br-with-clear-3-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/block/float/br-with-clear-3.html
diff --git a/LayoutTests/fast/block/float/br-with-clear-3.html b/LayoutTests/fast/block/float/br-with-clear-3.html
new file mode 100644
index 0000000000000000000000000000000000000000..76ff0a715ab01e281d2e4e7ef7d0d10ef108c1eb
--- /dev/null
+++ b/LayoutTests/fast/block/float/br-with-clear-3.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<style>
+.green {
+ background: green;
+ float: right;
+ width: 50%;
+ height: 100px;
+}
+.yellow {
+ background: yellow;
+}
+</style>
+<p>Test passes if the height of yellow box is identical with that of green box.</p>
+<div class='green'>Floating box</div>
+<p class='yellow'>
+ <a href='#'>Anchor</a><br>
+ Text line.
+ <br style="clear:both">
+</p>
+<script>
+document.body.offsetTop;
+document.querySelector('a').style.fontSize = '1.5em';
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/block/float/br-with-clear-3-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698