开发者

What are the possible values of display property in ComputedStyle mode

开发者 https://www.devze.com 2023-03-10 19:10 出处:网络
I am using QtWebkit. I am calling this method: documentElement.styleProperty(\'display\', QWebElement.ComputedStyle)

I am using QtWebkit. I am calling this method:

documentElement.styleProperty('display', QWebElement.ComputedStyle)

I want to know out of the possible values of display which are

'block'
'compact'
'inherit'
'inline'
'inline-block'
'inline-table'
'list-item'
'marker'
'none'
'run-in'
'table'
'table-caption'
'table-cell'
'table-column'
'table-column-group'
'table-footer-group'
'table-heade开发者_如何学编程r-group'
'table-row'
'table-row-group'

what values are possible in ComputedStyle? Till now I have seen none, block, inline and list-item on some of the webpages.


from http://www.w3.org/TR/CSS21/visuren.html#display-prop

inline | block | list-item | inline-block | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | none | inherit

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号