mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 889401 - Part 3. reftests for COLR/CPAL. r=jfkthame
This commit is contained in:
parent
c34e56df8b
commit
b11193f2fc
20
layout/reftests/font-face/color-1-notref.html
Normal file
20
layout/reftests/font-face/color-1-notref.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: emoji;
|
||||
src: url("../fonts/emoji.ttf");
|
||||
}
|
||||
|
||||
span {
|
||||
font-family: emoji;
|
||||
font-size: 25pt;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<span></span>
|
||||
</body>
|
||||
</html>
|
21
layout/reftests/font-face/color-1-ref.html
Normal file
21
layout/reftests/font-face/color-1-ref.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: emoji;
|
||||
src: url("../fonts/emoji.ttf");
|
||||
}
|
||||
|
||||
span {
|
||||
font-family: emoji;
|
||||
font-size: 25pt;
|
||||
color: yellow;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<span></span>
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/font-face/color-1a.html
Normal file
20
layout/reftests/font-face/color-1a.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: emojiyellow;
|
||||
src: url("../fonts/emoji-yellow.ttf");
|
||||
}
|
||||
|
||||
span {
|
||||
font-family: emojiyellow;
|
||||
font-size: 25pt;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<span></span>
|
||||
</body>
|
||||
</html>
|
21
layout/reftests/font-face/color-1b.html
Normal file
21
layout/reftests/font-face/color-1b.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: emojiyellow;
|
||||
src: url("../fonts/emoji-yellow.ttf");
|
||||
}
|
||||
|
||||
span {
|
||||
font-family: emojiyellow;
|
||||
font-size: 25pt;
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<span></span>
|
||||
</body>
|
||||
</html>
|
@ -158,3 +158,8 @@ HTTP(..) == font-redirect.html order-1-ref.html
|
||||
== dynamic-duplicate-rule-1a.html dynamic-duplicate-rule-1-ref.html
|
||||
== dynamic-duplicate-rule-1b.html dynamic-duplicate-rule-1-ref.html
|
||||
== dynamic-duplicate-rule-1c.html dynamic-duplicate-rule-1-ref.html
|
||||
|
||||
# Test for COLR and CPAL support
|
||||
HTTP(..) == color-1a.html color-1-ref.html
|
||||
HTTP(..) != color-1a.html color-1-notref.html
|
||||
HTTP(..) == color-1b.html color-1-ref.html
|
||||
|
BIN
layout/reftests/fonts/emoji-yellow.ttf
Normal file
BIN
layout/reftests/fonts/emoji-yellow.ttf
Normal file
Binary file not shown.
BIN
layout/reftests/fonts/emoji.ttf
Normal file
BIN
layout/reftests/fonts/emoji.ttf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user