Closed Bug 624301 Opened 9 years ago Closed 9 years ago
background-clip fails if border is solid and opaque
The background-clip property fails if the border on the element is solid and opaque (and wider than 0). It works fine with a translucent border (rgba()) or other border-style (e.g. dashed). The testcase is based on http://samples.msdn.microsoft.com/ietestcenter/css3/css_harness.htm?url=border-radius-clip-002 (it doesn't matter what the value for border-radius is)
Looks like an oversight in the background-color path from when clipping to content-box was added in bug 549809.
Assignee: nobody → bzbarsky
blocking2.0: --- → ?
Component: Graphics → Layout: View Rendering
Priority: -- → P1
QA Contact: thebes → layout.view-rendering
OS: Mac OS X → All
Hardware: x86 → All
Comment on attachment 502413 [details] [diff] [review] Only change background clip to padding-box for solid borders if it's border-box to start with. Er, right. r=dbaron
philippe, thank you for the clear testcase, by the way!
blocking2.0: ? → final+
Whiteboard: [need landing] → [need landing][softblocker]
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [need landing][softblocker] → [softblocker]
Target Milestone: --- → mozilla2.0b10
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.