mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
Setting flex: 'none'; becomes...
|
|
flex-basis: 'auto'
|
|
flex-grow: '0'
|
|
flex-shrink: '0'
|
|
flex: '0 0 auto'
|
|
e.style.length: 3
|
|
> [0] flex-grow
|
|
> [1] flex-shrink
|
|
> [2] flex-basis
|
|
|
|
Setting flex: 'auto 1 2'; becomes...
|
|
flex-basis: 'auto'
|
|
flex-grow: '1'
|
|
flex-shrink: '2'
|
|
flex: '1 2 auto'
|
|
e.style.length: 3
|
|
> [0] flex-grow
|
|
> [1] flex-shrink
|
|
> [2] flex-basis
|
|
|
|
Setting flex: ''; becomes...
|
|
flex-basis: ''
|
|
flex-grow: ''
|
|
flex-shrink: ''
|
|
flex: ''
|
|
e.style.length: 0
|
|
|
|
Setting border: '1px solid red'; becomes...
|
|
border-width: '1px'
|
|
border-style: 'solid'
|
|
border-color: 'red'
|
|
border: '1px solid red'
|
|
e.style.length: 17
|
|
> [0] border-top-width
|
|
> [1] border-right-width
|
|
> [2] border-bottom-width
|
|
> [3] border-left-width
|
|
> [4] border-top-style
|
|
> [5] border-right-style
|
|
> [6] border-bottom-style
|
|
> [7] border-left-style
|
|
> [8] border-top-color
|
|
> [9] border-right-color
|
|
> [10] border-bottom-color
|
|
> [11] border-left-color
|
|
> [12] border-image-source
|
|
> [13] border-image-slice
|
|
> [14] border-image-width
|
|
> [15] border-image-outset
|
|
> [16] border-image-repeat
|
|
|