| Index: third_party/WebKit/LayoutTests/fast/css/resources/font-face-cache-version-frame1.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/resources/font-face-cache-version-frame1.html b/third_party/WebKit/LayoutTests/fast/css/resources/font-face-cache-version-frame1.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7666ce65bc9d1e34d51f3a4d0c0cf04cd523097a
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/resources/font-face-cache-version-frame1.html
|
| @@ -0,0 +1,18 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +@font-face {
|
| + font-family: CustomFont;
|
| + src: url('../../../resources/SpaceOnly.otf');
|
| +}
|
| +span {
|
| + font: 48px CustomFont;
|
| +}
|
| +</style>
|
| +<span id="text"></span>
|
| +<script>
|
| +document.fonts.load('48px CustomFont').then(() => {
|
| + var span = document.getElementById('text');
|
| + span.innerText = 'Hello';
|
| + window.parent.postMessage(span.offsetWidth, '*');
|
| +});
|
| +</script>
|
|
|