Commit d5fe9343 authored by charles.wei@torchmobile.com.cn's avatar charles.wei@torchmobile.com.cn
Browse files

Wrong seperator for viewport meta in Popup scripts

https://bugs.webkit.org/show_bug.cgi?id=97313

Reviewed by Yong Li.

The valid seperator for viewport meta is ',' instead of ';'.

* WebCoreSupport/PagePopupBlackBerry.cpp:
(WebCore::PagePopupBlackBerry::generateHTML):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7c43bda8
2012-09-21 Charles Wei <charles.wei@torchmobile.com.cn>
Wrong seperator for viewport meta in Popup scripts
https://bugs.webkit.org/show_bug.cgi?id=97313
Reviewed by Yong Li.
The valid seperator for viewport meta is ',' instead of ';'.
* WebCoreSupport/PagePopupBlackBerry.cpp:
(WebCore::PagePopupBlackBerry::generateHTML):
2012-09-21 Arvid Nilsson <anilsson@rim.com>
[BlackBerry] Remove obsolete compositing surface code
......
......@@ -86,7 +86,7 @@ void PagePopupBlackBerry::generateHTML(WebPage* webpage)
int screenWidth = webpage->d->screenSize().width() - PADDING;
source.appendLiteral("<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n");
source.append("<meta name=\"viewport\" content=\"width=" + String::number(screenWidth));
source.appendLiteral("; user-scalable=no\" />\n");
source.appendLiteral(", user-scalable=no\" />\n");
writer->addData(source.toString().utf8().data(), source.toString().utf8().length());
m_client->writeDocument(*writer);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment