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

Side by Side Diff: LayoutTests/fast/runin/run-in-layer-not-removed-crash.html

Issue 53373003: Remove display:run-in as per https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/_tHSX… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 Webkit Bug 81265: Crash due to layer tree information not updated when moving ru n-in children.<br />
5 Test passes if it does not crash.
6 <style>
7 #test0 {
8 -webkit-perspective: 1;
9 }
10 #test1:nth-last-child(3n) {
11 -webkit-box-reflect: right;
12 display: run-in;
13 }
14 #test2 {
15 display: inline-table;
16 }
17 #test2:first-child {
18 -webkit-box-reflect: below;
19 }
20 </style>
21 <script>
22 if (window.testRunner)
23 testRunner.dumpAsText();
24
25 onload = function()
26 {
27 test0 = document.createElement('div');
28 test0.setAttribute('id','test0');
29 document.body.appendChild(test0);
30 test1 = document.createElement('b');
31 test1.setAttribute('id','test1');
32 document.body.appendChild(test1);
33 test2 = document.createElement('div');
34 test2.setAttribute('id','test2');
35 test1.appendChild(test2);
36 test3 = document.createElement('div');
37 document.body.appendChild(test3);
38 document.body.insertBefore(document.createElement('div'), test3);
39 document.designMode = 'on';
40 document.execCommand('selectall');
41 document.execCommand('removeFormat');
42 }
43 </script>
44 </body>
45 </html>
46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698