You need to be logged in to post in the forums. If you do not have an account, please sign up first.
why "inherit" value strikes out all previos values ?
Had to track down which font is actually in charge.http://xwiki.475771.n2.nabble.com/Diff-font-is-td7580425.html
It was hard. CSS used explicit inherit value. A lot.
And that meant that real value was masked and hidden in piles of other styles.
I suggest that:
1) "inherit" value would not strike-out last real value. Just like implicit inheritance would not.
2) "inherit" value been rendered in italics, showing its special "transparent" status.
3) in "computed style" section inherit values were never displayed but real values were displayed instead.
Originally posted by the-Arioch:
I agree that the when inherit is used it is hard to 'debug' the styles....
It was hard. CSS used explicit inherit value. A lot.
And that meant that real value was masked and hidden in piles of other styles.
I suggest that:
1) "inherit" value would not strike-out last real value. Just like implicit inheritance would not.
2) "inherit" value been rendered in italics, showing its special "transparent" status.
3) in "computed style" section inherit values were never displayed but real values were displayed instead.
The two first suggestions are good.
The last one I do not understand. Isn't it meant to be that Computed Style displays the real values? Can you explain this last suggestion for me?
Thanks, Regards, a3ano
Test page to show browser differences caused by bugs, 'features', interpretation differences or lack of support.
http://www.vonreeken.demon.nl/test/index.htm
Reference Pages for Website Creation (Colors, Chars, Fonts, Local Information and CSS3 support).
http://www.vonreeken.demon.nl/webreference/index.html
http://www.vonreeken.demon.nl/test/index.htm
Reference Pages for Website Creation (Colors, Chars, Fonts, Local Information and CSS3 support).
http://www.vonreeken.demon.nl/webreference/index.html
> Isn't it meant to be that Computed Style displays the real values?
Exactly.
But what is the "real" in this context ?
And what is displayed really ?
To me it displays "inherited" - and gives me no info "how much".
I think it should just display the value that was inherited.
If i need to know - was there inheritance or not - it would look into history. But in Computed Styles i want to see "20" or "red" but not "inherited"
I want Computed Styles to show the same for explicit inheritance, like it would for implicit ones, when no value was specified at all.
Exactly.
But what is the "real" in this context ?
And what is displayed really ?
To me it displays "inherited" - and gives me no info "how much".
I think it should just display the value that was inherited.
If i need to know - was there inheritance or not - it would look into history. But in Computed Styles i want to see "20" or "red" but not "inherited"
I want Computed Styles to show the same for explicit inheritance, like it would for implicit ones, when no value was specified at all.
Thanks for your reply.
I agree with you.
Regards, a3ano
I agree with you.
Regards, a3ano
Test page to show browser differences caused by bugs, 'features', interpretation differences or lack of support.
http://www.vonreeken.demon.nl/test/index.htm
Reference Pages for Website Creation (Colors, Chars, Fonts, Local Information and CSS3 support).
http://www.vonreeken.demon.nl/webreference/index.html
http://www.vonreeken.demon.nl/test/index.htm
Reference Pages for Website Creation (Colors, Chars, Fonts, Local Information and CSS3 support).
http://www.vonreeken.demon.nl/webreference/index.html