Expand list of supported languages for RenderQuote to match WHATWG spec
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Aug 2012 00:38:19 +0000 (00:38 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Aug 2012 00:38:19 +0000 (00:38 +0000)
commit541fff8220288db1cbcf4575c7e0dc1cf09f413c
treeb78692925a102bfa034b42a9fab4c32bed8e5db7
parentb13ecd9d1b78141b87d3c3e27a6c800ef8ffcc94
Expand list of supported languages for RenderQuote to match WHATWG spec
https://bugs.webkit.org/show_bug.cgi?id=93424

Patch by Elliott Sprehn <esprehn@chromium.org> on 2012-08-13
Reviewed by Eric Seidel.

Source/WebCore:

Expand the table of quotes to include the 148 lang values and associated quotes
from the WHATWG web-apps recommended styling spec.

Test: fast/css-generated-content/quotes-lang-case-insensitive.html

* rendering/RenderQuote.cpp: Added missing copyright.
(WebCore::quotesDataLanguageMap): Expanded the table of quotes.
(WebCore::basicQuotesData): Added a FIXME to switch to using stylized "en" quotes.
* rendering/RenderQuote.h: Added missing copyright.

LayoutTests:

Update quote language test to include the 148 languages in the WHATWG web-apps
recommended styling table.
http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#quotes

Add a new test that ensures language matching for quotes is case insensitive.

* fast/css-generated-content/quotes-lang-case-insensitive-expected.html: Added.
* fast/css-generated-content/quotes-lang-case-insensitive.html: Added.
* fast/css-generated-content/quotes-lang-expected.html:
* fast/css-generated-content/quotes-lang.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@125476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css-generated-content/quotes-lang-case-insensitive-expected.html [new file with mode: 0644]
LayoutTests/fast/css-generated-content/quotes-lang-case-insensitive.html [new file with mode: 0644]
LayoutTests/fast/css-generated-content/quotes-lang-expected.html
LayoutTests/fast/css-generated-content/quotes-lang.html
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderQuote.cpp
Source/WebCore/rendering/RenderQuote.h