Closed
Bug 764860
Opened 13 years ago
Closed 13 years ago
Simplify the clipPath code
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: jwatt, Assigned: jwatt)
Details
Attachments
(1 file, 3 obsolete files)
9.18 KB,
patch
|
longsonr
:
review+
|
Details | Diff | Splinter Review |
We can simplify the clipPath code by making it a lot clearer what we actually do when we have a trivial clipPath, and by killing off the unused SVGAutoRenderState::CLIP.
![]() |
Assignee | |
Comment 1•13 years ago
|
||
Attachment #633159 -
Flags: review?(longsonr)
Updated•13 years ago
|
Attachment #633159 -
Flags: review?(longsonr) → review+
Comment 2•13 years ago
|
||
Comment on attachment 633159 [details] [diff] [review]
patch
If we took this we'd fail:
masking-path-02-b.svg
masking-path-05-f.svg
masking-path-07-b.svg
masking-path-08-b.svg
masking-path-09-b.svg
from the SVG testsuite.
Attachment #633159 -
Flags: review+ → review-
Comment 3•13 years ago
|
||
Oh and the Firefox UI is now broken as the address bar has disappeared.
![]() |
Assignee | |
Comment 4•13 years ago
|
||
Yeah, I can't get rid of CLIP. New patch coming shortly.
Comment 5•13 years ago
|
||
If the original patch passes our existing reftests, we need more reftests.
![]() |
Assignee | |
Comment 6•13 years ago
|
||
No, it doesn't pass them.
Attachment #633159 -
Attachment is obsolete: true
Attachment #633168 -
Flags: review?(longsonr)
Comment 7•13 years ago
|
||
And this one does, as well as passing all the SVG testsuite masking-path tests and I get to keep the Firefox address bar ;-)
![]() |
Assignee | |
Comment 9•13 years ago
|
||
It does if I dereference aSingleChild properly when assigning to it.
Attachment #633168 -
Attachment is obsolete: true
Attachment #633168 -
Flags: review?(longsonr)
Attachment #633235 -
Flags: review?(longsonr)
![]() |
Assignee | |
Comment 10•13 years ago
|
||
![]() |
Assignee | |
Comment 11•13 years ago
|
||
Attachment #633235 -
Attachment is obsolete: true
Attachment #633235 -
Flags: review?(longsonr)
Attachment #633385 -
Flags: review?(longsonr)
![]() |
Assignee | |
Comment 12•13 years ago
|
||
I also locally added this for the NORMAL value:
/**
* Used to inform SVG frames that they should paint as normal.
*/
Comment 13•13 years ago
|
||
Comment on attachment 633385 [details] [diff] [review]
patch + comments documenting SVGAutoRenderState::RenderMode
r=longsonr provided you've checked the SVG testsuite and all the masking-path tests still pass
Attachment #633385 -
Flags: review?(longsonr) → review+
![]() |
Assignee | |
Comment 14•13 years ago
|
||
Target Milestone: --- → mozilla16
Comment 15•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•