Closed Bug 1356950 Opened 8 years ago Closed 8 years ago

Move nsCSSBorderRenderer to nsCSSRenderingBorder.cpp/h

Categories

(Core :: Web Painting, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: u459114, Assigned: u459114)

Details

nsCSSRenderingBorder.cpp/h contains only nsCSSBorderImageRenderer. We probably should also move nsCSSBorderRenderer into nsCSSRenderingBorder.cpp/h. nsCSSBorderImageRenderer is used to draw eStyleImageType_Image, nsCSSBorderRenderer is used to draw eStyleImageType_Gradient and eStyleImageType_Element. Create a new nsCSSBorderRenderer which aggregate old nsCSSBorderRenderer and nsCSSBorderImageRenderer.
Previous comment is not totally correct: 1. nsCSSBorderRenderer is used to draw border-color 2. nsCSSBorderImageRenderer is used to draw border-image
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.