zero-length line strokes are not visible even with round or square line caps

RESOLVED DUPLICATE of bug 589648

Status

()

Core
SVG
RESOLVED DUPLICATE of bug 589648
7 years ago
7 years ago

People

(Reporter: David A. Madore, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
The SVG specification states (<URL: http://www.w3.org/TR/SVG/implnote.html#PathElementImplementationNotes >):

> Do draw the linecap for zero-length path segments when
'stroke-linecap' is set to either round or square.  (This allows round
and square dots to be drawn on the canvas.)

This is not implemented by Firefox 3.5 or 3.6 (I believe Firefox 3.0 was correct, however, so it's a regression), at least under certain Linux versions (I suppose it is due to the implementation backend: tested under Debian 5.0.6 Lenny=testing, and Ubuntu 10.04 Lucid Lynx LTS).

Example problem: the page <URL: http://www.madore.org/~david/.tmp/higman-sims-17-0ls.svg > should render identically to <URL: http://www.madore.org/~david/.tmp/higman-sims-17.svg >, but is missing the thick red dots.

Bug #355842 was apparently similar, but closed a long time ago (another sign that this is probably a regression).

FWIW, Chrome apparently suffers from the same bug: <URL: http://code.google.com/p/chromium/issues/detail?id=21057 >.

Comment 1

7 years ago
Round works on trunk. Marking this a duplicate of the existing square bug.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 589648
You need to log in before you can comment on or make changes to this bug.