RESOLVED FIXED 83988
Remove contextStyleSheet argument from CSSValuePool::createFontFaceValue()
https://bugs.webkit.org/show_bug.cgi?id=83988
Summary Remove contextStyleSheet argument from CSSValuePool::createFontFaceValue()
Antti Koivisto
Reported 2012-04-14 15:33:39 PDT
CSSValuePool::createFontFaceValue() takes context stylesheet as argument. This was ok when the pool was per-document but with global pool it can lead to font faces with relative URLs getting wrong base URL.
Attachments
Pretty much a patch (5.44 KB, patch)
2012-04-16 16:01 PDT, Andreas Kling
no flags
Antti Koivisto
Comment 1 2012-04-14 15:34:38 PDT
Andreas Kling
Comment 2 2012-04-16 15:44:54 PDT
There's no real bug here (yet) since CSSValuePool::createFontFaceValue() never ends up parsing a URL value. However we should still remove the contextStyleSheet argument as we can get away without it.
Antti Koivisto
Comment 3 2012-04-16 15:47:46 PDT
Retitled
Andreas Kling
Comment 4 2012-04-16 15:59:25 PDT
(In reply to comment #3) > Retitled I was trying to save you some face bro. Now everyone knows your assessment was partially incorrect :(
Andreas Kling
Comment 5 2012-04-16 16:01:26 PDT
Created attachment 137422 [details] Pretty much a patch
WebKit Review Bot
Comment 6 2012-04-16 17:28:27 PDT
Comment on attachment 137422 [details] Pretty much a patch Clearing flags on attachment: 137422 Committed r114325: <http://trac.webkit.org/changeset/114325>
WebKit Review Bot
Comment 7 2012-04-16 17:28:32 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.