Bug 1705799 - Switch multistage about:welcome background image to use avif r=pdahiya

Differential Revision: https://phabricator.services.mozilla.com/D133760
This commit is contained in:
Meg Viar 2021-12-14 21:07:42 +00:00
Родитель 9e1cd98548
Коммит 49d568d91a
5 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -21,7 +21,7 @@ const DEFAULT_WELCOME_CONTENT = {
template: "multistage",
transitions: true,
background_url:
"chrome://activity-stream/content/data/content/assets/proton-bkg.jpg",
"chrome://activity-stream/content/data/content/assets/proton-bkg.avif",
screens: [
{
id: "AW_PIN_FIREFOX",

Двоичные данные
browser/components/newtab/data/content/assets/proton-bkg.avif Normal file

Двоичный файл не отображается.

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 180 KiB

Просмотреть файл

@ -138,7 +138,7 @@ add_task(async function test_multistage_aboutwelcome_proton() {
[
"main.AW_STEP1",
"div.onboardingContainer",
"div.proton[style*='.jpg']",
"div.proton[style*='.avif']",
"div.section-left",
"span.attrib-text",
"div.secondary-cta.top",
@ -179,7 +179,7 @@ add_task(async function test_multistage_aboutwelcome_proton() {
[
"main.AW_STEP2.dialog-initial",
"div.onboardingContainer",
"div.proton[style*='.jpg']",
"div.proton[style*='.avif']",
"div.section-main",
"nav.steps",
"div.indicator.current",
@ -200,7 +200,7 @@ add_task(async function test_multistage_aboutwelcome_proton() {
[
"main.AW_STEP3",
"div.onboardingContainer",
"div.proton[style*='.jpg']",
"div.proton[style*='.avif']",
"div.section-main",
"div.tiles-theme-container",
"nav.steps",

Просмотреть файл

@ -150,7 +150,7 @@ describe("MultiStageAboutWelcomeProton module", () => {
id: "DEFAULT_ABOUTWELCOME_PROTON",
template: "multistage",
transitions: true,
background_url: `chrome://activity-stream/content/data/content/assets/proton-bkg.jpg`,
background_url: `chrome://activity-stream/content/data/content/assets/proton-bkg.avif`,
screens: [
{
id: "AW_PIN_FIREFOX",