fix(h5): enlarge regular brand text for optical alignment
This commit is contained in:
@@ -27,9 +27,11 @@ try {
|
||||
return [s.fontFamily, s.fontSize, s.fontWeight, s.lineHeight];
|
||||
});
|
||||
});
|
||||
assert.deepEqual(fonts[0], fonts[1], root + ': identical English font settings');
|
||||
assert.equal(fonts[0][1], '23px');
|
||||
assert.equal(fonts[0][0], fonts[1][0], root + ': same font family');
|
||||
assert.equal(fonts[0][1], '28px', 'lowercase brand has optical size compensation');
|
||||
assert.equal(fonts[1][1], '23px', 'English tagline remains unchanged');
|
||||
assert.equal(fonts[0][2], '400');
|
||||
assert.equal(fonts[1][2], '400');
|
||||
assert.match(await page.locator(root + ' .splash-slogan').getAttribute('aria-label'), /^1'me/);
|
||||
}
|
||||
const button = page.locator('#s-splash [data-action="open-privacy"]');
|
||||
|
||||
Reference in New Issue
Block a user