Re: Pure space directly inside div ignored, but pure space directly
am 29.03.2008 17:52:20 von liketofindoutwhy
On Mar 29, 3:03 am, Ben C wrote:
> On 2008-03-29, John Hosking wrote:
>
> > "In particular, user agents should collapse input white space sequences
> > when producing output inter-word space."
sigh... it is not "inter word" space... it is outer...
hello world
the spaces before hello is not inter-word. AND IT IS NOT COLLAPSED.
IT IS TOTALLY IGNORED.
Re: Pure space directly inside div ignored, but pure space directly inside span honored
am 29.03.2008 19:06:11 von Ben C
On 2008-03-29, liketofindoutwhy@gmail.com wrote:
> On Mar 29, 3:03 am, Ben C wrote:
>> On 2008-03-29, John Hosking wrote:
>>
>> > "In particular, user agents should collapse input white space sequences
>> > when producing output inter-word space."
>
>
> sigh... it is not "inter word" space... it is outer...
>
> hello world
>
> the spaces before hello is not inter-word. AND IT IS NOT COLLAPSED.
> IT IS TOTALLY IGNORED.
See CSS 2.1 16.6.1 second section, item 1, "[...] a space at the
beginning of a line [...] is removed"
So you're both wrong. It isn't collapsed or ignored, it's REMOVED.