[Webkit-unassigned] [Bug 127995] New: SVG with small height inside pixel sized div renders below div
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 31 08:43:29 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=127995
Summary: SVG with small height inside pixel sized div renders
below div
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: hugh.zhang at oracle.com
CC: zimmermann at kde.org
With the following SVG, the black rectangle should render inside the div with red border. It renders about 5 pixels below the div instead.
<div style="border: 1px solid red;width:100px;height:5px">
<svg>
<rect width="100" height="5" fill="black">
</svg>
</div>
The issue becomes less severe as div height increases, disappearing completely at around 14 to 15 pixels:
<div style="border: 1px solid red;width:100px;height:14px">
<svg>
<rect width="100" height="5" fill="black">
</svg>
</div>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list