[Pkg-chromium-maint] Bug#617977: chromium: [css] Regression with foo + bar syntax

Cyril Brulebois kibi at debian.org
Sun Mar 13 01:58:59 UTC 2011


Package: chromium
Version: 10.0.648.127~r76697-1
Severity: normal

Hi,

upgrading (from 9.0.597.107~r75357-1 if I parse my apt* log right) broke
some CSS handling.

Sample text:
| <html>
| <head>
| <style>
| h1 + p { text-align: left; }
| p { text-align: right; color: red; }
| </style>
| </head>
| <body>
| 
| <h1>Heading</h1>
| <p>foo1</p>
| 
| <h2>Sub-heading</h2>
| <p>foo2</p>
| 
| </body>
| </html>

Expected results (midori & iceweasel have it right):
 * foo1 is left-aligned, in red.
 * foo2 is right-aligned, in red.

Actual results:
 * both foo1 and foo2 are left-aligned, in red.

And if anyone has some doubts about foo + bar semantics, see the
attached screenshot, with developer tools enabled: matched CSS rules
only contain the “p” one, not the “h1 + p” one.

If anyone else hits this bug, a possible workaround is:
| h2 + p { text-align: left; }

(Going to apply it to
http://pkg-xorg.alioth.debian.org/howto/configure-input.html and friends
when I get the bug number, which will be mentioned in a comment right
above that CSS tweak.)

KiBi.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-rc6-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages chromium depends on:
ii  chromium-inspector 10.0.648.127~r76697-1 page inspector for the chromium br
ii  libasound2         1.0.23-2.1            shared library for ALSA applicatio
ii  libbz2-1.0         1.0.5-6               high-quality block-sorting file co
ii  libc6              2.11.2-13             Embedded GNU C Library: Shared lib
ii  libcairo2          1.10.2-4              The Cairo 2D vector graphics libra
ii  libcups2           1.4.6-1               Common UNIX Printing System(tm) - 
ii  libdbus-1-3        1.4.6-1               simple interprocess messaging syst
ii  libdbus-glib-1-2   0.88-2.1              simple interprocess messaging syst
ii  libevent-1.4-2     1.4.13-stable-1       An asynchronous event notification
ii  libexpat1          2.0.1-7               XML parsing C library - runtime li
ii  libfontconfig1     2.8.0-2.1             generic font configuration library
ii  libfreetype6       2.4.4-1               FreeType 2 font engine, shared lib
ii  libgcc1            1:4.6-20110227-1      GCC support library
ii  libgconf2-4        2.28.1-6              GNOME configuration database syste
ii  libgcrypt11        1.4.6-5               LGPL Crypto library - runtime libr
ii  libglib2.0-0       2.28.1-1+b1           The GLib library of C routines
ii  libgtk2.0-0        2.20.1-2              The GTK+ graphical user interface 
ii  libicu44           4.4.2-2               International Components for Unico
ii  libjpeg62          6b1-1                 The Independent JPEG Group's JPEG 
ii  libnspr4-0d        4.8.7-2               NetScape Portable Runtime Library
ii  libnss3-1d         3.12.9-2              Network Security Service libraries
ii  libpango1.0-0      1.28.3-2~sid1         Layout and rendering of internatio
ii  libpng12-0         1.2.44-1              PNG library - runtime
ii  libspeex1          1.2~rc1-1             The Speex codec runtime library
ii  libstdc++6         4.5.2-5               The GNU Standard C++ Library v3
ii  libvpx0            0.9.6-1               VP8 video codec (shared library)
ii  libx11-6           2:1.4.1-5             X11 client-side library
ii  libxdamage1        1:1.1.3-1             X11 damaged region extension libra
ii  libxext6           2:1.2.0-2             X11 miscellaneous extension librar
ii  libxml2            2.7.8.dfsg-2          GNOME XML library
ii  libxrender1        1:0.9.6-1             X Rendering Extension client libra
ii  libxslt1.1         1.1.26-6              XSLT 1.0 processing library - runt
ii  libxss1            1:1.2.1-1             X11 Screen Saver extension library
ii  libxtst6           2:1.2.0-1             X11 Testing -- Record extension li
ii  xdg-utils          1.1.0~rc1-2           desktop integration utilities from
ii  zlib1g             1:1.2.3.4.dfsg-3      compression library - runtime

chromium recommends no packages.

Versions of packages chromium suggests:
ii  chromium-l10n      10.0.648.127~r76697-1 chromium-browser language packages

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chromium-broken-css.png
Type: image/png
Size: 60401 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-chromium-maint/attachments/20110313/f5b9635e/attachment-0001.png>


More information about the Pkg-chromium-maint mailing list