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

Side by Side Diff: LayoutTests/fast/dom/shadow/insertion-point-resetStyleInheritance-with-pseudo-element-crash.html

Issue 201683003: Remove resetStyleInheritance. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Resolve conflicts Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctyle html>
2 <head>
3 <style>
4 span::after {
5 -webkit-mask-box-image-source: url(does-not-exist.gif)
6 }
7 </style>
8 <script>
9 if (window.testRunner)
10 testRunner.dumpAsText();
11
12 function runTests() {
13 var host = document.getElementById("host");
14 var shadowRoot = host.createShadowRoot();
15 shadowRoot.innerHTML = "<content id='content'>"
16 shadowRoot.getElementById("content").resetStyleInheritance = true;
17 }
18 </script>
19 </head>
20 <body onload="runTests()">
21 <p>[bug 112322] <a href="https://bugs.webkit.org/show_bug.cgi?id=112322">https ://bugs.webkit.org/show_bug.cgi?id=112322</a> This test ensures WebKit does not crash when checking whether distributed nodes have any pseudo element or not. If there is no crash, the test passes.</p>
22 <div id='host'>
23 <span>PASS</span>
24 </div>
25 </body>
26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698