| Summary: | [GTK] Contents not correctly laid out when the web view is not realized | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | berto, commit-queue, gustavo, mcatanzaro, mrobinson | ||||
| Priority: | P2 | Keywords: | Gtk | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Carlos Garcia Campos
2015-03-10 06:43:04 PDT
*** Bug 146798 has been marked as a duplicate of this bug. *** Created attachment 256571 [details]
Patch
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API Patch works great, thanks! Comment on attachment 256571 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256571&action=review > Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp:87 > + auto* drawingArea = static_cast<DrawingAreaProxyImpl*>(webkitWebViewBaseGetPage(WEBKIT_WEB_VIEW_BASE(m_viewWidget))->drawingArea()); Do we have a guarantee that webkitWebViewBaseGetPage never returns null? (If so, perhaps in the future it should return a reference rather than a pointer.) Committed r186761: <http://trac.webkit.org/changeset/186761> So far I've found this has fixed: * YouTube video pages * Images in Vox articles * Layout and images in CNN articles And no doubt many more. Also, it made anchor links work. |