RESOLVED FIXED Bug 39232
WebKit/gtk/resources/error.html font-size error
https://bugs.webkit.org/show_bug.cgi?id=39232
Summary WebKit/gtk/resources/error.html font-size error
Landry Breuil
Reported 2010-05-17 13:17:34 PDT
Created attachment 56260 [details] Screenshot showing the error error.html is apparently passed through a filter expanding %X constructs, so the embedded css is outputted wrong for font-size. 120% becomes 120, 80% becomes 80, and the error message is huge. Apparently only affects epiphany to my knowledge, as other browsers seem to use their own 404 handling.
Attachments
Screenshot showing the error (26.14 KB, image/png)
2010-05-17 13:17 PDT, Landry Breuil
no flags
Screenshot showing the error (63.03 KB, image/png)
2010-05-17 13:18 PDT, Landry Breuil
no flags
proposed fix (316 bytes, patch)
2010-05-17 13:19 PDT, Landry Breuil
no flags
Screenshot showing the fix (26.14 KB, image/png)
2010-05-17 13:20 PDT, Landry Breuil
no flags
Double % so it doesnt get filtered out in error.html (1.10 KB, patch)
2012-03-14 13:21 PDT, Landry Breuil
pnormand: review-
Double % so it doesnt get filtered out in error.html (1.16 KB, patch)
2012-03-15 12:33 PDT, Landry Breuil
no flags
Landry Breuil
Comment 1 2010-05-17 13:18:24 PDT
Created attachment 56262 [details] Screenshot showing the error Oops, this shot is actually the one showing the error.
Landry Breuil
Comment 2 2010-05-17 13:19:56 PDT
Created attachment 56264 [details] proposed fix Lets' double the % so that font size gets rendered correctly.
Landry Breuil
Comment 3 2010-05-17 13:20:30 PDT
Created attachment 56265 [details] Screenshot showing the fix
Landry Breuil
Comment 4 2012-03-14 13:21:39 PDT
Created attachment 131909 [details] Double % so it doesnt get filtered out in error.html Let's retry.
Philippe Normand
Comment 5 2012-03-15 10:53:42 PDT
Comment on attachment 131909 [details] Double % so it doesnt get filtered out in error.html Thanks! Do you want the commit-queue to land the patch?
Philippe Normand
Comment 6 2012-03-15 11:14:20 PDT
Comment on attachment 131909 [details] Double % so it doesnt get filtered out in error.html View in context: https://bugs.webkit.org/attachment.cgi?id=131909&action=review > WebKit/gtk/ChangeLog:5 > + Fix font-size in the 404 error page. Apparently the % is filtered out, > + so 120% becomes 120 and the error message is huge. Experienced in epiphany. > + https://bugs.webkit.org/show_bug.cgi?id=39232 This should be 2 lines: bug title bug link The prepare-ChangeLog script can help with the entry generation if needed.
Philippe Normand
Comment 7 2012-03-15 11:15:21 PDT
(In reply to comment #6) > (From update of attachment 131909 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=131909&action=review > > > WebKit/gtk/ChangeLog:5 > > + Fix font-size in the 404 error page. Apparently the % is filtered out, > > + so 120% becomes 120 and the error message is huge. Experienced in epiphany. > > + https://bugs.webkit.org/show_bug.cgi?id=39232 > > This should be 2 lines: > > bug title > bug link > > The prepare-ChangeLog script can help with the entry generation if needed. And the fix description goes after the Reviewed by line :)
Landry Breuil
Comment 8 2012-03-15 12:33:19 PDT
Created attachment 132103 [details] Double % so it doesnt get filtered out in error.html Here you are... *sigh*
Martin Robinson
Comment 9 2012-03-15 14:19:51 PDT
Comment on attachment 132103 [details] Double % so it doesnt get filtered out in error.html Thank you! Sorry it took so long to review this patch.
WebKit Review Bot
Comment 10 2012-03-16 01:12:40 PDT
Comment on attachment 132103 [details] Double % so it doesnt get filtered out in error.html Rejecting attachment 132103 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: viewer', u'Martin Rob..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue/ Parsed 2 diffs from patch file(s). patching file WebKit/gtk/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file WebKit/gtk/resources/error.html Hunk #1 FAILED at 21. 1 out of 1 hunk FAILED -- saving rejects to file WebKit/gtk/resources/error.html.rej Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Martin Rob..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue/ Full output: http://queues.webkit.org/results/11967024
Martin Robinson
Comment 11 2012-03-16 09:41:01 PDT
Martin Robinson
Comment 12 2012-03-16 10:04:23 PDT
I'm not sure what's up with your patch. The file paths seems relative to the Source directory. I fixed it up and landed it, but in the future using Tools/Scripts/webkit-patch upload will take care of this for you. Thanks for your contribution!
Landry Breuil
Comment 13 2012-03-16 14:20:02 PDT
(In reply to comment #12) > I'm not sure what's up with your patch. The file paths seems relative to the Source directory. I fixed it up and landed it, but in the future using Tools/Scripts/webkit-patch upload will take care of this for you. Thanks for your contribution! Well... it's a vcs, i used a vcs tool, named svn diff :) You guys use so many wrapper scripts (prepare-Changelog, now webkit-patch...), it makes the entry bar rather high for contribution... oh well, thanks for commiting it, i'll know it for the other patches i have to report :)
Note You need to log in before you can comment on or make changes to this bug.