Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions testsuite/tests/util/Styles.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ describe('CssStyles object', () => {
'font-family': 'arial',
'font-style': 'italic'
});
cssFontTest('font-size-adjust: none', {
'font-size-adjust': 'none',
});
});

test('get()', () => {
Expand Down
1 change: 1 addition & 0 deletions ts/util/Styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ function splitSame(name: string) {
* @param {string} name The style to be processed
*/
function combineSame(name: string) {
if (!Styles.connect[name]) return;
const children = [...Styles.connect[name].children];
const value = this.styles[this.childName(name, children.shift())];
for (const child of children) {
Expand Down