MantisBT - LibCSS
View Issue Details
0002641LibCSSLibCSSpublic2019-04-09 09:412019-05-12 16:44
Assigned ToMichael Drake 
PlatformOSOS Version
Fixed in CI build #
Reported in CI build #
Summary0002641: CSS properties inheritance
DescriptionLibCSS inherits some properties which according to the CSS specs should not inherit:

* column-gap -
* column-width -
* content -
* counter-increment -
* outline-color -
* outline-width -

Should and could this be changed and tested for?
Steps To ReproduceRun the CSS select test program on the following data:

| body
| p*
body {
  column-gap: 234em;
    column-width: 80pt;
    content: body-content;
    counter-increment: body-counter-increment;
    outline-color: red;
    outline-style: dotted; }
p { }
align-content: stretch
align-items: stretch
align-self: auto
background-attachment: scroll
background-color: #00000000
background-image: none
background-position: 0% 0%
background-repeat: repeat
border-collapse: separate
border-spacing: 0px 0px
border-top-color: #ff000000
border-right-color: #ff000000
border-bottom-color: #ff000000
border-left-color: #ff000000
border-top-style: none
border-right-style: none
border-bottom-style: none
border-left-style: none
border-top-width: 2px
border-right-width: 2px
border-bottom-width: 2px
border-left-width: 2px
bottom: auto
box-sizing: content-box
break-after: auto
break-before: auto
break-inside: auto
caption-side: top
clear: none
clip: auto
color: #ff000000
column-count: auto
column-fill: balance
column-gap: normal
column-rule-color: #ff000000
column-rule-style: none
column-rule-width: 2px
column-span: none
column-width: auto
content: normal
counter-increment: none
counter-reset: none
cursor: auto
direction: ltr
display: inline
empty-cells: show
flex-basis: auto
flex-direction: row
flex-grow: 0.000
flex-shrink: 1.000
flex-wrap: nowrap
float: none
font-family: sans-serif
font-size: 12pt
font-style: normal
font-variant: normal
font-weight: normal
height: auto
justify-content: flex-start
left: auto
letter-spacing: normal
line-height: normal
list-style-image: none
list-style-position: outside
list-style-type: disc
margin-top: 0px
margin-right: 0px
margin-bottom: 0px
margin-left: 0px
max-height: none
max-width: none
min-height: 0px
min-width: 0px
opacity: 1.000
order: 0
outline-color: invert
outline-style: none
outline-width: 2px
overflow-x: visible
overflow-y: visible
padding-top: 0px
padding-right: 0px
padding-bottom: 0px
padding-left: 0px
position: static
quotes: none
right: auto
table-layout: auto
text-align: default
text-decoration: none
text-indent: 0px
text-transform: none
top: auto
unicode-bidi: normal
vertical-align: baseline
visibility: visible
white-space: normal
width: auto
word-spacing: normal
writing-mode: horizontal-tb
z-index: auto
TagsNo tags attached.
Attached Files

Michael Drake   
2019-05-12 16:44   
Fixed in 4989d72549b53f751d2999a771e0bc6737015810.

Thanks for the report, and especially for the test case! :)

Issue History
2019-04-09 09:41CidNew Issue
2019-05-06 15:45Michael DrakeAssigned To => Michael Drake
2019-05-06 15:45Michael DrakeStatusnew => assigned
2019-05-12 16:44Michael DrakeStatusassigned => resolved
2019-05-12 16:44Michael DrakeResolutionopen => fixed
2019-05-12 16:44Michael DrakeNote Added: 0001914