完善客户端模块与工作区能力
This commit is contained in:
@@ -54,6 +54,14 @@ describe('light visual system', () => {
|
||||
expect(uiSource).not.toMatch(/#3A5578|#F2F5F8|#4b6385|bg-sky-500/i);
|
||||
});
|
||||
|
||||
it('does not reserve synthetic height for chat transcript message wrappers', () => {
|
||||
const globalsSource = readSource('styles/globals.css');
|
||||
const transcriptRule = globalsSource.match(/\.chat-transcript-message\s*\{[^}]*\}/)?.[0] ?? '';
|
||||
|
||||
expect(transcriptRule).not.toContain('content-visibility');
|
||||
expect(transcriptRule).not.toContain('contain-intrinsic-size');
|
||||
});
|
||||
|
||||
it('uses bundled mixed-script typography with language-aware fallbacks', () => {
|
||||
const globalsSource = readSource('styles/globals.css');
|
||||
const tailwindSource = readFileSync(join(process.cwd(), 'tailwind.config.js'), 'utf8');
|
||||
|
||||
Reference in New Issue
Block a user