Skip to content

Commit

Permalink
Updated CSS Inline 3
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianZ committed Aug 27, 2024
1 parent a411303 commit 962f22c
Showing 1 changed file with 108 additions and 16 deletions.
124 changes: 108 additions & 16 deletions tests/css-inline-3.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,26 @@ export default {
dev: '#baseline-shift-property',
tr: '#baseline-shift-property',
},
tests: ['5px', '10%', 'sub', 'super', 'top', 'center', 'bottom'],
tests: [
'5px',
'10%',
'sub',
'super',
'top',
'center',
'bottom',
],
},
'baseline-source': {
links: {
dev: '#baseline-source',
tr: '#baseline-source',
},
tests: ['auto', 'first', 'last'],
tests: [
'auto',
'first',
'last',
],
},
'dominant-baseline': {
links: {
Expand All @@ -60,37 +72,53 @@ export default {
dev: '#sizing-drop-initials',
tr: '#sizing-drop-initials',
},
tests: ['normal', '1.4 3', '1.4', '1.4 drop', '1.4 raise'],
tests: [
'normal',
'1.4 3',
'1.4',
'1.4 drop',
'1.4 raise',
],
},
'initial-letter-align': {
links: {
dev: '#aligning-initial-letter',
tr: '#aligning-initial-letter',
},
tests: ['border-box', 'alphabetic', 'ideographic', 'hanging', 'leading', 'border-box alphabetic'],
tests: [
'border-box',
'alphabetic',
'ideographic',
'hanging',
'leading',
'border-box alphabetic'
],
},
'initial-letter-wrap': {
links: {
dev: '#initial-letter-wrapping',
tr: '#initial-letter-wrapping',
},
tests: ['none', 'first', 'all', 'grid', '30px', '10%'],
tests: [
'none',
'first',
'all',
'grid',
'30px',
'10%',
],
},
'inline-sizing': {
links: {
dev: '#line-fill',
tr: '#line-fill',
},
tests: ['normal', 'stretch'],
},
'leading-trim': {
links: {
dev: '#leading-trim',
tr: '#leading-trim',
},
tests: ['normal', 'start', 'end', 'both'],
tests: [
'normal',
'stretch',
],
},
'text-edge': {
'line-fit-edge': {
links: {
dev: '#text-edges',
tr: '#text-edges',
Expand All @@ -102,16 +130,80 @@ export default {
'ex',
'ideographic',
'ideographic-ink',
'text text',
'text alphabetic',
'cap ideographic-ink',
'cap ideographic',
'ideographic ideographic-ink',
],
},
'text-box': {
links: {
dev: '#text-box-shorthand',
tr: '#text-box-shorthand',
},
tests: [
'normal',
'none',
'trim-start',
'trim-end',
'trim-both',
'auto',
'text',
'cap',
'ex',
'ideographic',
'ideographic-ink',
'text text',
'text alphabetic',
'cap ideographic',
'ideographic ideographic-ink',
'trim-start text',
'trim-end cap',
'trim-both ex',
],
},
'text-box-edge': {
links: {
dev: '#text-box-edge',
tr: '#text-box-edge',
},
tests: [
'auto',
'text',
'cap',
'ex',
'ideographic',
'ideographic-ink',
'text text',
'text alphabetic',
'cap ideographic',
'ideographic ideographic-ink',
],
},
'text-box-trim': {
links: {
dev: '#text-box-trim',
tr: '#text-box-trim',
},
tests: ['none', 'trim-start', 'trim-end', 'trim-both'],
},
'vertical-align': {
links: {
dev: '#transverse-alignment',
tr: '#transverse-alignment',
},
tests: ['first', 'last', 'first text-bottom', 'last sub', 'super text-bottom first'],
tests: [
'first',
'last',
'alphabetic',
'ideographic',
'central',
'mathematical',
'center',
'first text-bottom',
'last sub',
'super text-bottom first'
],
},
},
};

0 comments on commit 962f22c

Please sign in to comment.