[Prev][Next][Index][Thread]

Re: what happens if first-line contains markup?



 From: Hakon Lie <howcome@w3.org>
| 
| A fictional tag sequence is the original tag sequence (from the HTML
| document) + any tags resulting from addressing pseudo-elements. In the
| example below, <P:first-line> is a fictional tag and the sequence is
| then called fictional.
| 
|  > >   <P><P:first-line><EM>The</EM> first line</P:first-line> ...
---

The write-up needs to make clear that the tags really are fictional -
they provide a way of visualizing what happens, not a real mechanism.
It should also say somethting explicit about what happens when the
fictional tags don't nest correctly (suppose the end of the first
rendered line of a paragraph falls in the middle of an EM element, for
instance) - presumably the browser needs to re-calculate inherited
attributes at the end of the pseudo-element, even though it's in the
middle of another tag.

scott

--
scott preece
motorola/mcg urbana design center	1101 e. university, urbana, il   61801
phone:	217-384-8589			  fax:	217-384-8550
internet mail:	preece@urbana.mcd.mot.com