Click here to get back home

simple safari test cases: puzzling

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
simple safari test cases: puzzling Pieter Van Waeyenberge 09-22-2004
Get Chitika Premium
Posted by Pieter Van Waeyenberge on September 22, 2004, 1:45 pm
Please log in for more thread options
hello

first of all sorry for not replyin to my original post .. been very busy,
and i prepared decent test cases now

On the following link ull find some safari test cases with issues concerning
percentual heights, and padding

http://www.flandersdesign.be/_cross/index.html


is there a way to work around this? am i totally ignorant?

thnx in advance!
Pieter Van Waeyenberge.




Posted by Alexander Clauss on September 22, 2004, 6:43 pm
Please log in for more thread options

> is there a way to work around this? am i totally ignorant?

The following can be found in the CSS 2.1 specification
(section 17.5.3):

"CSS 2.1 does not define what percentage values of 'height'
refer to when specified in table cells"

This means that you should avoid percentage values for 'height' in all
child elements of table cells if cells don't have absolute values for
'height'.

Another problem in your example is that the table cells don't have a
height property at all (which is equivalent to "height: auto"). But
because a percentage height property (the one of the IFRAME) can only be
resolved if the height of the containing block (the table cell) is
specified explicitely (see the CSS 2.1 specification section 10.5
"Content height: the 'height' property"), the percentage height property
of IFRAME will be treated as "auto". So at least your IFRAME test cases
are displayed "correct" in Safari, IMHO.

--
Alexander


Posted by Pieter Van Waeyenberge on September 22, 2004, 7:08 pm
Please log in for more thread options
> "CSS 2.1 does not define what percentage values of 'height'
> refer to when specified in table cells"

thnx ... but i suppose for the div example the percentual height should be
respected (% of container)?

and it does so only when its 100% .. values below results in total collapse
....

Pieter

>
> This means that you should avoid percentage values for 'height' in all
> child elements of table cells if cells don't have absolute values for
> 'height'.
>
> Another problem in your example is that the table cells don't have a
> height property at all (which is equivalent to "height: auto"). But
> because a percentage height property (the one of the IFRAME) can only be
> resolved if the height of the containing block (the table cell) is
> specified explicitely (see the CSS 2.1 specification section 10.5
> "Content height: the 'height' property"), the percentage height property
> of IFRAME will be treated as "auto". So at least your IFRAME test cases
> are displayed "correct" in Safari, IMHO.
>
> --
> Alexander




Posted by Alexander Clauss on September 22, 2004, 9:53 pm
Please log in for more thread options

> thnx ... but i suppose for the div example the percentual height should
> be respected (% of container)?

Yes, I think so.

--
Alexander


Similar ThreadsPosted
4376064 CD-R, DVD R, DVD CASES LOWEST PRICE! 43 May 23, 2005, 4:23 pm
Down to one puzzling error. April 16, 2006, 10:57 pm
How to call a simple perl script from HTML without need of HTTPS but simple HTTP ? May 11, 2006, 4:36 am
Safari users, help please September 12, 2005, 7:09 am
Interesting Safari Problem December 10, 2004, 8:30 am
Re: Content-Type (was Safari - RSS) May 20, 2006, 8:15 am
Works in IE, Firefox but not on Safari September 8, 2006, 8:29 pm
Safari issue with self.close February 28, 2007, 12:51 pm
pages not displaying properly in safari March 18, 2006, 5:18 pm
Apple Safari: select box behaviour January 8, 2008, 10:21 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap