@@ -4656,9 +4656,8 @@ describe('CSSFontFaceDescriptors', () => {
46564656 [ 'initial' ] ,
46574657 [ 'inherit(--custom)' ] ,
46584658 [ 'var(--custom)' ] ,
4659- // Cascade dependent value
4660- [ '--custom()' ] ,
46614659 // Element-dependent value
4660+ [ '--custom()' ] ,
46624661 [ 'attr(name)' ] ,
46634662 [ 'random-item(--key, 1)' , 'random-item(--key, 1%)' ] ,
46644663 [ 'interpolate(0, 0: 1)' , 'interpolate(0, 0: 1%)' ] ,
@@ -4776,11 +4775,9 @@ describe('CSSKeyframeProperties', () => {
47764775 style . fontWeight = 'var(--custom)'
47774776 expect ( style . fontWeight ) . toBe ( 'var(--custom)' )
47784777
4779- // Cascade -dependent value
4778+ // Element -dependent value
47804779 style . fontWeight = '--custom()'
47814780 expect ( style . fontWeight ) . toBe ( '--custom()' )
4782-
4783- // Element-dependent value
47844781 style . fontWeight = 'attr(name)'
47854782 expect ( style . fontWeight ) . toBe ( 'attr(name)' )
47864783 style . fontWeight = 'random-item(--key, 1)'
@@ -4855,7 +4852,7 @@ describe('CSSMarginDescriptors', () => {
48554852 style . fontWeight = 'var(--custom)'
48564853 expect ( style . fontWeight ) . toBe ( 'var(--custom)' )
48574854
4858- // Cascade -dependent value
4855+ // Element -dependent value
48594856 style . fontWeight = '--custom()'
48604857 expect ( style . fontWeight ) . toBe ( '--custom()' )
48614858 } )
@@ -4934,7 +4931,7 @@ describe('CSSPageDescriptors', () => {
49344931 expect ( style . fontWeight ) . toBe ( 'var(--custom)' )
49354932 expect ( style . size ) . toBe ( 'var(--custom)' )
49364933
4937- // Cascade -dependent value
4934+ // Element -dependent value
49384935 style . fontWeight = '--custom()'
49394936 style . size = '--custom()'
49404937 expect ( style . fontWeight ) . toBe ( '--custom()' )
@@ -4983,11 +4980,9 @@ describe('CSSPositionTryDescriptors', () => {
49834980 style . top = 'var(--custom)'
49844981 expect ( style . top ) . toBe ( 'var(--custom)' )
49854982
4986- // Cascade -dependent value
4983+ // Element -dependent value
49874984 style . top = '--custom()'
49884985 expect ( style . top ) . toBe ( '--custom()' )
4989-
4990- // Element-dependent value
49914986 style . top = 'attr(name)'
49924987 expect ( style . top ) . toBe ( 'attr(name)' )
49934988 style . top = 'random-item(--key, 1px)'
0 commit comments