blob: 48fd493e2b580eeb6fca9928c6e2b601e8f093f4 [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 This test passes if it does not crash.
import "dart:html";
import "../../testcommon.dart";
import "../../../Utils/async_utils.dart";
import "pwd.dart";
main() {
var style = new Element.html('''
<style type="text/css" media="screen">
ul {
list-style-image: url('foopy.png');
background-image: url('foopy1.png');
-webkit-border-image: url('foopy2.png');
-webkit-mask-box-image: url('foopy3.png');
-webkit-mask: below url('foopy4.png');
ul {
list-style-image: none;
background-image: none;
-webkit-border-image: none;
-webkit-mask-box-image: none;
-webkit-mask: below none;
.box {
content: url('foopy5.png') url('foopy6.png');
.box {
content: none url('');
''', treeSanitizer: new NullTreeSanitizer());
<li>This test passes if it does not crash.</li>
<div class="box">
''', treeSanitizer: new NullTreeSanitizer());