Le Mar 25 septembre 2012 21:23, Boris Zbarsky a écrit : > On 9/25/12 9:04 PM, "Gérard Talbot" wrote: > > > div.outer's computed bottom value is -50%; therefore, div.outer's top > > computed value should be +50%. > > No, I don't see why. > > div.outer's computed bottom value is "-50%". Its computed top value is > "auto". > > Its used bottom value is "-60px". Its used top value is "60px". > > Inheritance happens on computed values, not used values. So the > inherited value of top is "auto". Thanks Boris: this is exactly what I was missing. Inheritance is on computed values not their used values. > >> div.inner's top specified value should therefore be 50% but no browsers >> (Firefox 15.0.1, Chrome 22.0.1229.79 and Opera 12.02) reports such >> value. > > Reports via what? getComputedStyle? Their respective web debugger tools: Firefox's DOM inspector, Opera DragonFly, Chrome Web inspector. Gérard -- CSS 2.1 Test suite RC6, March 23rd 2011 http://test.csswg.org/suites/css2.1/20110323/html4/toc.html Contributions to CSS 2.1 test suite http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ Web authors' contributions to CSS 2.1 test suite http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.htmlReceived on Wednesday, 26 September 2012 01:28:56 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:21 UTC