Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / backgrounds / multiple-backgrounds-assert.html
blobc522ec436a8afe1440e3dbed984a594940b91961
1 <!DOCTYPE>
3 <html lang="en">
4 <head>
5 <title>Test mismatched backgrounds</title>
6 <style type="text/css" media="screen">
7 .box {
8 height: 100px;
9 width: 100px;
10 margin: 10px;
11 border: 1px solid black;
12 background-repeat: no-repeat;
15 /* Mismatched layers */
16 #box {
17 background-image: url('repeat/resources/white.gif');
20 #box.final {
21 background-image: url('repeat/resources/white.gif'), url('repeat/resources/white.gif');
24 </style>
26 <script type="text/javascript" charset="utf-8">
28 if (window.testRunner) {
29 testRunner.dumpAsText();
30 testRunner.waitUntilDone();
33 function runTest()
35 document.getElementById('box').className = 'box final';
36 window.setTimeout(function() {
37 document.getElementById('box').style.display = 'none';
38 if (window.testRunner)
39 testRunner.notifyDone();
40 }, 0);
43 window.addEventListener('load', runTest, false);
44 </script>
45 </head>
46 <body>
48 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=28295">https://bugs.webkit.org/show_bug.cgi?id=28295</a>; should not assert.</p>
49 <div id="box" class="box"></div>
51 </body>
52 </html>