Reviewed by John.
[WebKit-https.git] / WebKit / WebView.subproj / WebFrame.m
index 15f901de3b8724862489bfec054c35d0bb933529..a28198e3e99931220d4edc983bea0eb902497c44 100644 (file)
@@ -2534,6 +2534,9 @@ static CFAbsoluteTime _timeOfLastCompletedLoad;
     BOOL drawsBackground = [[self webView] drawsBackground];
     if (!drawsBackground)
         [[[self frameView] _scrollView] setDrawsBackground:NO];
+    id documentView = [[self frameView] documentView];
+    if ([documentView respondsToSelector:@selector(setDrawsBackground:)])
+        [documentView setDrawsBackground:drawsBackground];
     [[self _bridge] setDrawsBackground:drawsBackground];
     [_private->children makeObjectsPerformSelector:@selector(_updateDrawsBackground)];
 }