Closed
Bug 764860
Opened 14 years ago
Closed 14 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•14 years ago
|
||
Attachment #633159 -
Flags: review?(longsonr)
Updated•14 years ago
|
Attachment #633159 -
Flags: review?(longsonr) → review+
Comment 2•14 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•14 years ago
|
||
Oh and the Firefox UI is now broken as the address bar has disappeared.
| Assignee | ||
Comment 4•14 years ago
|
||
Yeah, I can't get rid of CLIP. New patch coming shortly.
Comment 5•14 years ago
|
||
If the original patch passes our existing reftests, we need more reftests.
| Assignee | ||
Comment 6•14 years ago
|
||
No, it doesn't pass them.
Attachment #633159 -
Attachment is obsolete: true
Attachment #633168 -
Flags: review?(longsonr)
Comment 7•14 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•14 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•14 years ago
|
||
| Assignee | ||
Comment 11•14 years ago
|
||
Attachment #633235 -
Attachment is obsolete: true
Attachment #633235 -
Flags: review?(longsonr)
Attachment #633385 -
Flags: review?(longsonr)
| Assignee | ||
Comment 12•14 years ago
|
||
I also locally added this for the NORMAL value:
/**
* Used to inform SVG frames that they should paint as normal.
*/
Comment 13•14 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•14 years ago
|
||
Target Milestone: --- → mozilla16
Comment 15•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•