GNU bug report logs - #16244
24.3.50; eww does not show SVG images in HTML files

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Tue, 24 Dec 2013 18:06:02 UTC

Severity: normal

Tags: fixed

Found in version 24.3.50

Fixed in version 25.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16244 in the body.
You can then email your comments to 16244 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16244; Package emacs. (Tue, 24 Dec 2013 18:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eli Zaretskii <eliz <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 24 Dec 2013 18:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; eww does not show SVG images in HTML files
Date: Tue, 24 Dec 2013 20:04:26 +0200
Steps to reproduce:

  emacs -Q
  M-x eww RET
  http://www.w3.org/Graphics/SVG/WG/wiki/Test_Suite_Overview RET
  Go down to the link saying "* HTML using <object>", hit RET
  In the page that is displayed, hit RET on any link

Result: you are presented with a page where a PNG image is displayed
correctly, while an SVG image near it is not displayed; instead its
file name is shown.

This is in Emacs compiled with librsvg support, and visiting that SVG
file with "C-x C-f" displays the SVG image correctly.



In GNU Emacs 24.3.50.184 (i686-pc-mingw32)
 of 2013-12-24 on HOME-C4E4A596F7
Bzr revision: 115732 eliz <at> gnu.org-20131224172356-900s7cuzhvmg863t
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --prefix=/d/usr --enable-checking=yes,glyphs 'CFLAGS=-O0
 -gdwarf-2 -g3''

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1255

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x e <backspace> r e p o r t - e m a c s - b u g 
<return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils time-date tooltip electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp
w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process w32notify w32
multi-tty emacs)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16244; Package emacs. (Tue, 24 Dec 2013 20:29:01 GMT) Full text and rfc822 format available.

Message #8 received at 16244 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 16244 <at> debbugs.gnu.org
Subject: Re: bug#16244: 24.3.50; eww does not show SVG images in HTML files
Date: Tue, 24 Dec 2013 21:21:54 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>   emacs -Q
>   M-x eww RET
>   http://www.w3.org/Graphics/SVG/WG/wiki/Test_Suite_Overview RET
>   Go down to the link saying "* HTML using <object>", hit RET
>   In the page that is displayed, hit RET on any link
>
> Result: you are presented with a page where a PNG image is displayed
> correctly, while an SVG image near it is not displayed; instead its
> file name is shown.

Hm.  Looking at the source code, this is stuff like:

<object data="../../svg/animate-dom-01-f.svg" width="480" height="360" type="image/svg+xml"><p style="font-size:300%;color:red">FAIL</p></object>

Adding support for this would be pretty simple, I think (just treat this
like an <img> tag, more or less), but is this a bug fix or a new
feature?  >"?  If it's a bug, I can whip up a fix...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16244; Package emacs. (Tue, 24 Dec 2013 20:58:01 GMT) Full text and rfc822 format available.

Message #11 received at 16244 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 16244 <at> debbugs.gnu.org
Subject: Re: bug#16244: 24.3.50; eww does not show SVG images in HTML files
Date: Tue, 24 Dec 2013 22:57:36 +0200
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: 16244 <at> debbugs.gnu.org
> Date: Tue, 24 Dec 2013 21:21:54 +0100
> 
> Hm.  Looking at the source code, this is stuff like:
> 
> <object data="../../svg/animate-dom-01-f.svg" width="480" height="360" type="image/svg+xml"><p style="font-size:300%;color:red">FAIL</p></object>
> 
> Adding support for this would be pretty simple, I think (just treat this
> like an <img> tag, more or less)

Yes, something like that.  I understand this is an embedded object.

> but is this a bug fix or a new feature?  >"?  If it's a bug, I can
> whip up a fix...

Well, this is a bug report, no?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16244; Package emacs. (Tue, 24 Dec 2013 21:11:01 GMT) Full text and rfc822 format available.

