Package: iceweasel
Version: 2.0.0.3-2
Followup-For: Bug #331433

I still observe this bug in the following example:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml";>
<head>
<script type='text/javascript' src="js/scripts.js" language="JavaScript" />
</head>
<body>
<script type='text/javascript' language="JavaScript">
        document.write('<h1>Head</h1>');
</script>
</body>
</html>

Iceweasel shows this file as empty document.

It seems to me that Iceweasel does not recognize empty script element and 
interprets all part of document forom 
first <script> to </script> element closing the second script as the one 
script. Repcaling first element with 
<script ...></script> solves the problem.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.20 (PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iceweasel depends on:
ii  debianutils               2.18           Miscellaneous utilities specific t
ii  fontconfig                2.4.2-1.2      generic font configuration library
ii  libatk1.0-0               1.18.0-2       The ATK accessibility toolkit
ii  libc6                     2.5-5          GNU C Library: Shared libraries
ii  libcairo2                 1.4.6-1        The Cairo 2D vector graphics libra
ii  libfontconfig1            2.4.2-1.2      generic font configuration library
ii  libfreetype6              2.2.1-5        FreeType 2 font engine, shared lib
ii  libgcc1                   1:4.1.2-5      GCC support library
ii  libglib2.0-0              2.12.11-3      The GLib library of C routines
ii  libgtk2.0-0               2.10.12-1      The GTK+ graphical user interface 
ii  libhunspell-1.1-0         1.1.5-6        spell checker and morphological an
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG 
ii  libpango1.0-0             1.16.2-2       Layout and rendering of internatio
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libstdc++6                4.1.2-5        The GNU Standard C++ Library v3
ii  libx11-6                  2:1.0.3-7      X11 client-side library
ii  libxft2                   2.1.12-2       FreeType-based font drawing librar
ii  libxinerama1              1:1.0.2-1      X11 Xinerama extension library
ii  libxp6                    1:1.0.0.xsf1-1 X Printing Extension (Xprint) clie
ii  libxrender1               1:0.9.2-1      X Rendering Extension client libra
ii  libxt6                    1:1.0.5-2      X11 toolkit intrinsics library
ii  psmisc                    22.5-1         Utilities that use the proc filesy
ii  zlib1g                    1:1.2.3-13     compression library - runtime

iceweasel recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to