зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
9e1cd98548
Коммит
49d568d91a
|
@ -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.jpg
Двоичные данные
browser/components/newtab/data/content/assets/proton-bkg.jpg
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче