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

Unified Diff: LayoutTests/fast/dynamic/static-to-relative-with-absolute-child.html

Issue 254573006: Avoid markDirty when removing out-of-flow line boxes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/dynamic/static-to-relative-with-absolute-child-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dynamic/static-to-relative-with-absolute-child.html
diff --git a/LayoutTests/fast/dynamic/static-to-relative-with-absolute-child.html b/LayoutTests/fast/dynamic/static-to-relative-with-absolute-child.html
new file mode 100644
index 0000000000000000000000000000000000000000..0cbad748c3f49fc239c10f904e7366ca7d41b7df
--- /dev/null
+++ b/LayoutTests/fast/dynamic/static-to-relative-with-absolute-child.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+#inner {
+ position: absolute
+}
+</style>
+<p>You should see the a green 'PASS' below.</p>
+<span id="outer">&nbsp;<br>PASS<span id="inner"></span></span>
+<script>
+window.onload = function() {
+ var style = document.getElementById("outer").style;
+ document.body.offsetTop;
+ style.position = "relative";
+ document.body.offsetTop;
+ style.color = "green";
+}
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/dynamic/static-to-relative-with-absolute-child-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698