Closed
Bug 624301
Opened 15 years ago
Closed 15 years ago
background-clip fails if border is solid and opaque
Categories
(Core :: Web Painting, defect, P1)
Core
Web Painting
Tracking
()
RESOLVED
FIXED
mozilla2.0b10
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: phiw2, Assigned: bzbarsky)
References
Details
(Whiteboard: [softblocker])
Attachments
(2 files)
1.27 KB,
text/html
|
Details | |
3.54 KB,
patch
|
dbaron
:
review+
dbaron
:
approval2.0+
|
Details | Diff | Splinter Review |
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)
![]() |
Assignee | |
Comment 1•15 years ago
|
||
Looks like an oversight in the background-color path from when clipping to content-box was added in bug 549809.
Assignee: nobody → bzbarsky
Blocks: 549809
blocking2.0: --- → ?
Component: Graphics → Layout: View Rendering
Priority: -- → P1
QA Contact: thebes → layout.view-rendering
![]() |
Assignee | |
Comment 2•15 years ago
|
||
Attachment #502413 -
Flags: review?(dbaron)
![]() |
Assignee | |
Updated•15 years ago
|
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
Attachment #502413 -
Flags: review?(dbaron)
Attachment #502413 -
Flags: review+
Attachment #502413 -
Flags: approval2.0+
![]() |
Assignee | |
Updated•15 years ago
|
Whiteboard: [need landing]
![]() |
Assignee | |
Comment 4•15 years ago
|
||
philippe, thank you for the clear testcase, by the way!
blocking2.0: ? → final+
Whiteboard: [need landing] → [need landing][softblocker]
![]() |
Assignee | |
Comment 5•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [need landing][softblocker] → [softblocker]
Target Milestone: --- → mozilla2.0b10
Updated•7 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•