Project

General

Profile

Actions

Bug #838

closed
MQ KD

InlineSVG and absolute positioning

Bug #838: InlineSVG and absolute positioning

Added by Max Quatember over 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05/26/2011
Due date:
% Done:

0%

Estimated time:

Description

Absolute positioning and SVG seems to have a bug with small heights.

In the testcase both rects are positioned at (0,0) but the smaller one
is not drawn at (0,0).

Please see attached test case.


Files

TestSVG.cpp (940 Bytes) TestSVG.cpp Max Quatember, 05/26/2011 10:33 AM
test.7z (31.9 KB) test.7z Max Quatember, 06/07/2011 04:23 PM

MQ Updated by Max Quatember over 15 years ago Actions #1

Hi!

Just upgraded to latest git and it seems that the bug has nothing to do with SVG-rendering.

I attached a new testcase and a screenshot of what I'm seeing.

Best regards,
Max

WD Updated by Wim Dumon over 15 years ago Actions #2

Another HTML4 transitional/HTML5 CSS difference.

Apply the following CSS style to the canvas in order to fix this: display:block;

KD Updated by Koen Deforche about 15 years ago Actions #3

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche

Hey Max,

I've implemented Wim's solution in the source.

Regards,
koen

MQ Updated by Max Quatember about 15 years ago Actions #4

Hi Koen!

Thank you! I will test latest git as soon as possible.

Best regards,
Max

KD Updated by Koen Deforche about 15 years ago Actions #5

  • Target version set to 3.1.10

KD Updated by Koen Deforche about 15 years ago Actions #6

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom