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

Unified Diff: LayoutTests/fast/block/positioning/setting-layout-on-posobjs-while-laying-them-out.html

Issue 1128713004: Don't mark a positioned object for layout when we've just laid it out. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: LayoutTests/fast/block/positioning/setting-layout-on-posobjs-while-laying-them-out.html
diff --git a/LayoutTests/fast/block/positioning/setting-layout-on-posobjs-while-laying-them-out.html b/LayoutTests/fast/block/positioning/setting-layout-on-posobjs-while-laying-them-out.html
new file mode 100644
index 0000000000000000000000000000000000000000..8522c0c6f015ec0abe8ae3234fd82d4c22d5356d
--- /dev/null
+++ b/LayoutTests/fast/block/positioning/setting-layout-on-posobjs-while-laying-them-out.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+div {
+ position: fixed
+}
+</style>
+crbug.com/477940: Don't set positioned objects for layout while laying out positioned objects. This test should not ASSERT.
+<div>
+ <div>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ thead = document.createElement("thead");
+ document.body.appendChild(thead);
+ document.body.offsetTop;
+ document.body.removeChild(thead);
+</script>

Powered by Google App Engine
This is Rietveld 408576698