W3C home > Mailing lists > Public > www-style@w3.org > July 1997

Percentage Values without parent elements?

From: Hakon Lie <howcome@w3.org>
Date: Thu, 24 Jul 1997 01:34:09 +0200 (MET DST)
Message-Id: <199707232334.BAA24384@online.no>
To: neil@bigpic.com
Cc: www-style@w3.org
Neil St.Laurent writes:

 > If an element has no parent (such as <BODY>) and it uses a relative 
 > size to specify something, what is the correct action?

Actually, BODY has a parent: in HTML there is always a toplevel
element of type HTML. 

But the question remains: how should one interpret upwards-pointing
values on toplevel elements. I don't think the spec gives you an
explicit answer, but it describes (in section 3.2) what values the
toplevel element is given initially (the 'initial' value). Thus, I'd
say that relative values should be computed w.r.t. the initial value.



H      k   o   n      W   i   u   m       L   i   e
howcome@w3.org   W o r l d   Wide  W e b  Consortium
inria # FRANCE http://www.w3.org/people/howcome
Received on Wednesday, 23 July 1997 19:34:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:44 UTC