Message #14 received at 16244 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 16244 <at> debbugs.gnu.org
Subject: Re: bug#16244: 24.3.50; eww does not show SVG images in HTML files
Date: Tue, 24 Dec 2013 22:04:32 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> but is this a bug fix or a new feature?  >"?  If it's a bug, I can
>> whip up a fix...
>
> Well, this is a bug report, no?

Are you saying that all missing features are bugs?  >"?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16244; Package emacs. (Wed, 25 Dec 2013 03:50:01 GMT) Full text and rfc822 format available.

Message #17 received at 16244 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 16244 <at> debbugs.gnu.org
Subject: Re: bug#16244: 24.3.50; eww does not show SVG images in HTML files
Date: Wed, 25 Dec 2013 05:49:06 +0200
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: 16244 <at> debbugs.gnu.org
> Date: Tue, 24 Dec 2013 22:04:32 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> but is this a bug fix or a new feature?  >"?  If it's a bug, I can
> >> whip up a fix...
> >
> > Well, this is a bug report, no?
> 
> Are you saying that all missing features are bugs?  >"?

I'm saying that if one image is displayed while another isn't, it's a
bug.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16244; Package emacs. (Wed, 25 Dec 2013 08:27:01 GMT) Full text and rfc822 format available.

Message #20 received at 16244 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 16244 <at> debbugs.gnu.org
Subject: Re: bug#16244: 24.3.50; eww does not show SVG images in HTML files
Date: Wed, 25 Dec 2013 09:20:48 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> I'm saying that if one image is displayed while another isn't, it's a
> bug.

HTML is an ever-expanding standard, and adding support for new HTML
features is adding support for new HTML features.

Stefan, your call.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16244; Package emacs. (Wed, 19 Mar 2014 01:26:02 GMT) Full text and rfc822 format available.

Message #23 received at 16244 <at> debbugs.gnu.org (full text, mbox):

From: Reuben Thomas <rrt <at> sc3d.org>
To: 16244 <at> debbugs.gnu.org
Subject: Object is an old tag
Date: Wed, 19 Mar 2014 01:25:06 +0000
[Message part 1 (text/plain, inline)]
I see this is still waiting for Stefan's attention, but meanwhile I could
point out that the "object" tag  has been in HTML for a very long time (at
least since HTML 2.0), so it's not a new feature. Lars is right though that
for images it's pretty similar to an img tag.

-- 
http://rrt.sc3d.org
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16244; Package emacs. (Thu, 13 Nov 2014 16:22:01 GMT) Full text and rfc822 format available.

Message #26 received at 16244 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 16244 <at> debbugs.gnu.org
Subject: Re: bug#16244: 24.3.50; eww does not show SVG images in HTML files
Date: Thu, 13 Nov 2014 17:21:03 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> Steps to reproduce:
>
>   emacs -Q
>   M-x eww RET
>   http://www.w3.org/Graphics/SVG/WG/wiki/Test_Suite_Overview RET
>   Go down to the link saying "* HTML using <object>", hit RET
>   In the page that is displayed, hit RET on any link

Implemented now on trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 13 Nov 2014 16:22:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.1, send any further explanations to 16244 <at> debbugs.gnu.org and Eli Zaretskii <eliz <at> gnu.org> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 13 Nov 2014 16:22:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16244; Package emacs. (Thu, 13 Nov 2014 17:20:02 GMT) Full text and rfc822 format available.

Message #33 received at 16244 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 16244 <at> debbugs.gnu.org
Subject: Re: bug#16244: 24.3.50; eww does not show SVG images in HTML files
Date: Thu, 13 Nov 2014 19:19:15 +0200
> From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> Cc: 16244 <at> debbugs.gnu.org
> Date: Thu, 13 Nov 2014 17:21:03 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Steps to reproduce:
> >
> >   emacs -Q
> >   M-x eww RET
> >   http://www.w3.org/Graphics/SVG/WG/wiki/Test_Suite_Overview RET
> >   Go down to the link saying "* HTML using <object>", hit RET
> >   In the page that is displayed, hit RET on any link
> 
> Implemented now on trunk.

Great, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 12 Dec 2014 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.