Title: [97676] trunk/Source/WebKit/efl
- Revision
- 97676
- Author
- commit-qu...@webkit.org
- Date
- 2011-10-17 16:54:56 -0700 (Mon, 17 Oct 2011)
Log Message
[EFL] Set a default charset when creating a view.
https://bugs.webkit.org/show_bug.cgi?id=69771
Patch by Raphael Kubo da Costa <k...@profusion.mobi> on 2011-10-17
Reviewed by Antonio Gomes.
Most (or all) ports default to iso-8859-1 when creating a view (or their
equivalent of a view), so we should do that too.
This makes fast/dom/Document/document-charset.html pass.
* ewk/ewk_view.cpp:
(_ewk_view_priv_new):
Modified Paths
Diff
Modified: trunk/Source/WebKit/efl/ChangeLog (97675 => 97676)
--- trunk/Source/WebKit/efl/ChangeLog 2011-10-17 23:54:41 UTC (rev 97675)
+++ trunk/Source/WebKit/efl/ChangeLog 2011-10-17 23:54:56 UTC (rev 97676)
@@ -1,3 +1,18 @@
+2011-10-17 Raphael Kubo da Costa <k...@profusion.mobi>
+
+ [EFL] Set a default charset when creating a view.
+ https://bugs.webkit.org/show_bug.cgi?id=69771
+
+ Reviewed by Antonio Gomes.
+
+ Most (or all) ports default to iso-8859-1 when creating a view (or their
+ equivalent of a view), so we should do that too.
+
+ This makes fast/dom/Document/document-charset.html pass.
+
+ * ewk/ewk_view.cpp:
+ (_ewk_view_priv_new):
+
2011-10-14 Mark Hahnenberg <mhahnenb...@apple.com>
Rename virtual put to putVirtual
Modified: trunk/Source/WebKit/efl/ewk/ewk_view.cpp (97675 => 97676)
--- trunk/Source/WebKit/efl/ewk/ewk_view.cpp 2011-10-17 23:54:41 UTC (rev 97675)
+++ trunk/Source/WebKit/efl/ewk/ewk_view.cpp 2011-10-17 23:54:56 UTC (rev 97676)
@@ -595,6 +595,7 @@
priv->viewport_arguments.userScalable = EINA_TRUE;
priv->page_settings->setLoadsImagesAutomatically(true);
+ priv->page_settings->setDefaultTextEncodingName("iso-8859-1");
priv->page_settings->setDefaultFixedFontSize(12);
priv->page_settings->setDefaultFontSize(16);
priv->page_settings->setSerifFontFamily("serif");
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes