WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
15431
SVGRenderStyle should store pre-modified resource URIs
https://bugs.webkit.org/show_bug.cgi?id=15431
Summary
SVGRenderStyle should store pre-modified resource URIs
Eric Seidel (no email)
Reported
2007-10-08 17:50:31 PDT
SVGRenderStyle should store pre-modified resource URIs We have this code all over the place: getFilterById(document(), SVGURIReference::getTarget(style()->svgStyle()->filter())); And some other variations as well (manually doing what getTarget does). Instead, the SVGRenderStyle should store *just* the anchor as an id, or the full url. HTML does something similar. This could be done as a CSSValue, I think. That way we don't have to do lots of string manipulations every time we layout or paint SVG render objects (these string manipulations have shown up in samples in the past).
Attachments
First attempt
(220.15 KB, patch)
2008-07-06 12:56 PDT
,
Rob Buis
eric
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Rob Buis
Comment 1
2008-07-06 12:56:44 PDT
Created
attachment 22114
[details]
First attempt This moves the getTarget call to the style selector, unfortunately it changes a lot of testcase text results. Cheers, Rob.
Eric Seidel (no email)
Comment 2
2008-07-06 18:53:38 PDT
Comment on
attachment 22114
[details]
First attempt Will this break external references?
Rob Buis
Comment 3
2008-07-08 00:16:00 PDT
Hi Eric, (In reply to
comment #2
)
> (From update of
attachment 22114
[details]
[edit]) > Will this break external references?
Do you mean external references for tref and use? This has not landed yet and these are not stored in (SVG)RenderStyle. Cheers, Rob.
Eric Seidel (no email)
Comment 4
2008-07-09 13:10:41 PDT
Comment on
attachment 22114
[details]
First attempt This is fine. We'll eventually have to come up with a solution for external references.
Rob Buis
Comment 5
2008-07-10 00:07:02 PDT
Fixed by
r35072
.
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