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

Side by Side Diff: LayoutTests/fast/block/child-not-removed-from-parent-lineboxes-crash.html

Issue 7292017: Merge 90068 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 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
OLDNEW
1 <html> 1 <html>
2 <body> 2 <body>
3 </body> 3 </body>
4 <script> 4 <script>
5 if (window.layoutTestController) 5 if (window.layoutTestController)
6 layoutTestController.dumpAsText(); 6 layoutTestController.dumpAsText();
7 7
8 var tags = ['a', 'abbr', 'acronym', 'address', 'applet', 'area', 'article', 'asi de', 'audio', 'b', 'base', 'basefont', 'bdo', 'bgsound', 'big', 'blockquote', 'b ody', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'col group', 'command', 'datagrid', 'datalist', 'dcell', 'dcol', 'drow', 'dd', 'del', 'details', 'dfn', 'dir', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcapt ion', 'figure', 'font', 'footer', 'form', 'frame', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'child', 'imag e', 'img', 'input', 'ins', 'isindex', 'kbd', 'keygen', 'label', 'layer', 'legend ', 'li', 'link', 'listing', 'map', 'mark', 'marquee', 'menu', 'meta', 'meter', ' nav', 'nobr', 'noembed', 'noframes', 'nolayer', 'object', 'ol', 'optgroup', 'opt ion', 'output', 'p', 'param', 'plaintext', 'pre', 'progress', 'q', 'rp', 'rt', ' ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 's trike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'tex tarea', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr', 'xmp', 'noscript', 'noscript', 'math', 'mfrac', 'mfenced', 'msub sup', 'mrow', 'mover', 'munder', 'munderover', 'msqrt', 'mroot', 'mi', 'mn', 'mo ', 'mtext', 'msub', 'msup', 'ms', 'mglyph', 'malignmark', 'annotation-xml', 'a', 'access', 'anchor', 'br', 'card', 'do', 'fieldset', 'go', 'head', 'img', 'input ', 'insertedLegend', 'meta', 'noop', 'onevent', 'optgroup', 'option', 'p', 'post field', 'prev', 'refresh', 'select', 'setvar', 'table', 'td', 'template', 'timer ', 'tr', 'a', 'altGlyph', 'altGlyphDef', 'altGlyphItem', 'animate', 'animateColo r', 'animateMotion', 'animateTransform', 'set', 'circle', 'clipPath', 'color_pro file', 'cursor', 'defs', 'desc', 'ellipse', 'feBlend', 'feColorMatrix', 'feCompo nentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDispla cementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFun cR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feO ffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbul ence', 'filter', 'font', 'font_face', 'font_face_format', 'font_face_name', 'fon t_face_src', 'font_face_uri', 'foreignObject', 'g', 'glyph', 'glyphRef', 'hkern' , 'image', 'line', 'linearGradient', 'marker', 'mask', 'metadata', 'missing_glyp h', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'script', 'stop', 'style', 'svg', 'switch', 'symbol', 'text', 'textPath', 'titl e', 'tref', 'tspan', 'use', 'view', 'vkern'] 8 var tags = ['a', 'abbr', 'acronym', 'address', 'applet', 'area', 'article', 'asi de', 'audio', 'b', 'base', 'basefont', 'bdo', 'bgsound', 'big', 'blockquote', 'b ody', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'col group', 'command', 'datagrid', 'datalist', 'dcell', 'dcol', 'drow', 'dd', 'del', 'details', 'dfn', 'dir', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcapt ion', 'figure', 'font', 'footer', 'form', 'frame', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'child', 'imag e', 'img', 'input', 'ins', 'isindex', 'kbd', 'keygen', 'label', 'layer', 'legend ', 'li', 'link', 'listing', 'map', 'mark', 'marquee', 'menu', 'meta', 'meter', ' nav', 'nobr', 'noembed', 'noframes', 'nolayer', 'object', 'ol', 'optgroup', 'opt ion', 'output', 'p', 'param', 'plaintext', 'pre', 'progress', 'q', 'rp', 'rt', ' ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 's trike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'tex tarea', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr', 'xmp', 'noscript', 'noscript', 'math', 'mfrac', 'mfenced', 'msub sup', 'mrow', 'mover', 'munder', 'munderover', 'msqrt', 'mroot', 'mi', 'mn', 'mo ', 'mtext', 'msub', 'msup', 'ms', 'mglyph', 'malignmark', 'annotation-xml', 'a', 'access', 'anchor', 'br', 'card', 'do', 'fieldset', 'go', 'head', 'img', 'input ', 'insertedLegend', 'meta', 'noop', 'onevent', 'optgroup', 'option', 'p', 'post field', 'prev', 'refresh', 'select', 'setvar', 'table', 'td', 'template', 'timer ', 'tr', 'a', 'altGlyph', 'altGlyphDef', 'altGlyphItem', 'animate', 'animateColo r', 'animateMotion', 'animateTransform', 'set', 'circle', 'clipPath', 'color_pro file', 'cursor', 'defs', 'desc', 'ellipse', 'feBlend', 'feColorMatrix', 'feCompo nentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDispla cementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFun cR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feO ffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbul ence', 'filter', 'font', 'font_face', 'font_face_format', 'font_face_name', 'fon t_face_src', 'font_face_uri', 'foreignObject', 'g', 'glyph', 'glyphRef', 'hkern' , 'image', 'line', 'linearGradient', 'marker', 'mask', 'metadata', 'missing_glyp h', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'script', 'stop', 'style', 'svg', 'switch', 'symbol', 'text', 'textPath', 'titl e', 'tref', 'tspan', 'use', 'view', 'vkern']
9 9
10 for (i = 0; i < tags.length; i++) 10 for (i = 0; i < tags.length; i++)
11 { 11 {
12 child = document.createElement(tags[i]); 12 child = document.createElement(tags[i]);
13 child.style.position = 'absolute'; 13 child.style.position = 'absolute';
14 document.body.appendChild(document.createTextNode('aaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ad')); 14 document.body.appendChild(document.createTextNode('aaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ad'));
15 document.body.appendChild(child); 15 document.body.appendChild(child);
16 document.body.appendChild(document.createTextNode('aaaa')); 16 document.body.appendChild(document.createTextNode('aaaa'));
17 document.body.offsetTop; 17 document.body.offsetTop;
18 child.setAttribute('style', ''); 18 child.setAttribute('style', '');
19 document.body.offsetTop; 19 document.body.offsetTop;
20 document.body.removeChild(child); 20 document.body.removeChild(child);
21 document.body.offsetTop; 21 document.body.offsetTop;
22 document.body.innerHTML = ""; 22 document.body.innerHTML = "";
23 } 23 }
24 24
25 document.body.innerHTML = "PASS: does not crash"; 25 document.body.innerHTML = "PASS: does not crash";
26 </script> 26 </script>
27 </html> 27 </html>
28 28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698