Address formatting changes from Prettier version 3
This commit is contained in:
parent
1a4bfd2fc3
commit
f84657d837
@ -755,13 +755,13 @@ const getGlyphMapForStandardFonts = getLookupTableFactory(function (t) {
|
||||
// The glyph map for ArialBlack differs slightly from the glyph map used for
|
||||
// other well-known standard fonts. Hence we use this (incomplete) CID to GID
|
||||
// mapping to adjust the glyph map for non-embedded ArialBlack fonts.
|
||||
const getSupplementalGlyphMapForArialBlack = getLookupTableFactory(function (
|
||||
t
|
||||
) {
|
||||
t[227] = 322;
|
||||
t[264] = 261;
|
||||
t[291] = 346;
|
||||
});
|
||||
const getSupplementalGlyphMapForArialBlack = getLookupTableFactory(
|
||||
function (t) {
|
||||
t[227] = 322;
|
||||
t[264] = 261;
|
||||
t[291] = 346;
|
||||
}
|
||||
);
|
||||
|
||||
// The glyph map for Calibri (a Windows font) differs from the glyph map used
|
||||
// in the standard fonts. Hence we use this (incomplete) CID to GID mapping to
|
||||
|
@ -217,9 +217,12 @@ describe("FreeText Editor", () => {
|
||||
await page.waitForTimeout(10);
|
||||
}
|
||||
|
||||
let length = await page.evaluate(sel => {
|
||||
return document.querySelectorAll(sel).length;
|
||||
}, `${getEditorSelector(5)}, ${getEditorSelector(6)}`);
|
||||
let length = await page.evaluate(
|
||||
sel => {
|
||||
return document.querySelectorAll(sel).length;
|
||||
},
|
||||
`${getEditorSelector(5)}, ${getEditorSelector(6)}`
|
||||
);
|
||||
expect(length).withContext(`In ${browserName}`).toEqual(2);
|
||||
|
||||
for (let i = 0; i < 2; i++) {
|
||||
@ -229,9 +232,12 @@ describe("FreeText Editor", () => {
|
||||
await page.waitForTimeout(10);
|
||||
}
|
||||
|
||||
length = await page.evaluate(sel => {
|
||||
return document.querySelectorAll(sel).length;
|
||||
}, `${getEditorSelector(5)}, ${getEditorSelector(6)}`);
|
||||
length = await page.evaluate(
|
||||
sel => {
|
||||
return document.querySelectorAll(sel).length;
|
||||
},
|
||||
`${getEditorSelector(5)}, ${getEditorSelector(6)}`
|
||||
);
|
||||
expect(length).withContext(`In ${browserName}`).toEqual(0);
|
||||
}
|
||||
});
|
||||
|
@ -2427,13 +2427,13 @@ describe("api", function () {
|
||||
docBaseUrl: "http://www.example.com/test/pdfs/qwerty.pdf",
|
||||
})
|
||||
);
|
||||
const docBaseUrlPromise = docBaseUrlLoadingTask.promise.then(function (
|
||||
pdfDoc
|
||||
) {
|
||||
return pdfDoc.getPage(1).then(function (pdfPage) {
|
||||
return pdfPage.getAnnotations();
|
||||
});
|
||||
});
|
||||
const docBaseUrlPromise = docBaseUrlLoadingTask.promise.then(
|
||||
function (pdfDoc) {
|
||||
return pdfDoc.getPage(1).then(function (pdfPage) {
|
||||
return pdfPage.getAnnotations();
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
const invalidDocBaseUrlLoadingTask = getDocument(
|
||||
buildGetDocumentParams(filename, {
|
||||
|
@ -586,7 +586,8 @@ body {
|
||||
.doorHanger,
|
||||
.doorHangerRight {
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 1px 5px var(--doorhanger-border-color),
|
||||
box-shadow:
|
||||
0 1px 5px var(--doorhanger-border-color),
|
||||
0 0 0 1px var(--doorhanger-border-color);
|
||||
border: var(--doorhanger-border-color-whcm);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user