blob: e1af1ebc73730fa1ce80c38a3ce743ed90cec6bf [file] [log] [blame]
* Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
* @description If this test passed, no crash occurs.
import "dart:html";
import "../../testcommon.dart";
import "../../../Utils/async_utils.dart";
import "pwd.dart";
main() {
var style = new Element.html('''
#target {
background: -webkit-image-set(url(images/IntentionallyMissingFile.png) 1x, url(images/IntentionallyMissingFile@2x.png) 2x), #ff0000;
''', treeSanitizer: new NullTreeSanitizer());
<div>[bug 108409] <a href=""></a> Making -webkit-image-set() the first value of background property causes crash.</div>
<div>If this test passed, no crash occurs.</div>
<div id="target">PASS</div>
''', treeSanitizer: new NullTreeSanitizer());