- From: Glenn Adams <glenn@skynav.com>
- Date: Fri, 19 Sep 2014 19:36:13 +0200
- To: Shawn Ligocki <sligocki@google.com>
- Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style <www-style@w3.org>
Received on Friday, 19 September 2014 17:37:03 UTC
For legacy purposes, I believe the @charset ruleset must be first. On Fri, Sep 19, 2014 at 7:23 PM, Shawn Ligocki <sligocki@google.com> wrote: > On Fri, Sep 19, 2014 at 12:59 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote: > >> On 9/19/14, 12:49 PM, Shawn Ligocki wrote: >> >>> But this would only be safe if the relative order >>> doesn't matter between @font-face rules and rulesets. Otherwise, we'd >>> need to preserve the original ordering. >>> >> >> You need to preserve it anyway for the CSSOM. > > In our case, our code is modifying existing CSS and re-serializing. So we > will be altering the CSS Object Model already. So I suppose my question is, > if I move all the @font-face rules before all rulesets, will that change > their meaning for browsers? Or are the equivalent aside from the CSSOM > difference. >
Received on Friday, 19 September 2014 17:37:03 UTC