| Index: LayoutTests/fast/css/font-face-unicode-range-overlap-load.html
|
| diff --git a/LayoutTests/fast/css/font-face-unicode-range-overlap-load.html b/LayoutTests/fast/css/font-face-unicode-range-overlap-load.html
|
| index 372971b59d48cc8c497a0bb4f9d118ecaffe047c..322137be381e18618f32d50cb49f67b1af8ac40a 100644
|
| --- a/LayoutTests/fast/css/font-face-unicode-range-overlap-load.html
|
| +++ b/LayoutTests/fast/css/font-face-unicode-range-overlap-load.html
|
| @@ -22,16 +22,6 @@
|
| src: url('../../resources/Ahem.woff2');
|
| unicode-range: U+49; /* 'I' */
|
| }
|
| -@font-face {
|
| - font-family: Test3;
|
| - src: url('../../resources/Ahem.ttf');
|
| - /* no unicode-range */
|
| -}
|
| -@font-face {
|
| - font-family: Test3;
|
| - src: url('../../resources/Ahem.otf');
|
| - unicode-range: U+00-FF;
|
| -}
|
| </style>
|
| <script>
|
| description('Tests that only necessary fonts are loaded when font faces have overlapping unicode ranges.');
|
| @@ -46,13 +36,11 @@
|
|
|
| document.fonts.ready().then(function() {
|
| faces = getDocumentFontFaces();
|
| - shouldBe('faces.length', '6');
|
| + shouldBe('faces.length', '4');
|
| shouldBeEqualToString('faces[0].status', 'unloaded');
|
| shouldBeEqualToString('faces[1].status', 'loaded');
|
| shouldBeEqualToString('faces[2].status', 'loaded');
|
| shouldBeEqualToString('faces[3].status', 'unloaded');
|
| - shouldBeEqualToString('faces[4].status', 'unloaded');
|
| - shouldBeEqualToString('faces[5].status', 'loaded');
|
| finishJSTest();
|
| });
|
| </script>
|
| @@ -60,6 +48,5 @@
|
| <body>
|
| <p style="font-family: Test1">I</p>
|
| <p style="font-family: Test2">J</p>
|
| - <p style="font-family: Test3">K</p>
|
| </body>
|
| </html>
|
|
|