All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pazu <pazu@pazu.com.br>
To: git@vger.kernel.org
Subject: Re: Gitweb indentation wrong in Internet Explorer
Date: Wed, 11 Oct 2006 17:53:51 -0300	[thread overview]
Message-ID: <egjllu$6k8$1@sea.gmane.org> (raw)
In-Reply-To: <egjang$nmh$1@sea.gmane.org>

Jakub Narebski wrote:

> Which version of gitweb? We have removed s/ /&nbsp;/g; in esc_html
> subroutine in favor of using "white-space: pre;" in CSS some time ago,
> and we have added escaping FORM FEED and ESCAPE characters.

The problem here is that "white-space: pre" is only supported by IE6 in 
standards compliance mode[1], but the DTD declaration for this page:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

surprisingly triggers IE6 quirks mode[2]. A quick fix to this problem 
would be changing the doctype declaration to use XHTML 1.0 Transitional 
instead of Strict, as that would trigger IE6 standards-compliance mode.

[1] 
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/whitespace.asp

[2] http://hsivonen.iki.fi/doctype/

-- Marcus

  parent reply	other threads:[~2006-10-11 21:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-11 17:25 Gitweb indentation wrong in Internet Explorer Ralf Baechle
2006-10-11 17:47 ` Jakub Narebski
2006-10-11 18:15   ` Ralf Baechle
2006-10-11 20:53   ` Pazu [this message]
2006-10-11 21:13     ` [PATCH] Removes the <?xml?> declaration from gitweb.pl Pazu
2006-10-11 21:27       ` Jakub Narebski
2006-10-12  0:26         ` Pazu
2006-10-12  1:08         ` Pazu
2006-10-12  5:45         ` Robin Rosenberg
2006-10-12 21:21           ` Jakub Narebski
2006-10-13 13:01             ` Pazu
2006-10-13 13:07               ` Jakub Narebski
2006-10-13 14:09                 ` Pazu
2006-10-13 14:05             ` Robin Rosenberg
2006-10-13 15:09               ` Jakub Narebski
2006-10-11 18:13 ` Gitweb indentation wrong in Internet Explorer Luben Tuikov

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='egjllu$6k8$1@sea.gmane.org' \
    --to=pazu@pazu.com.br \
    --cc=git@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.