repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
css
/
resources
/
font-face-local-file-frame.html
blob
a2b0755765b2f585fe72e397f81d9758eda8b5ac
1
<script>
2
var
font
=
new
FontFace
(
'test'
,
'url(../../../resources/Ahem.ttf)'
);
3
font
.
load
().
then
(
function
() {
4
window
.
parent
.
postMessage
(
'PASS: ahem loaded successfully'
,
'*'
);
5
}).
catch
(
function
() {
6
window
.
parent
.
postMessage
(
'FAIL: ahem load failed'
,
'*'
);
7
});
8
</script>