Title: [164201] trunk/Source/WebCore
- Revision
- 164201
- Author
- [email protected]
- Date
- 2014-02-16 19:11:41 -0800 (Sun, 16 Feb 2014)
Log Message
The FTP view is squished to the left
https://bugs.webkit.org/show_bug.cgi?id=128856
Patch by Benjamin Poulain <[email protected]> on 2014-02-16
Reviewed by Andreas Kling.
* html/FTPDirectoryDocument.cpp:
(WebCore::FTPDirectoryDocumentParser::createBasicDocument):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (164200 => 164201)
--- trunk/Source/WebCore/ChangeLog 2014-02-17 01:48:54 UTC (rev 164200)
+++ trunk/Source/WebCore/ChangeLog 2014-02-17 03:11:41 UTC (rev 164201)
@@ -1,3 +1,13 @@
+2014-02-16 Benjamin Poulain <[email protected]>
+
+ The FTP view is squished to the left
+ https://bugs.webkit.org/show_bug.cgi?id=128856
+
+ Reviewed by Andreas Kling.
+
+ * html/FTPDirectoryDocument.cpp:
+ (WebCore::FTPDirectoryDocumentParser::createBasicDocument):
+
2014-02-16 Jae Hyun Park <[email protected]>
[Coordinated Graphics] Make AreaAllocator fast allocated
Modified: trunk/Source/WebCore/html/FTPDirectoryDocument.cpp (164200 => 164201)
--- trunk/Source/WebCore/html/FTPDirectoryDocument.cpp 2014-02-17 01:48:54 UTC (rev 164200)
+++ trunk/Source/WebCore/html/FTPDirectoryDocument.cpp 2014-02-17 03:11:41 UTC (rev 164201)
@@ -338,8 +338,11 @@
RefPtr<Element> tableElement = document()->createElement(tableTag, false);
m_tableElement = toHTMLTableElement(tableElement.get());
m_tableElement->setAttribute(HTMLNames::idAttr, "ftpDirectoryTable");
+ m_tableElement->setAttribute(HTMLNames::styleAttr, "width:100%");
bodyElement->appendChild(m_tableElement, IGNORE_EXCEPTION);
+
+ document()->processViewport("width=device-width", ViewportArguments::ViewportMeta);
}
void FTPDirectoryDocumentParser::append(PassRefPtr<StringImpl> inputSource)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes