Changeset 19645 in webkit


Ignore:
Timestamp:
Feb 15, 2007 2:10:12 PM (17 years ago)
Author:
kdecker
Message:

Reviewed by Darin.

Fixed: <rdar://problem/4983883> Background of a .mov window should not be white

  • loader/PluginDocument.cpp: (WebCore::PluginTokenizer::createDocumentStructure): Set a background color of gray for full frame plug-ins, which makes it easier on the eyes. It's also the same gray that PDFKit uses, too.
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r19644 r19645  
     12007-02-15  Kevin Decker  <kdecker@apple.com>
     2
     3       Reviewed by Darin.
     4
     5       Fixed: <rdar://problem/4983883> Background of a .mov window should not be white
     6
     7       * loader/PluginDocument.cpp:
     8       (WebCore::PluginTokenizer::createDocumentStructure): Set a background color of gray
     9       for full frame plug-ins, which makes it easier on the eyes. It's also the same
     10       gray that PDFKit uses, too.
     11
    1122007-02-15  Mitz Pettel  <mitz@webkit.org>
    213
  • trunk/WebCore/WebCore.xcodeproj/project.pbxproj

    r19630 r19645  
    1115011150                        isa = PBXProject;
    1115111151                        buildConfigurationList = 149C284308902B11008A9EFC /* Build configuration list for PBXProject "WebCore" */;
     11152                        compatibilityVersion = "Xcode 2.4";
    1115211153                        hasScannedForEncodings = 1;
    1115311154                        knownRegions = (
     
    1116411165                        projectDirPath = "";
    1116511166                        projectRoot = "";
     11167                        shouldCheckCompatibility = 1;
    1116611168                        targets = (
    1116711169                                93F198A508245E59001E9ABC /* WebCore */,
  • trunk/WebCore/loader/PluginDocument.cpp

    r19042 r19645  
    7575    body->setAttribute(marginwidthAttr, "0");
    7676    body->setAttribute(marginheightAttr, "0");
    77        
     77    body->setAttribute(bgcolorAttr, "rgb(128,128,128)");
     78
    7879    rootElement->appendChild(body, ec);
    7980       
Note: See TracChangeset for help on using the changeset viewer.