- From: Kenichi Ishibashi <bashi@chromium.org>
- Date: Wed, 31 Oct 2012 18:20:48 +0900
- To: www-style@w3.org
Received on Wednesday, 31 October 2012 09:34:33 UTC
Hi,
How should we dispatch CSSFontFaceLoadEvent when there are two (or more)
font-face rules which have the same url in the src descriptor?
@font-face { /* (A) */
font-family: A;
src: url(X);
}
@font-face { /* (B) */
font-family: B;
src: url(X);
}
Case #1:
<div style="font-family: A;">Foo</div> // -> event.fontface = (A)
Case #2:
<div style="font-family: B, A;">Foo</div> // -> event.fontface = (B)
Case #3:
<div>
<span style="font-family: A">Foo</span><span style="font-family:
B">Bar</span>
</div> // -> event.fontface = (A) ? dispatch events for (A) and (B)?
Regards,
Received on Wednesday, 31 October 2012 09:34:33 UTC