| Index: LayoutTests/fast/css/font-face-remove.html
|
| diff --git a/LayoutTests/fast/css/font-face-remove.html b/LayoutTests/fast/css/font-face-remove.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9f76e80bd388232a5943b4d7438506caa2592124
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/font-face-remove.html
|
| @@ -0,0 +1,23 @@
|
| +<!doctype html>
|
| +<html>
|
| +<head>
|
| +<script>
|
| +function runTest() {
|
| + var target = document.getElementById('target');
|
| + document.body.offsetLeft;
|
| + target.parentNode.removeChild(target);
|
| +}
|
| +</script>
|
| +</head>
|
| +<body onload="runTest()">
|
| +<style id="target">
|
| +@font-face {
|
| + font-family: f1;
|
| + font-weight: 100;
|
| + src: url(../../resources/Ahem.ttf);
|
| +}
|
| +</style>
|
| +<!-- crbug.com/305885: when removing stylesheets, consider @font-face rules. -->
|
| +<span style="font-family: f1; font-weight: 100">A</span>
|
| +</body>
|
| +</html>
|
|
|