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

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

Issue 1102953002: BR styled clear is ignored while partially relayouting. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Better approach. Created 5 years, 8 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/block/float/br-with-clear-4.html
diff --git a/LayoutTests/fast/block/float/br-with-clear-4.html b/LayoutTests/fast/block/float/br-with-clear-4.html
new file mode 100644
index 0000000000000000000000000000000000000000..f50987959b9929d5e0edc3226ed4f62fb2ec47ae
--- /dev/null
+++ b/LayoutTests/fast/block/float/br-with-clear-4.html
@@ -0,0 +1,25 @@
+<!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"><span></span>
leviw_travelin_and_unemployed 2015/05/11 00:25:29 I think it'd be nice if you combined these test ca
changseok 2015/05/11 15:56:46 I didn't know the check-layout.js. Let me try to u
+</p>
+<script>
+window.onload = function() {
+ document.body.offsetTop;
+ document.querySelector('a').style.fontSize = '1.5em';
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698