Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / css-imagevalue-url.html
bloba1c653faad44c81858000bb3412765db54e7c3ac
1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
5 <script>
6 test(function() {
7 var cssText = 'div { background-image: url(images.jpg); }';
9 var doc = document.implementation.createHTMLDocument("");
10 var styleElement = document.createElement("style");
11 styleElement.textContent = cssText;
12 doc.body.appendChild(styleElement);
13 var cssRules = styleElement.sheet.cssRules;
15 assert_equals(cssRules.length, 1);
16 var compareCSSText = cssRules[0].cssText;
18 assert_equals(compareCSSText, cssText);
19 }, 'Testing serialization and round trip of URLs in CSS');
20 </script>