Inheritance, Computed Values, & Keywords

 | 'vertical-align' 
 |    Value: baseline | sub | super | top | text-top | middle | bottom |
 |           text-bottom | <percentage> | <length> | inherit

Given "vertical-align: inherit", and a parent with a keyword, what inherits?
The computed distance from the baseline, or the keyword?

Likewise for 'background-position'.

 | 'background-position' 
 |    Value:  [ [<percentage> | <length> ]{1,2} | [ [top | center | bottom] ||
 |              [left | center | right] ] ] | inherit 

http://www.w3.org/TR/REC-CSS2/cascade.html#inheritance

~fantasai

Received on Monday, 5 November 2001 21:59:12 UTC