Title: [210556] trunk/Source/WebCore
- Revision
- 210556
- Author
- [email protected]
- Date
- 2017-01-10 12:12:18 -0800 (Tue, 10 Jan 2017)
Log Message
REGRESSION(r189555): ImageDocument title no longer includes the size of the image
https://bugs.webkit.org/show_bug.cgi?id=166876
<rdar://problem/29939970>
Reviewed by Ryosuke Niwa.
Add a code comment to clarify fix that was made in r210536.
* html/ImageDocument.cpp:
(WebCore::ImageDocument::createDocumentStructure):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (210555 => 210556)
--- trunk/Source/WebCore/ChangeLog 2017-01-10 20:09:21 UTC (rev 210555)
+++ trunk/Source/WebCore/ChangeLog 2017-01-10 20:12:18 UTC (rev 210556)
@@ -1,3 +1,16 @@
+2017-01-10 Chris Dumez <[email protected]>
+
+ REGRESSION(r189555): ImageDocument title no longer includes the size of the image
+ https://bugs.webkit.org/show_bug.cgi?id=166876
+ <rdar://problem/29939970>
+
+ Reviewed by Ryosuke Niwa.
+
+ Add a code comment to clarify fix that was made in r210536.
+
+ * html/ImageDocument.cpp:
+ (WebCore::ImageDocument::createDocumentStructure):
+
2017-01-10 Jer Noble <[email protected]>
Add support for MediaKeys.generateRequest().
Modified: trunk/Source/WebCore/html/ImageDocument.cpp (210555 => 210556)
--- trunk/Source/WebCore/html/ImageDocument.cpp 2017-01-10 20:09:21 UTC (rev 210555)
+++ trunk/Source/WebCore/html/ImageDocument.cpp 2017-01-10 20:12:18 UTC (rev 210556)
@@ -216,6 +216,7 @@
frame()->injectUserScripts(InjectAtDocumentStart);
+ // We need a <head> so that the call to setTitle() later on actually has an <head> to append to <title> to.
auto head = HTMLHeadElement::create(*this);
rootElement->appendChild(head);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes