RESOLVED FIXED 87465
&AElig doesn’t get rendered as U+00C6
https://bugs.webkit.org/show_bug.cgi?id=87465
Summary &AElig doesn’t get rendered as U+00C6
Mathias Bynens
Reported 2012-05-24 23:30:22 PDT
&Aelig doesn’t get rendered as U+00C6. Kinda weird, as the entry in Source/WebCore/html/parser/HTMLEntityNames.in looks alright: http://trac.webkit.org/browser/trunk/Source/WebCore/html/parser/HTMLEntityNames.in#L2 Minimal test case: data:text/html,foo%20%26AElig%20bar Up-to-date tests for named character references: http://mathias.html5.org/tests/named-character-references/ Spec: http://whatwg.org/html/named-character-references.html
Attachments
Patch (3.80 KB, patch)
2012-05-25 07:23 PDT, Peter Beverloo
no flags
Archive of layout-test-results from ec2-cr-linux-02 (624.21 KB, application/zip)
2012-05-25 07:51 PDT, WebKit Review Bot
no flags
Patch (4.40 KB, patch)
2012-05-25 08:01 PDT, Peter Beverloo
webkit.review.bot: commit-queue-
Patch (3.46 KB, patch)
2012-05-28 03:11 PDT, Peter Beverloo
no flags
Mathias Bynens
Comment 1 2012-05-25 04:41:53 PDT
(In reply to comment #0) > &Aelig doesn’t get rendered as U+00C6. Sorry, that should have said `&AElig`, not `&Aelig` (which isn’t a named character reference at all).
Peter Beverloo
Comment 2 2012-05-25 07:23:18 PDT
Peter Beverloo
Comment 3 2012-05-25 07:24:29 PDT
Adam, do the encoding artifacts in entity-table-first-alphabetic-entry-expected.txt matter? Alternatively I guess a reftest comparing &AElig to Æ (mind the semi-colon) would work here.
WebKit Review Bot
Comment 4 2012-05-25 07:51:18 PDT
Comment on attachment 144065 [details] Patch Attachment 144065 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/12795537 New failing tests: fast/parser/entity-table-first-alphabetic-entry.html
WebKit Review Bot
Comment 5 2012-05-25 07:51:33 PDT
Created attachment 144067 [details] Archive of layout-test-results from ec2-cr-linux-02 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-02 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Peter Beverloo
Comment 6 2012-05-25 08:01:25 PDT
WebKit Review Bot
Comment 7 2012-05-25 08:09:10 PDT
Comment on attachment 144068 [details] Patch Attachment 144068 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/12804502
Gustavo Noronha (kov)
Comment 8 2012-05-25 08:13:10 PDT
Early Warning System Bot
Comment 9 2012-05-25 08:22:22 PDT
Build Bot
Comment 10 2012-05-25 08:28:02 PDT
Early Warning System Bot
Comment 11 2012-05-25 08:34:38 PDT
Gyuyoung Kim
Comment 12 2012-05-25 08:42:01 PDT
Peter Beverloo
Comment 13 2012-05-25 08:47:30 PDT
Comment on attachment 144065 [details] Patch Ugh, empty lines aren't being appreciated :-). Let's stick with Patch 1 for now then. Any ideas on how to get the bots to regenerate the file?
Adam Barth
Comment 14 2012-05-25 16:00:32 PDT
Comment on attachment 144065 [details] Patch The code change looks fine. Please consider adding the test to http://trac.webkit.org/browser/trunk/LayoutTests/html5lib/resources/entities02.dat instead. Don't worry about the encoding problems. That's the fault of the review tool, not of the code we're testing.
Peter Beverloo
Comment 15 2012-05-28 03:11:42 PDT
Adam Barth
Comment 16 2012-05-28 03:12:44 PDT
Comment on attachment 144317 [details] Patch Looks great. Thanks!
Peter Beverloo
Comment 17 2012-05-28 03:13:33 PDT
Comment on attachment 144317 [details] Patch Thanks!
WebKit Review Bot
Comment 18 2012-05-28 03:23:59 PDT
Comment on attachment 144317 [details] Patch Clearing flags on attachment: 144317 Committed r118672: <http://trac.webkit.org/changeset/118672>
WebKit Review Bot
Comment 19 2012-05-28 03:24:05 PDT
All reviewed patches have been landed. Closing bug.
Chris Dumez
Comment 20 2012-05-28 03:59:32 PDT
This patch appears to have caused 2 failures on EFL and GTK ports: Regressions: Unexpected text diff mismatch : (2) fast/tokenizer/entities-01.html = TEXT fast/tokenizer/entities-03.html = TEXT The diff looks like: --- /home/buildslave-1/webkit-buildslave/efl-linux-64-debug/build/layout-test-results/fast/tokenizer/entities-03-expected.txt +++ /home/buildslave-1/webkit-buildslave/efl-linux-64-debug/build/layout-test-results/fast/tokenizer/entities-03-actual.txt @@ -1,4 +1 @@ -FAIL: - -AElig (was: &AElig, expected: Æ (\uc6)) - +PASS
Chris Dumez
Comment 21 2012-05-28 04:04:17 PDT
(In reply to comment #20) > This patch appears to have caused 2 failures on EFL and GTK ports: > > Regressions: Unexpected text diff mismatch : (2) > fast/tokenizer/entities-01.html = TEXT > fast/tokenizer/entities-03.html = TEXT > > The diff looks like: > --- /home/buildslave-1/webkit-buildslave/efl-linux-64-debug/build/layout-test-results/fast/tokenizer/entities-03-expected.txt > +++ /home/buildslave-1/webkit-buildslave/efl-linux-64-debug/build/layout-test-results/fast/tokenizer/entities-03-actual.txt > @@ -1,4 +1 @@ > -FAIL: > - > -AElig (was: &AElig, expected: Æ (\uc6)) > - > +PASS I think those tests just need new baselines now that the &Aelig bug was fixed.
Peter Beverloo
Comment 22 2012-05-28 04:06:25 PDT
(In reply to comment #20) > This patch appears to have caused 2 failures on EFL and GTK ports: > > Regressions: Unexpected text diff mismatch : (2) > fast/tokenizer/entities-01.html = TEXT > fast/tokenizer/entities-03.html = TEXT > > The diff looks like: > --- /home/buildslave-1/webkit-buildslave/efl-linux-64-debug/build/layout-test-results/fast/tokenizer/entities-03-expected.txt > +++ /home/buildslave-1/webkit-buildslave/efl-linux-64-debug/build/layout-test-results/fast/tokenizer/entities-03-actual.txt > @@ -1,4 +1 @@ > -FAIL: > - > -AElig (was: &AElig, expected: Æ (\uc6)) > - > +PASS Sorry for that! It seems like this patch actually fixed the bug, so a rebaseline of the test should be sufficient..
Chris Dumez
Comment 23 2012-05-28 04:09:01 PDT
Doing rebaseline in Bug 87648.
Note You need to log in before you can comment on or make changes to this bug.