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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-item-before-anonymous-child-crash.html

Issue 358673003: [CSS Grid Layout] Avoid inserting grid items twice in the grid (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <body id=container>
2 <p>This test checks that adding a new grid item before an already existing ite m wrapped by an anonymous block does not crash under ASAN.</p>
Manuel Rego 2014/06/25 20:13:11 Actually you don't need an ASAN build, but a regul
svillar 2014/06/26 09:45:52 Yeah but the issue was detected with ASAN, and the
3 <div style="display: grid;">X</div>
4 </body>
5 <script type="text/javascript">
6 if (window.testRunner)
7 testRunner.dumpAsText();
8
9 document.addEventListener("DOMContentLoaded", crash, false);
10
11 function crash() {
12 document.designMode = 'on';
13 window.getSelection().selectAllChildren(container);
Manuel Rego 2014/06/25 20:13:11 Nit: I guess it's enough with select the children
svillar 2014/06/26 09:45:52 Sure, I'll switch to selecting the grid children.
14 document.execCommand("Italic", null);
15 }
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698