mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1794298 - Add a reftest for Twemoji Mozilla keycap on Windows. r=emilio
This depends on Windows emoji font availability, so is skipped on other platforms. Without the fix here, the testcase will fail to use Twemoji and so matches the (not-)reference file. Differential Revision: https://phabricator.services.mozilla.com/D168416
This commit is contained in:
parent
e0c4a32c6e
commit
cd95200a87
3
layout/reftests/font-matching/emoji-keycap-2-notref.html
Normal file
3
layout/reftests/font-matching/emoji-keycap-2-notref.html
Normal file
@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<div style="font: 100px/2 serif, Segoe UI Emoji">0️⃣</div>
|
3
layout/reftests/font-matching/emoji-keycap-2.html
Normal file
3
layout/reftests/font-matching/emoji-keycap-2.html
Normal file
@ -0,0 +1,3 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<div style="font: 100px/2 serif, Twemoji Mozilla, Segoe UI Emoji">0️⃣</div>
|
@ -137,6 +137,8 @@ skip-if(!cocoaWidget) != apple-symbols-1.html apple-symbols-1-notref.html
|
||||
skip-if(gtkWidget||/^Windows\x20NT\x206\.1/.test(http.oscpu)) == emoji-fallback-2.html emoji-fallback-2-ref.html
|
||||
== emoji-fallback-3.html emoji-fallback-3-ref.html
|
||||
skip-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) != emoji-keycap.html emoji-keycap-notref.html
|
||||
# Dependent on Windows emoji font names, so not expected to be meaningful on other platforms:
|
||||
skip-if(!winWidget||/^Windows\x20NT\x206\.1/.test(http.oscpu)) != emoji-keycap-2.html emoji-keycap-2-notref.html
|
||||
== emoji-skintone.html emoji-skintone-ref.html
|
||||
# Random on Android because font availability varies depending on the version/device.
|
||||
random-if(Android) != emoji-subregion-flag.html emoji-subregion-flag-notref.html
|
||||
|
Loading…
Reference in New Issue
Block a user