REGRESSION: Outlook 2007 doesn't display fonts correctly on emails composed by WebKit
authorbashi@chromium.org <bashi@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Mar 2012 19:47:44 +0000 (19:47 +0000)
committerbashi@chromium.org <bashi@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Mar 2012 19:47:44 +0000 (19:47 +0000)
commit0f84cc44bf2132c0a096f57f51803d3a5a460055
tree2141c488425a61addb8f5d06a3ea7fcdfebd51d7
parentcac1bdc55bc5e350b429d8032d1428f5b5eae539
REGRESSION: Outlook 2007 doesn't display fonts correctly on emails composed by WebKit
https://bugs.webkit.org/show_bug.cgi?id=79448

Reviewed by Ryosuke Niwa.

Source/WebCore:

Don't produce single quotes around face attribute of font elements.

Test: editing/style/font-face-unquote.html

* editing/EditingStyle.cpp:
(WebCore::StyleChange::extractTextStyles): Remove single quotes from m_applyFontFace.

LayoutTests:

Add a test that makes sure WebKit doesn't produce single quotes around
face attribute of font element.

* editing/style/font-face-unquote-expected.txt: Added.
* editing/style/font-face-unquote.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/style/font-face-unquote-expected.txt [new file with mode: 0644]
LayoutTests/editing/style/font-face-unquote.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/editing/EditingStyle.cpp