Re: Amaya 11.0 WinXP possible bug: Amaya applies height in % to elements
Peter Kerr <[email protected]>
| Newsgroups | gmane.comp.web.amaya.general |
|---|---|
| Message-ID | <[email protected]> |
On 10/01/2009, at 1:56 AM, Bartolomé Sintes Marco wrote: > > Amaya 11.0 for WIndows XP applies the height property in %, but > Internet Explorer or Firefox does not. > > Steps to reproduce: > 1. Create a document with the following code: > <p style="border: black 1px solid">Test<p> > <p style="border: black 1px solid; height: 50%">Test<p> > > In Firefox or Internet Explorer both <p> are shown in the same way, > but Amaya shows the second one larger (50% of the whole document). Safari 3.1.2 behaves the same as Amaya 11.0 MacOS 10.5.5 PPC This might be a problem for IE & FF, not for us Another test: <div style="height: 300px"><!-- change this height for experiment--> <p style="border: black 1px solid">Test<p> <p style="border: black 1px solid; height: 50%">Test<p> </div> The second <p> is 50% of the height of the containing <div> This is what I would expect, but sorry I do not have XP available just now to check IE & FF Peter Kerr School of Music