<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[190101] trunk/LayoutTests</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/190101">190101</a></dd>
<dt>Author</dt> <dd>rniwa@webkit.org</dd>
<dt>Date</dt> <dd>2015-09-21 21:01:29 -0700 (Mon, 21 Sep 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>Add some style recalc tests for shadow DOM
https://bugs.webkit.org/show_bug.cgi?id=149445
Reviewed by Antti Koivisto.
Add tests to make sure we trigger necessary style recalc.
* fast/shadow-dom/shadow-layout-after-attach-shadow-expected.html: Copied from LayoutTests/fast/shadow-dom/css-scoping-shadow-root-hides-children-expected.html.
* fast/shadow-dom/shadow-layout-after-attach-shadow.html: Added.
* fast/shadow-dom/shadow-layout-after-host-child-changes-expected.html: Copied from LayoutTests/fast/shadow-dom/css-scoping-shadow-root-hides-children-expected.html.
* fast/shadow-dom/shadow-layout-after-host-child-changes.html: Added.
* fast/shadow-dom/shadow-layout-after-inserting-or-removing-host-child-expected.html: Copied from LayoutTests/fast/shadow-dom/css-scoping-shadow-root-hides-children-expected.html.
* fast/shadow-dom/shadow-layout-after-inserting-or-removing-host-child.html: Added.
* fast/shadow-dom/shadow-layout-after-slot-changes-expected.html: Copied from LayoutTests/fast/shadow-dom/css-scoping-shadow-root-hides-children-expected.html.
* fast/shadow-dom/shadow-layout-after-slot-changes.html: Added.
* platform/mac/TestExpectations:</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsplatformmacTestExpectations">trunk/LayoutTests/platform/mac/TestExpectations</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsfastshadowdomshadowlayoutafterattachshadowexpectedhtml">trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-attach-shadow-expected.html</a></li>
<li><a href="#trunkLayoutTestsfastshadowdomshadowlayoutafterattachshadowhtml">trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-attach-shadow.html</a></li>
<li><a href="#trunkLayoutTestsfastshadowdomshadowlayoutafterhostchildchangesexpectedhtml">trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-host-child-changes-expected.html</a></li>
<li><a href="#trunkLayoutTestsfastshadowdomshadowlayoutafterhostchildchangeshtml">trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-host-child-changes.html</a></li>
<li><a href="#trunkLayoutTestsfastshadowdomshadowlayoutafterinsertingorremovinghostchildexpectedhtml">trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-inserting-or-removing-host-child-expected.html</a></li>
<li><a href="#trunkLayoutTestsfastshadowdomshadowlayoutafterinsertingorremovinghostchildhtml">trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-inserting-or-removing-host-child.html</a></li>
<li><a href="#trunkLayoutTestsfastshadowdomshadowlayoutafterslotchangesexpectedhtml">trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-slot-changes-expected.html</a></li>
<li><a href="#trunkLayoutTestsfastshadowdomshadowlayoutafterslotchangeshtml">trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-slot-changes.html</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (190100 => 190101)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2015-09-22 03:06:04 UTC (rev 190100)
+++ trunk/LayoutTests/ChangeLog        2015-09-22 04:01:29 UTC (rev 190101)
</span><span class="lines">@@ -1,3 +1,22 @@
</span><ins>+2015-09-21 Ryosuke Niwa <rniwa@webkit.org>
+
+ Add some style recalc tests for shadow DOM
+ https://bugs.webkit.org/show_bug.cgi?id=149445
+
+ Reviewed by Antti Koivisto.
+
+ Add tests to make sure we trigger necessary style recalc.
+
+ * fast/shadow-dom/shadow-layout-after-attach-shadow-expected.html: Copied from LayoutTests/fast/shadow-dom/css-scoping-shadow-root-hides-children-expected.html.
+ * fast/shadow-dom/shadow-layout-after-attach-shadow.html: Added.
+ * fast/shadow-dom/shadow-layout-after-host-child-changes-expected.html: Copied from LayoutTests/fast/shadow-dom/css-scoping-shadow-root-hides-children-expected.html.
+ * fast/shadow-dom/shadow-layout-after-host-child-changes.html: Added.
+ * fast/shadow-dom/shadow-layout-after-inserting-or-removing-host-child-expected.html: Copied from LayoutTests/fast/shadow-dom/css-scoping-shadow-root-hides-children-expected.html.
+ * fast/shadow-dom/shadow-layout-after-inserting-or-removing-host-child.html: Added.
+ * fast/shadow-dom/shadow-layout-after-slot-changes-expected.html: Copied from LayoutTests/fast/shadow-dom/css-scoping-shadow-root-hides-children-expected.html.
+ * fast/shadow-dom/shadow-layout-after-slot-changes.html: Added.
+ * platform/mac/TestExpectations:
+
</ins><span class="cx"> 2015-09-21 Alexey Proskuryakov <ap@apple.com>
</span><span class="cx">
</span><span class="cx"> https://bugs.webkit.org/show_bug.cgi?id=149415
</span></span></pre></div>
<a id="trunkLayoutTestsfastshadowdomshadowlayoutafterattachshadowexpectedhtmlfromrev190097trunkLayoutTestsfastshadowdomcssscopingshadowroothideschildrenexpectedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-attach-shadow-expected.html (from rev 190097, trunk/LayoutTests/fast/shadow-dom/css-scoping-shadow-root-hides-children-expected.html) (0 => 190101)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-attach-shadow-expected.html         (rev 0)
+++ trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-attach-shadow-expected.html        2015-09-22 04:01:29 UTC (rev 190101)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+<!DOCTYPE html>
+<html>
+<body>
+ <p>Test passes if you see a single 100px by 100px green box below.</p>
+ <div style="width: 100px; height: 100px; background: green;"></div>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsfastshadowdomshadowlayoutafterattachshadowhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-attach-shadow.html (0 => 190101)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-attach-shadow.html         (rev 0)
+++ trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-attach-shadow.html        2015-09-22 04:01:29 UTC (rev 190101)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+<!DOCTYPE html>
+<html>
+<body>
+<p>Test passes if you see a single 100px by 100px green box below.</p>
+<my-host id="host1" style="background: red;">FAIL</my-host>
+<my-host id="host2" style="background: green;"><div slot="foo" style="background: red;">FAIL</div></my-host>
+<my-host id="host3" style="background: red;"><div style="background: green;"></div></my-host>
+<my-host id="host4" style="background: red;"><div style="background: green;"></div></my-host>
+<style>
+
+my-host {
+ display: block;
+ width: 100px;
+ height: 25px;
+ overflow: hidden;
+}
+
+my-host > div {
+ width: 100%;
+ height: 100%;
+}
+
+</style>
+<script>
+
+function forceLayout() {
+ if (window.internals)
+ internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks();
+ else
+ document.querySelector('p').getBoundingClientRect();
+}
+
+try {
+ forceLayout();
+
+ var shadow1 = document.getElementById('host1').attachShadow({mode: 'open'});
+ shadow1.innerHTML = '<div style="width: 100%; height: 100%; background: green;"></div>';
+
+ var shadow2 = document.getElementById('host2').attachShadow({mode: 'open'});
+
+ var shadow3 = document.getElementById('host3').attachShadow({mode: 'open'});
+ shadow3.appendChild(document.createElement('slot'));
+
+ var shadow4 = document.getElementById('host4').attachShadow({mode: 'open'});
+ shadow4.innerHTML = '<div style="width: 100%; height: 100%; background: red;">'
+ + '<div style="width: 100%; height: 100%; background: red;"></div><slot slot="foo"></slot></div>';
+
+ var shadow5 = shadow4.firstChild.attachShadow({mode: 'closed'});
+ var innerSlot = document.createElement('slot');
+ innerSlot.name = 'foo';
+ shadow5.appendChild(innerSlot);
+
+} catch (exception) {
+ document.body.appendChild(document.createTextNode(exception));
+}
+
+</script>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsfastshadowdomshadowlayoutafterhostchildchangesexpectedhtmlfromrev190097trunkLayoutTestsfastshadowdomcssscopingshadowroothideschildrenexpectedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-host-child-changes-expected.html (from rev 190097, trunk/LayoutTests/fast/shadow-dom/css-scoping-shadow-root-hides-children-expected.html) (0 => 190101)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-host-child-changes-expected.html         (rev 0)
+++ trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-host-child-changes-expected.html        2015-09-22 04:01:29 UTC (rev 190101)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+<!DOCTYPE html>
+<html>
+<body>
+ <p>Test passes if you see a single 100px by 100px green box below.</p>
+ <div style="width: 100px; height: 100px; background: green;"></div>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsfastshadowdomshadowlayoutafterhostchildchangeshtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-host-child-changes.html (0 => 190101)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-host-child-changes.html         (rev 0)
+++ trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-host-child-changes.html        2015-09-22 04:01:29 UTC (rev 190101)
</span><span class="lines">@@ -0,0 +1,57 @@
</span><ins>+<!DOCTYPE html>
+<html>
+<body>
+<p>Test passes if you see a single 100px by 100px green box below.</p>
+<my-host id="host1" style="background: green;"><div style="background: red;">FAIL</div></my-host>
+<my-host id="host2" style="background: green;"><div slot="foo" style="background: red;">FAIL</div></my-host>
+<my-host id="host3" style="background: red;"><div slot="foo" style="background: red;">FAIL</div><div slot="foo" style="background: green;"></div></my-host>
+<my-host id="host4" style="background: red;"><div style="background: red;">FAIL</div></my-host>
+<style>
+
+my-host {
+ display: block;
+ width: 100px;
+ height: 25px;
+ overflow: hidden;
+}
+
+my-host > div {
+ width: 100%;
+ height: 100%;
+}
+
+</style>
+<script>
+
+try {
+ var host1 = document.getElementById('host1');
+ host1.attachShadow({mode: 'open'}).innerHTML = '<slot></slot>';
+
+ var host2 = document.getElementById('host2');
+ host2.attachShadow({mode: 'open'}).innerHTML = '<slot name="foo"></slot>';
+
+ var host3 = document.getElementById('host3');
+ host3.attachShadow({mode: 'open'}).innerHTML = '<slot name="foo"></slot>';
+
+ var host4 = document.getElementById('host4');
+ host4.attachShadow({mode: 'open'}).innerHTML = '<slot></slot>';
+
+ if (window.internals)
+ internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks();
+ else
+ document.querySelector('p').getBoundingClientRect();
+
+ host1.removeChild(host1.firstChild);
+ host2.firstChild.slot = 'bar';
+ host3.firstChild.slot = null;
+ var greenBox = document.createElement('div');
+ greenBox.style.backgroundColor = 'green';
+ host4.insertBefore(greenBox, host4.firstChild);
+
+} catch (exception) {
+ document.body.appendChild(document.createTextNode(exception));
+}
+
+</script>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsfastshadowdomshadowlayoutafterinsertingorremovinghostchildexpectedhtmlfromrev190097trunkLayoutTestsfastshadowdomcssscopingshadowroothideschildrenexpectedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-inserting-or-removing-host-child-expected.html (from rev 190097, trunk/LayoutTests/fast/shadow-dom/css-scoping-shadow-root-hides-children-expected.html) (0 => 190101)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-inserting-or-removing-host-child-expected.html         (rev 0)
+++ trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-inserting-or-removing-host-child-expected.html        2015-09-22 04:01:29 UTC (rev 190101)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+<!DOCTYPE html>
+<html>
+<body>
+ <p>Test passes if you see a single 100px by 100px green box below.</p>
+ <div style="width: 100px; height: 100px; background: green;"></div>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsfastshadowdomshadowlayoutafterinsertingorremovinghostchildhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-inserting-or-removing-host-child.html (0 => 190101)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-inserting-or-removing-host-child.html         (rev 0)
+++ trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-inserting-or-removing-host-child.html        2015-09-22 04:01:29 UTC (rev 190101)
</span><span class="lines">@@ -0,0 +1,45 @@
</span><ins>+<!DOCTYPE html>
+<html>
+<body>
+<p>Test passes if you see a single 100px by 100px green box below.</p>
+<green-host style="background: green;"><span>FAIL</span></green-host>
+<red-host style="background: red;"></red-host>
+<style>
+
+green-host, red-host {
+ display: block;
+ width: 100px;
+ height: 50px;
+ overflow: hidden;
+}
+
+</style>
+<script>
+
+try {
+ var greenHost = document.querySelector('green-host');
+ greenHost.attachShadow({mode: 'open'}).innerHTML = '<slot></slot>';
+
+ var redHost = document.querySelector('red-host');
+ redHost.attachShadow({mode: 'open'}).innerHTML = '<slot></slot>FAIL';
+
+ if (window.internals)
+ internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks();
+ else
+ document.querySelector('span').getBoundingClientRect();
+
+ greenHost.removeChild(greenHost.firstChild);
+
+ var greenChild = document.createElement('div');
+ greenChild.style.width = '100%';
+ greenChild.style.height = '100%';
+ greenChild.style.backgroundColor = 'green';
+ redHost.appendChild(greenChild);
+
+} catch (exception) {
+ document.body.appendChild(document.createTextNode(exception));
+}
+
+</script>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsfastshadowdomshadowlayoutafterslotchangesexpectedhtmlfromrev190097trunkLayoutTestsfastshadowdomcssscopingshadowroothideschildrenexpectedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-slot-changes-expected.html (from rev 190097, trunk/LayoutTests/fast/shadow-dom/css-scoping-shadow-root-hides-children-expected.html) (0 => 190101)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-slot-changes-expected.html         (rev 0)
+++ trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-slot-changes-expected.html        2015-09-22 04:01:29 UTC (rev 190101)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+<!DOCTYPE html>
+<html>
+<body>
+ <p>Test passes if you see a single 100px by 100px green box below.</p>
+ <div style="width: 100px; height: 100px; background: green;"></div>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsfastshadowdomshadowlayoutafterslotchangeshtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-slot-changes.html (0 => 190101)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-slot-changes.html         (rev 0)
+++ trunk/LayoutTests/fast/shadow-dom/shadow-layout-after-slot-changes.html        2015-09-22 04:01:29 UTC (rev 190101)
</span><span class="lines">@@ -0,0 +1,55 @@
</span><ins>+<!DOCTYPE html>
+<html>
+<body>
+<p>Test passes if you see a single 100px by 100px green box below.</p>
+<my-host id="host1" style="background: green;"><div style="background: red;">FAIL</div></my-host>
+<my-host id="host2" style="background: green;"><div slot="foo" style="background: red;">FAIL</div></my-host>
+<my-host id="host3" style="background: red;"><div style="background: green;"></div><div slot="foo" style="background: red;">FAIL</div></my-host>
+<my-host id="host4" style="background: red;"><div style="background: green;"></div></my-host>
+<style>
+
+my-host {
+ display: block;
+ width: 100px;
+ height: 25px;
+ overflow: hidden;
+}
+
+my-host > div {
+ width: 100%;
+ height: 100%;
+}
+
+</style>
+<script>
+
+try {
+ var shadow1 = document.getElementById('host1').attachShadow({mode: 'open'});
+ shadow1.innerHTML = '<slot></slot>';
+
+ var shadow2 = document.getElementById('host2').attachShadow({mode: 'open'});
+ shadow2.innerHTML = '<slot name="foo"></slot>';
+
+ var shadow3 = document.getElementById('host3').attachShadow({mode: 'open'});
+ shadow3.innerHTML = '<slot name="foo"></slot>';
+
+ var shadow4 = document.getElementById('host4').attachShadow({mode: 'open'});
+ shadow4.innerHTML = 'FAIL';
+
+ if (window.internals)
+ internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks();
+ else
+ document.querySelector('p').getBoundingClientRect();
+
+ shadow1.removeChild(shadow1.firstChild);
+ shadow2.firstChild.name = 'bar';
+ shadow3.firstChild.name = null;
+ shadow4.insertBefore(document.createElement('slot'), shadow4.firstChild);
+
+} catch (exception) {
+ document.body.appendChild(document.createTextNode(exception));
+}
+
+</script>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformmacTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/TestExpectations (190100 => 190101)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/TestExpectations        2015-09-22 03:06:04 UTC (rev 190100)
+++ trunk/LayoutTests/platform/mac/TestExpectations        2015-09-22 04:01:29 UTC (rev 190101)
</span><span class="lines">@@ -1308,3 +1308,6 @@
</span><span class="cx"> webkit.org/b/149328 fast/shadow-dom/css-scoping-shadow-host-functional-rule.html [ ImageOnlyFailure ]
</span><span class="cx"> webkit.org/b/149328 fast/shadow-dom/css-scoping-shadow-slotted-rule.html [ ImageOnlyFailure ]
</span><span class="cx"> webkit.org/b/149328 fast/shadow-dom/css-scoping-shadow-slot-display-override.html [ ImageOnlyFailure ]
</span><ins>+webkit.org/b/149328 fast/shadow-dom/shadow-layout-after-host-child-changes.html [ ImageOnlyFailure ]
+webkit.org/b/149328 fast/shadow-dom/shadow-layout-after-inserting-or-removing-host-child.html [ ImageOnlyFailure ]
+webkit.org/b/149328 fast/shadow-dom/shadow-layout-after-slot-changes.html [ ImageOnlyFailure ]
</ins></span></pre>
</div>
</div>
</body>
</html>