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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-crash-remove-positioned-item.html

Issue 2751303003: [css-grid] Fix crash removing positioned grid item (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-crash-remove-positioned-item-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 <!DOCTYPE html>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
6 <p>crbug.com/700383 - [css-grid] Grid layouts go mostly blank</p>
7 <p>This test has PASSED if it does not CRASH on debug.</p>
8 <div id="grid" style="display: grid;">
9 <!-- This grid item with some text is needed,
10 otherwise LayoutGrid::paintChildren() won't be called
11 after removing the positioned item. -->
12 <div>item</div>
13 </div>
14 <script>
15 var abspositem = document.createElement("div");
16 abspositem.style.position = "absolute";
17 var grid = document.getElementById("grid");
18 grid.appendChild(abspositem);
19 document.body.offsetLeft;
20 grid.removeChild(abspositem);
21 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-crash-remove-positioned-item-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698