WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
87465
Æ doesn’t get rendered as U+00C6
https://bugs.webkit.org/show_bug.cgi?id=87465
Summary
Æ 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
Details
Formatted Diff
Diff
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
Details
Patch
(4.40 KB, patch)
2012-05-25 08:01 PDT
,
Peter Beverloo
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
Patch
(3.46 KB, patch)
2012-05-28 03:11 PDT
,
Peter Beverloo
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
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 `Æ`, not `&Aelig` (which isn’t a named character reference at all).
Peter Beverloo
Comment 2
2012-05-25 07:23:18 PDT
Created
attachment 144065
[details]
Patch
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 Æ 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
Created
attachment 144068
[details]
Patch
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
Comment on
attachment 144068
[details]
Patch
Attachment 144068
[details]
did not pass gtk-ews (gtk): Output:
http://queues.webkit.org/results/12799555
Early Warning System Bot
Comment 9
2012-05-25 08:22:22 PDT
Comment on
attachment 144068
[details]
Patch
Attachment 144068
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/12803501
Build Bot
Comment 10
2012-05-25 08:28:02 PDT
Comment on
attachment 144068
[details]
Patch
Attachment 144068
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/12793489
Early Warning System Bot
Comment 11
2012-05-25 08:34:38 PDT
Comment on
attachment 144068
[details]
Patch
Attachment 144068
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/12801473
Gyuyoung Kim
Comment 12
2012-05-25 08:42:01 PDT
Comment on
attachment 144068
[details]
Patch
Attachment 144068
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/12807476
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
Created
attachment 144317
[details]
Patch
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: Æ, 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: Æ, 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: Æ, 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.
Top of Page
Format For Printing
XML
Clone This Bug