Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / innerHTML / additional-inline-style.html
blob14d4930aefb0bbbeb560509f856cfd6c15f1a825
1 <html>
2 <head>
3 <title></title>
4 <style>
5 span { color: blue; }
6 </style>
7 <script>
8 function test()
10 if (window.testRunner)
11 testRunner.dumpAsText();
13 var result = document.getElementById("result");
14 var target = document.getElementById("target");
16 document.body.offsetTop;
17 result.appendChild(document.createTextNode(target.innerHTML));
19 </script>
20 </head>
21 <body onload="test()">
22 <p>
23 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13091">http://bugs.webkit.org/show_bug.cgi?id=13091</a>
24 REGRESSION (r20075): Wrong text style and pixel break in Apple Store Locator HUD</i>.
25 </p>
26 <p>
27 This tests that <tt>.innerHTML</tt> does not introduce additional inline style.
28 </p>
29 <p>
30 The following markup should not include a <tt>style</tt> attribute:
31 </p>
32 <div id="target"><span></span></div>
33 <pre id="result"></pre>
34 </body>
35 </html>