WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
14863
RenderObject.cpp->drawBorder
https://bugs.webkit.org/show_bug.cgi?id=14863
Summary
RenderObject.cpp->drawBorder
wangwei
Reported
2007-08-02 08:04:54 PDT
in RenderObject.cpp line 962: if (adjbw1 == 0 && adjbw2 == 0) { graphicsContext->save(); // ADD graphicsContext->setStrokeStyle(NoStroke); // Problem ?? graphicsContext->setFillColor(c); line 980(979): } graphicsContext->restore(); // ADD line 1078(1076): case SOLID: { graphicsContext->save(); // ADD graphicsContext->setStrokeStyle(NoStroke); // Problem ?? graphicsContext->setFillColor(c); line 1084(1081): graphicsContext->restore(); return;// ADD line 1115(1111): graphicsContext->drawConvexPolygon(4, quad); graphicsContext->restore(); // ADD break; Error in GraphicsContextCairo.cpp void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) { if (paintingDisabled()) return; StrokeStyle style = strokeStyle(); if (style == NoStroke) // ============here===== return; called from drawLineForText (for link??)
Attachments
Patch for RenderObject.cpp
(1.79 KB, patch)
2007-08-02 10:07 PDT
,
David Kilzer (:ddkilzer)
hyatt
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2007-08-02 09:07:13 PDT
I was unable to understand your bug report at all. If you have a specific issue to report, please provide a description of the problem you are seeing. If you are submitting a code change, please submit it as a patch. See <
http://webkit.org/coding/contributing.html
> for information about how to do this.
David Kilzer (:ddkilzer)
Comment 2
2007-08-02 10:05:32 PDT
(In reply to
comment #1
)
> I was unable to understand your bug report at all. If you have a specific > issue to report, please provide a description of the problem you are seeing. > If you are submitting a code change, please submit it as a patch. See > <
http://webkit.org/coding/contributing.html
> for information about how to do > this.
The first part (RenderObject.cpp ) is a patch. I don't understand the changes for the second part (GraphicsContextCairo.cpp).
David Kilzer (:ddkilzer)
Comment 3
2007-08-02 10:07:52 PDT
Created
attachment 15808
[details]
Patch for RenderObject.cpp Converted the changes to RenderObject.cpp in
Comment #0
into a patch.
Dave Hyatt
Comment 4
2007-08-02 13:07:44 PDT
Comment on
attachment 15808
[details]
Patch for RenderObject.cpp I don't see why save/restore are necessary here.
David Kilzer (:ddkilzer)
Comment 5
2007-08-03 04:50:22 PDT
Closing bug again. Wang, please reopen it if you feel there is still an issue with an explanation or a patch. Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug