Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/resources/font-face-cache-version-frame1.html

Issue 2653773006: Make FontFaceCache::version return unique number across all instances (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 @font-face {
4 font-family: CustomFont;
5 src: url('../../../resources/SpaceOnly.otf');
6 }
7 span {
8 font: 48px CustomFont;
9 }
10 </style>
11 <span id="text"></span>
12 <script>
13 document.fonts.load('48px CustomFont').then(() => {
14 var span = document.getElementById('text');
15 span.innerText = 'Hello';
16 window.parent.postMessage(span.offsetWidth, '*');
17 });
18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698