ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Vladimir Lettiev <crux@syktsu.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] bad html rendering khtml/gecko
Date: Wed, 20 Oct 2004 13:49:24 +0400
Message-ID: <417634A4.8050703@syktsu.ru> (raw)
In-Reply-To: <200410201126.26779.ngrechukh@ua.fm>

Nick S. Grechukh wrote:
> В сообщении от Среда 20 Октябрь 2004 08:32 Denis Klykvin написал(a):
> 
>>Н-дя...
>>xmlns:w="urn:schemas-microsoft-com:office:word"
> 
> не, ну понятно что конченый msword-html. но опера-то показывает!

Вы всё упорствуете в своём невежестве?

Объясняю. Сделав небольшой regexp /<div.+?height/ на исходный код 
документа можно увидеть бред такого типа:

<div style="width: 550; height: 2183">

То бишь задаётся фиксированная высота (height) в пикселах определённых 
слоёв документа, хотя необходимости в этом нет. Совершенно "правильные" 
gecko/khtml движки аккуратно выкладывают такие слои. Если контент слоя 
"вылезает" за пределы высоты слоя, то по умолчанию дальнейшее содержимое 
слоя рисуется, НО, следующий блок начинается не с места окончания 
контента предыдущего слоя, а от ГРАНИЦЫ предыдущего слоя -- отсюда и 
эффект наложения слоёв документа. Это -- корректное поведение.
IE, Opera поступают иначе - в этом проявление их неполного соотвествия 
стандартам.

вобщем просто убрав такие огромные (и ненужные) height у div'ов я 
получил на выходе вполне нормальную страничку.

-- 
С уважением, Владимир Леттиев aka crux <crux@syktsu.ru>


  reply	other threads:[~2004-10-20  9:49 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-19 17:22 Nick S. Grechukh
2004-10-19 17:29 ` Pavlov Konstantin
2004-10-19 17:36   ` Nick S. Grechukh
2004-10-19 17:38     ` Nick S. Grechukh
2004-10-20 14:08     ` Serge Pavlovsky
2004-10-20 17:00       ` [sisyphus][JT] " Andrey Rahmatullin
2004-10-20 21:29         ` Serge Pavlovsky
2004-10-21 13:23           ` Alexey Rusakov
2004-10-22  7:39             ` Yury Aliaev
2004-10-22 10:03               ` Alexey Rusakov
2004-10-19 17:58 ` [sisyphus] " Vladimir Lettiev
2004-10-19 20:10 ` Denis Klykvin
2004-10-20  5:33   ` Korshunov Ilya
2004-10-20  5:32     ` Denis Klykvin
2004-10-20  8:26       ` Nick S. Grechukh
2004-10-20  9:49         ` Vladimir Lettiev [this message]
2004-10-20 10:26           ` Nick S. Grechukh
2004-10-20 11:41             ` Vladimir Lettiev
2004-10-20 13:21               ` Nick S. Grechukh
2004-10-20 13:26                 ` Led
2004-10-20 13:48                   ` Nick S. Grechukh
2004-10-20 14:20                     ` Alexey Morozov
2004-10-20 17:01                       ` Andrey Rahmatullin
2004-10-21  8:03                         ` Alexey Morozov
2004-10-21  9:37                         ` Led
2004-10-21 12:20                           ` Alexey Morozov
2004-10-21 13:14                           ` Andrey Rahmatullin
2004-10-21 15:38                             ` Led
2004-10-22  4:55                             ` Alexey Morozov
2004-10-20 17:24 ` Sergey Kuznetsov
2004-10-21  8:23   ` Led
2004-10-21 18:44     ` Sergey Kuznetsov
2004-10-21 10:26 ` Sergey
2004-10-21 16:19   ` Andrey Rahmatullin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=417634A4.8050703@syktsu.ru \
    --to=crux@syktsu.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git