- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 31 Oct 2012 13:33:22 +0100
- To: Kenichi Ishibashi <bashi@chromium.org>
- Cc: www-style@w3.org
On Wed, Oct 31, 2012 at 10:20 AM, Kenichi Ishibashi <bashi@chromium.org> wrote: > 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)? I think it should dispatch both A and B. However, we need to define the ordering. ~TJ
Received on Wednesday, 31 October 2012 12:34:09 UTC