Project

General

Profile

Actions

Bug #838

closed

InlineSVG and absolute positioning

Added by Max Quatember over 13 years ago. Updated over 13 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
Actions #1

Updated by Max Quatember over 13 years ago

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

Actions #2

Updated by Wim Dumon over 13 years ago

Another HTML4 transitional/HTML5 CSS difference.

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

Actions #3

Updated by Koen Deforche over 13 years ago

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

Hey Max,

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

Regards,

koen

Actions #4

Updated by Max Quatember over 13 years ago

Hi Koen!

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

Best regards,

Max

Actions #5

Updated by Koen Deforche over 13 years ago

  • Target version set to 3.1.10
Actions #6

Updated by Koen Deforche over 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF