зеркало из https://github.com/mozilla/gecko-dev.git
Make sure to insert mathml @import directly after other imports and before other rulesets. Thanks to Brent Hendricks <brentmh@rice.edu> for the patch.
This commit is contained in:
Родитель
245363e961
Коммит
7e129ff6d0
|
@ -10,7 +10,8 @@ close(UA);
|
||||||
|
|
||||||
if (!($css =~ m|\@import.*mathml\.css|))
|
if (!($css =~ m|\@import.*mathml\.css|))
|
||||||
{
|
{
|
||||||
open(UA, "+>>$ua");
|
$css =~ s|(\@import[^\@]+\;)\n\n|$1\n\@import url\(resource:/res/mathml\.css\);\n\n|;
|
||||||
print UA "\@import url(resource:/res/mathml.css);\n";
|
open(UA, ">$ua");
|
||||||
|
print UA $css;
|
||||||
close(UA);
|
close(UA);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче