4.7 Examples
4.7. Примеры
Примеры вычисления значений CSS
Свойство
Победившее объявление
Каскадное значение
Заданное значение
Вычисленное значение
Используемое значение
Фактическое значение
(a)
text-align
text-align: left
left
left
left
left
left
(b)
border-top-width, border-right-width, border-bottom-width, border-left-width
border-width: inherit
inherit
4.2px
4.2px
4.2px
4px
(c)
width
(нет)
(нет)
auto (начальное значение)
auto
120px
120px
(d)
list-style-position
list-style-position: inherit
inherit
inside
inside
inside
inside
(e)
list-style-position
list-style-position: initial
initial
outside (начальное значение)
outside
outside
outside
(f)
font-size
font-size: 1.2em
1.2em
1.2em
14.1px
14.1px
14px
(g)
width
width: 80%
80%
80%
80%
354.2px
354px
(h)
width
width: auto
auto
auto
auto
134px
134px
(i)
height
height: auto
auto
auto
auto
176px
176px
(j)
page-break-after
(нет)
(нет)
auto (начальное значение)
auto
auto
auto
(к)
orphans
orphans: 3
3
3
3
3
3