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

Unified Diff: LayoutTests/fast/dom/shadow/ol-with-distribution-recalc-crash.html

Issue 204343002: HTMLOListElement::updateListItem should update distribution if needed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/dom/shadow/ol-with-distribution-recalc-crash-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/ol-with-distribution-recalc-crash.html
diff --git a/LayoutTests/fast/dom/shadow/ol-with-distribution-recalc-crash.html b/LayoutTests/fast/dom/shadow/ol-with-distribution-recalc-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..b3b9a1258c4880942870448b269247a7567c5956
--- /dev/null
+++ b/LayoutTests/fast/dom/shadow/ol-with-distribution-recalc-crash.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+onload = function() {
+ document.body.offsetLeft;
+ var video = document.createElement('video');
+ var ol = document.querySelector('ol');
+ document.body.appendChild(video);
+ ol.setAttribute('reversed', 'reversed');
+}
+</script>
+</head>
+<body>
+<ol>
+ <li>1</li>
+ <li>2</li>
+</ol>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/ol-with-distribution-recalc-crash-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698