blob: 3fbdff189401ced5f25ebf804b4994193bd3d3bb [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 Test for WebKit bug 73520.
import "dart:html";
import "../../testcommon.dart";
import "../../../Utils/async_utils.dart";
main() {
var style = new Element.html('''
@font-face {
font-family: invalid-data;
''', treeSanitizer: new NullTreeSanitizer());
<p>Test for bug <a href="">85089: [Qt] ASSERT in FontCustomPlatformDataQt.cpp with invalid font in data URI</p>
<span style="font-family:invalid-data;">This tests for an ASSERT when using @font-face with invalid font data</span>
''', treeSanitizer: new NullTreeSanitizer());