tests(css): `font-face` at rule (#3826)
parent
e3369db2c1
commit
640ffa949d
|
@ -1,5 +1,83 @@
|
||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
|
exports[`font-face.css 1`] = `
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face{
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face
|
||||||
|
{
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face
|
||||||
|
|
||||||
|
{
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
`;
|
||||||
|
|
||||||
exports[`if-else.css 1`] = `
|
exports[`if-else.css 1`] = `
|
||||||
@if $media == phonePortrait {
|
@if $media == phonePortrait {
|
||||||
$k: .15625;
|
$k: .15625;
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face{
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face
|
||||||
|
{
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face
|
||||||
|
|
||||||
|
{
|
||||||
|
font-family: "Open Sans";
|
||||||
|
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
|
||||||
|
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
|
||||||
|
}
|
Loading…
Reference in New Issue