[Webkit-unassigned] [Bug 139407] New: The CSS border-image property should not affect the layout or the size of the object
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 8 10:55:14 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=139407
Bug ID: 139407
Summary: The CSS border-image property should not affect the
layout or the size of the object
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
Created attachment 242830
--> https://bugs.webkit.org/attachment.cgi?id=242830&action=review
Test case
Open the following html in WebKit:
<html>
<head>
<style>
div {
height: 100px;
width: 100px;
}
div#intrinsic-size {
border-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100" height="100"><rect width="100" height="100" fill="lime"/></svg>') fill 0;
}
</style>
</head>
<body>
<div style="background: lime"></div>
<br>
<div id="intrinsic-size"></div>
</body>
</html>
Result: Two lime rectangles with the same size are drawn but they are not left aligned.
Expected: The border should not affect the layout or the size of the object.
NOTE: It is not related to SVG so the same behavior happens if a png with size 100 x 100 is specified instead of the SVG.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141208/4a9e4e1b/attachment-0002.html>
More information about the webkit-unassigned
mailing list