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

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: Patch v2 Created 6 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/grid-item-before-anonymous-child-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <body>
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>
3 <div id=grid style="display: grid;">X</div>
Manuel Rego 2014/07/01 13:05:11 After https://codereview.chromium.org/333563003/ y
Julien - ping for review 2014/07/07 17:34:41 It's fine to land this change and test case to ens
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(grid);
14 document.execCommand("Italic", null);
15 }
16 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/grid-item-before-anonymous-child-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698