diff options
Diffstat (limited to 'WebCore')
-rw-r--r-- | WebCore/editing/SelectionController.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/editing/SelectionController.cpp b/WebCore/editing/SelectionController.cpp index 5b2d0d0..f78c219 100644 --- a/WebCore/editing/SelectionController.cpp +++ b/WebCore/editing/SelectionController.cpp @@ -1339,6 +1339,9 @@ void SelectionController::updateAppearance() } #endif + // We need to update style in case the node containing the selection is made display:none. + m_frame->document()->updateStyleIfNeeded(); + RenderView* view = m_frame->contentRenderer(); if (!view) return; |