Commit 66b81bcb authored by timothy@apple.com's avatar timothy@apple.com

Update the view source CSS to better match the new Inspector mock-ups.

Reviewed by Kevin McCullough.

* css/view-source.css:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33395 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a67a0078
2008-05-13 Timothy Hatcher <timothy@apple.com>
Update the view source CSS to better match the new Inspector mock-ups.
Reviewed by Kevin McCullough.
* css/view-source.css:
2008-05-13 John Sullivan <sullivan@apple.com>
Reviewed by Dan Bernstein and Kevin Decker
......@@ -162,602 +170,6 @@
saw fit. The important part is the removal of the WarnAsError="false"
lines.
2008-05-12 Adam Roben <aroben@apple.com>
Fix a MSVC warning in PluginViewWin
Reviewed by Anders Carlsson.
Test: http/tests/plugins/post-url-file.html
* plugins/win/PluginViewWin.cpp:
(WebCore::PluginView::handlePostReadFile): Added a missing return
statement.
2008-05-12 Adam Roben <aroben@apple.com>
Fix a MSVC warning in GetEOTHeader
Reviewed by Dan Bernstein.
* platform/graphics/win/GetEOTHeader.cpp:
(WebCore::getEOTHeader): MSVC complains that having a 0-sized array in
a struct is a non-standard extension. I've replaced the 0-sized arrays
with arrays of 1 element, and replaced sizeof(structType) with
offsetof(structType, arrayMember).
2008-05-09 Adam Roben <aroben@apple.com>
Fix a MSVC warning in TextCodecICU
Reviewed by John Sullivan and Dan Bernstein.
* platform/text/TextCodecICU.cpp:
(WebCore::ErrorCallbackSetter::~ErrorCallbackSetter):
UCNV_SUB_STOP_ON_ILLEGAL is a string literal, so using == with it
doesn't really do what we want. Use strcmp instead. It's OK to pass an
unknown value to strcmp here since 1) UCNV_SUB_STOP_ON_ILLEGAL is only
a single character long so we're not going to ready more than 2 bytes
from oldContext, and 2) we're inside an ASSERT which will cause a
crash anyway if it fails.
2008-05-09 Adam Roben <aroben@apple.com>
Fix a MSVC warning in CSSComputedStyleDeclaration
Reviewed by Geoff Garen.
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::valueForRepeatRule): Removed some unreachable code.
2008-05-09 Adam Roben <aroben@apple.com>
Fix a MSVC warning in InlineTextBox
Reviewed by Dan Bernstein.
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::paint): Initialize some variables that MSVC
isn't smart enough to figure out will always be initialized in the
cases where they are used.
2008-05-09 Adam Roben <aroben@apple.com>
Fix a MSVC warning in Position
Reviewed by Darin Adler.
* dom/Position.cpp:
(WebCore::Position::getInlineBoxAndOffset): Use parentheses to make
the precedence of our expressions explicit.
2008-05-09 Adam Roben <aroben@apple.com>
Fix a MSVC warning in String
Reviewed by Geoff Garen.
* platform/text/String.cpp:
(WebCore::toIntegralType): Disable a bogus warning about using unary -
on an unsigned value. MSVC isn't smart enough to figure out that
isNegative will always be false when value is unsigned.
2008-05-09 Adam Roben <aroben@apple.com>
Fix a MSVC warning in XMLHttpRequest
Reviewed by Geoff Garen.
* xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::XMLHttpRequest): Added static_cast<unsigned
long>.
2008-05-12 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
Handle the case when a resource with the same URL as the manifest is listed in the manifest.
* loader/appcache/ApplicationCacheGroup.cpp:
(WebCore::ApplicationCacheGroup::addEntry):
2008-05-12 Sam Weinig <sam@webkit.org>
Reviewed by Dan Bernstein.
Add parsing of AccessControlHeader and AccessItemRule.
* xml/AccessControlList.cpp:
(WebCore::AccessControlList::parseAccessControlHeader): When multiple http headers are sent
in the response, the engine will concatenate them with commas separating the rules. This simply
reverses that process by splitting on the commas.
(WebCore::AccessControlList::show):
* xml/AccessControlList.h:
* xml/AccessItem.cpp:
(WebCore::AccessItem::AccessItem):
(WebCore::AccessItem::show):
* xml/AccessItem.h:
(WebCore::AccessItem::isValid):
* xml/AccessItemRule.cpp:
(WebCore::skipLWS):
(WebCore::AccessItemRule::parseAccessItemRule): Parse the rule according to the BNF provided by
the Access Control spec.
(WebCore::AccessItemRule::parsePatternList):
(WebCore::AccessItemRule::invalidate):
(WebCore::AccessItemRule::show):
* xml/AccessItemRule.h:
2008-05-12 David Kilzer <ddkilzer@apple.com>
Fix logic error in DocLoader::clearPreloads()
Reviewed by Antti.
* loader/DocLoader.cpp:
(WebCore::DocLoader::clearPreloads): Be sure to decrease the preload count for
the cached resource before trying to remove it from the cache. A non-zero
preload count can prevent the resource from being removed from the cache.
2008-05-12 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
Handle empty manifest files without crashing.
* loader/appcache/ApplicationCacheGroup.cpp:
(WebCore::ApplicationCacheGroup::startLoadingEntry):
2008-05-12 Alp Toker <alp@nuanti.com>
GTK+ build fix for breakage in r33056. Include limits.h for INT_MAX.
* platform/graphics/FontCache.h:
2008-05-12 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
Add user agent to requests when loading/updating the cache.
* loader/FrameLoader.h:
* loader/appcache/ApplicationCacheGroup.cpp:
(WebCore::ApplicationCacheGroup::update):
(WebCore::ApplicationCacheGroup::startLoadingEntry):
2008-05-12 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
Make it possible to perform synchronous loads from the application cache.
* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::shouldLoadResourceFromApplicationCache):
Factor out code from scheduleApplicationCacheLoad in its own method.
(WebCore::DocumentLoader::scheduleApplicationCacheLoad):
Call shouldLoadResourceFromApplicationCache here instead.
* loader/DocumentLoader.h:
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::loadResourceSynchronously):
Call shouldLoadResourceFromApplicationCache.
2008-05-12 Dan Bernstein <mitz@apple.com>
Reviewed by Ada Chan and Sam Weinig.
- WebCore changes for https://bugs.webkit.org/show_bug.cgi?id=17097
<rdar://problem/5715471> CGFontRefs (and HFONTs on Windows) leak because FontCache grows without bound
Added a way for clients to let the cache know that they no longer need
font data, which lets the cache release it. Changed clients to track
most of the font data they get from the cache so that they can later
release it. Some instances of font data -- namely, those used for system
font fallback -- are still not tracked and will therefore remain in the
cache indefinitely.
* WebCore.base.exp: Added exports for WebCoreStatistics in WebKit.
* platform/graphics/Font.cpp:
(WebCore::Font::Font): Changed to use FontFallbackList::create().
(WebCore::Font::update): Ditto.
* platform/graphics/FontCache.cpp:
(WebCore::FontCache::getCachedFontData): Added code to track the number
of times a SimpleFontData instance has been requested from the cache,
remove requested instances from the inactive list, and purge inactive
font data if the inactive list has grown above its maximum allowed size.
(WebCore::FontCache::releaseFontData): Added. Called by clients to let
the cache know that they no longer need the font data. Adds the font
data to the inactive list if the last client has released it.
(WebCore::FontCache::purgeInactiveFontData): Added. Removes inactive
font data from the cache (and the inactive list).
(WebCore::FontCache::fontDataCount): Added to provide statistics.
(WebCore::FontCache::inactiveFontDataCount): Ditto.
* platform/graphics/FontCache.h:
* platform/graphics/FontData.h:
(WebCore::FontData::FontData): Added a member variable to store the
highest glyph page tree level in which there is a node for this FontData.
This is used to limit the depth of the search when pruning glyph page
trees.
(WebCore::FontData::setMaxGlyphPageTreeLevel): Added this accessor.
(WebCore::FontData::maxGlyphPageTreeLevel): Ditto.
* platform/graphics/FontFallbackList.cpp:
(WebCore::FontFallbackList::FontFallbackList): Changed to start with a
refcount of 1.
(WebCore::FontFallbackList::invalidate): Added a call to
releaseFontData().
(WebCore::FontFallbackList::releaseFontData): Added. Lets the font cache
know that we no longer need the FontData in our font list.
(WebCore::FontFallbackList::fontDataAt): Changed to record in the font
list whether the font data is a custom font data or not.
(WebCore::FontFallbackList::setPlatformFont): Ditto.
* platform/graphics/FontFallbackList.h:
(WebCore::FontFallbackList::create): Added and made the constructor
private.
(WebCore::FontFallbackList::~FontFallbackList): Added a call to
releaseFontData().
* platform/graphics/GlyphPageTreeNode.cpp:
(WebCore::GlyphPageTreeNode::treeGlyphPageCount): Added to provide
statistics.
(WebCore::GlyphPageTreeNode::pageCount): Ditto.
(WebCore::GlyphPageTreeNode::pruneTreeFontData): Added.
(WebCore::GlyphPageTreeNode::getChild): Added code to update the font
data's maximum glyph page tree level.
(WebCore::GlyphPageTreeNode::pruneFontData): Added.
* platform/graphics/GlyphPageTreeNode.h:
* platform/graphics/SimpleFontData.cpp:
(WebCore::SimpleFontData::~SimpleFontData): Added code to let the font
cache know that we no longer need the small caps font data and to prune
the glyph page trees.
2008-05-12 Anders Carlsson <andersca@apple.com>
Reviewed by Alexey.
Add ApplicationCacheStorage::empty() method which will empty
the application cache database.
* WebCore.base.exp:
* loader/appcache/ApplicationCache.cpp:
(WebCore::ApplicationCache::clearStorageID):
* loader/appcache/ApplicationCache.h:
* loader/appcache/ApplicationCacheGroup.cpp:
(WebCore::ApplicationCacheGroup::clearStorageID):
* loader/appcache/ApplicationCacheGroup.h:
* loader/appcache/ApplicationCacheResource.h:
(WebCore::ApplicationCacheResource::clearStorageID):
* loader/appcache/ApplicationCacheStorage.cpp:
(WebCore::ApplicationCacheStorage::empty):
* loader/appcache/ApplicationCacheStorage.h:
2008-05-12 Anders Carlsson <andersca@apple.com>
Reviewed by John.
Don't throw an exception if the string passed in is an invalid URL.
* loader/appcache/DOMApplicationCache.cpp:
(WebCore::DOMApplicationCache::remove):
2008-05-12 Anders Carlsson <andersca@apple.com>
Reviewed by Mitz.
Add the variable enums for getting the input vtables.
* bridge/npapi.h:
2008-05-12 Adam Roben <aroben@apple.com>
Windows build fix
* WebCorePrefix.cpp: Touched this so that it will rebuild now that
ENABLE_CROSS_DOCUMENT_MESSAGING has been removed.
2008-05-12 Alexey Proskuryakov <ap@webkit.org>
Roll out recent threading changes (r32807, r32810, r32819, r32822) to simplify
SquirrelFish merging.
* bindings/js/GCController.cpp:
(WebCore::collect):
(WebCore::GCController::gcTimerFired):
(WebCore::GCController::garbageCollectNow):
* bindings/js/JSAudioConstructor.cpp:
(WebCore::JSAudioConstructor::JSAudioConstructor):
* bindings/js/JSCSSRuleCustom.cpp:
(WebCore::toJS):
* bindings/js/JSCSSStyleDeclarationCustom.cpp:
(WebCore::JSCSSStyleDeclaration::nameGetter):
* bindings/js/JSCSSValueCustom.cpp:
(WebCore::toJS):
* bindings/js/JSCanvasPixelArrayCustom.cpp:
(WebCore::JSCanvasPixelArray::indexGetter):
(WebCore::toJS):
* bindings/js/JSCanvasRenderingContext2DCustom.cpp:
(WebCore::toJS):
* bindings/js/JSClipboardCustom.cpp:
(WebCore::JSClipboard::types):
(WebCore::JSClipboard::getData):
* bindings/js/JSCustomXPathNSResolver.cpp:
(WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
* bindings/js/JSDOMApplicationCacheCustom.cpp:
(WebCore::JSDOMApplicationCache::addEventListener):
(WebCore::JSDOMApplicationCache::removeEventListener):
(WebCore::JSDOMApplicationCache::setOnchecking):
(WebCore::JSDOMApplicationCache::setOnerror):
(WebCore::JSDOMApplicationCache::setOnnoupdate):
(WebCore::JSDOMApplicationCache::setOndownloading):
(WebCore::JSDOMApplicationCache::setOnprogress):
(WebCore::JSDOMApplicationCache::setOnupdateready):
(WebCore::JSDOMApplicationCache::setOncached):
* bindings/js/JSDOMWindowBase.cpp:
(WebCore::JSDOMWindowBase::JSDOMWindowBase):
(WebCore::JSDOMWindowBase::getValueProperty):
(WebCore::JSDOMWindowBase::setListener):
(WebCore::JSDOMWindowBase::findOrCreateJSEventListener):
(WebCore::JSDOMWindowBase::findJSUnprotectedEventListener):
(WebCore::JSDOMWindowBase::findOrCreateJSUnprotectedEventListener):
(WebCore::windowProtoFuncAToB):
(WebCore::windowProtoFuncBToA):
(WebCore::windowProtoFuncSetTimeout):
(WebCore::windowProtoFuncSetInterval):
(WebCore::windowProtoFuncAddEventListener):
* bindings/js/JSDOMWindowBase.h:
* bindings/js/JSDOMWindowShell.cpp:
* bindings/js/JSDOMWindowShell.h:
* bindings/js/JSDocumentCustom.cpp:
(WebCore::toJS):
* bindings/js/JSEventCustom.cpp:
(WebCore::toJS):
* bindings/js/JSEventTargetBase.cpp:
(WebCore::jsEventTargetAddEventListener):
* bindings/js/JSEventTargetBase.h:
(WebCore::JSEventTargetPrototype::self):
* bindings/js/JSEventTargetNode.cpp:
(WebCore::JSEventTargetNode::setListener):
* bindings/js/JSHTMLCollectionCustom.cpp:
(WebCore::getNamedItems):
(WebCore::toJS):
* bindings/js/JSHTMLElementWrapperFactory.cpp:
(WebCore::createJSHTMLWrapper):
* bindings/js/JSHTMLFormElementCustom.cpp:
(WebCore::JSHTMLFormElement::nameGetter):
* bindings/js/JSHTMLInputElementBase.cpp:
(WebCore::JSHTMLInputElementBase::getValueProperty):
* bindings/js/JSHTMLOptionElementConstructor.cpp:
(WebCore::JSHTMLOptionElementConstructor::JSHTMLOptionElementConstructor):
* bindings/js/JSHTMLOptionsCollectionCustom.cpp:
(WebCore::JSHTMLOptionsCollection::length):
* bindings/js/JSInspectedObjectWrapper.cpp:
(WebCore::JSInspectedObjectWrapper::wrap):
* bindings/js/JSInspectorCallbackWrapper.cpp:
(WebCore::JSInspectorCallbackWrapper::wrap):
* bindings/js/JSLocationCustom.cpp:
(WebCore::JSLocation::toString):
* bindings/js/JSNamedNodesCollection.cpp:
(WebCore::JSNamedNodesCollection::lengthGetter):
* bindings/js/JSNavigatorCustom.cpp:
(WebCore::JSNavigator::appVersion):
* bindings/js/JSNodeCustom.cpp:
(WebCore::toJS):
* bindings/js/JSNodeFilterCustom.cpp:
(WebCore::JSNodeFilter::acceptNode):
* bindings/js/JSRGBColor.cpp:
(WebCore::getJSRGBColor):
* bindings/js/JSSQLResultSetRowListCustom.cpp:
(WebCore::JSSQLResultSetRowList::item):
* bindings/js/JSSVGElementWrapperFactory.cpp:
(WebCore::createJSSVGWrapper):
* bindings/js/JSSVGLazyEventListener.cpp:
(WebCore::JSSVGLazyEventListener::eventParameterName):
* bindings/js/JSStorageCustom.cpp:
(WebCore::JSStorage::nameGetter):
* bindings/js/JSStyleSheetCustom.cpp:
(WebCore::toJS):
* bindings/js/JSXMLHttpRequestConstructor.cpp:
(WebCore::JSXMLHttpRequestConstructor::construct):
* bindings/js/JSXMLHttpRequestCustom.cpp:
(WebCore::JSXMLHttpRequest::setOnreadystatechange):
(WebCore::JSXMLHttpRequest::setOnload):
(WebCore::JSXMLHttpRequest::setOnprogress):
(WebCore::JSXMLHttpRequest::getResponseHeader):
(WebCore::JSXMLHttpRequest::addEventListener):
(WebCore::JSXMLHttpRequest::removeEventListener):
* bindings/js/JSXSLTProcessorConstructor.cpp:
(WebCore::JSXSLTProcessorConstructor::construct):
* bindings/js/JSXSLTProcessorCustom.cpp:
(WebCore::JSXSLTProcessor::getParameter):
* bindings/js/kjs_binding.cpp:
(WebCore::jsStringOrNull):
(WebCore::jsOwnedStringOrNull):
(WebCore::jsStringOrUndefined):
(WebCore::jsStringOrFalse):
(WebCore::nonCachingStaticFunctionGetter):
(WebCore::objectToStringFunctionGetter):
* bindings/js/kjs_binding.h:
(WebCore::DOMObject::DOMObject):
(WebCore::cacheDOMObject):
(WebCore::cacheSVGDOMObject):
* bindings/js/kjs_events.cpp:
(WebCore::JSLazyEventListener::eventParameterName):
(WebCore::JSLazyEventListener::parseCode):
* bindings/js/kjs_html.cpp:
(WebCore::getRuntimeObject):
* bindings/scripts/CodeGeneratorJS.pm:
* bridge/c/c_instance.cpp:
(KJS::Bindings::CInstance::defaultValue):
(KJS::Bindings::CInstance::stringValue):
(KJS::Bindings::CInstance::numberValue):
(KJS::Bindings::CInstance::valueOf):
* bridge/c/c_instance.h:
* bridge/c/c_utility.cpp:
(KJS::Bindings::convertNPVariantToValue):
* bridge/jni/jni_instance.cpp:
(JavaInstance::stringValue):
(JavaInstance::numberValue):
(JavaInstance::invokeMethod):
(JavaInstance::defaultValue):
(JavaInstance::valueOf):
* bridge/jni/jni_instance.h:
* bridge/jni/jni_jsobject.h:
* bridge/jni/jni_jsobject.mm:
(JavaJSObject::call):
(JavaJSObject::setMember):
(JavaJSObject::setSlot):
(JavaJSObject::convertJObjectToValue):
(JavaJSObject::getListFromJArray):
* bridge/jni/jni_objc.mm:
(KJS::Bindings::dispatchJNICall):
* bridge/jni/jni_runtime.cpp:
(JavaArray::convertJObjectToArray):
(JavaField::dispatchValueFromInstance):
(JavaField::valueFromInstance):
(JavaField::dispatchSetValueToInstance):
(JavaArray::valueAt):
* bridge/jni/jni_utility.h:
* bridge/objc/objc_class.mm:
(KJS::Bindings::ObjcClass::fallbackObject):
* bridge/objc/objc_instance.h:
* bridge/objc/objc_instance.mm:
(ObjcInstance::defaultValue):
(ObjcInstance::stringValue):
(ObjcInstance::numberValue):
(ObjcInstance::valueOf):
* bridge/objc/objc_utility.h:
* bridge/objc/objc_utility.mm:
(KJS::Bindings::convertNSStringToString):
(KJS::Bindings::convertObjcValueToValue):
* bridge/qt/qt_class.cpp:
(KJS::Bindings::QtClass::fallbackObject):
* bridge/qt/qt_instance.cpp:
(KJS::Bindings::QtRuntimeObjectImp::construct):
(KJS::Bindings::QtInstance::getRuntimeObject):
(KJS::Bindings::QtInstance::invokeDefaultMethod):
(KJS::Bindings::QtInstance::defaultValue):
(KJS::Bindings::QtInstance::stringValue):
(KJS::Bindings::QtInstance::numberValue):
(KJS::Bindings::QtInstance::valueOf):
* bridge/qt/qt_instance.h:
* bridge/qt/qt_runtime.cpp:
(KJS::Bindings::convertValueToQVariant):
(KJS::Bindings::convertQVariantToValue):
(KJS::Bindings::QtRuntimeMetaMethod::lengthGetter):
(KJS::Bindings::QtRuntimeMetaMethod::connectGetter):
(KJS::Bindings::QtRuntimeMetaMethod::disconnectGetter):
(KJS::Bindings::QtRuntimeConnectionMethod::lengthGetter):
(KJS::Bindings::QtConnectionObject::execute):
* bridge/runtime.cpp:
(KJS::Bindings::Instance::createRuntimeObject):
* bridge/runtime.h:
(KJS::Bindings::Instance::valueOf):
* bridge/runtime_array.cpp:
(RuntimeArray::lengthGetter):
* bridge/runtime_method.cpp:
(RuntimeMethod::lengthGetter):
* bridge/runtime_object.cpp:
(RuntimeObjectImp::RuntimeObjectImp):
(RuntimeObjectImp::methodGetter):
(RuntimeObjectImp::defaultValue):
* xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::dropProtection):
2008-05-11 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Since wx popup menus dismiss themselves when an item is selected we need to
call hidePopup so webkit's internal state is correct.
https://bugs.webkit.org/show_bug.cgi?id=19000
* platform/wx/PopupMenuWx.cpp:
(WebCore::PopupMenu::OnMenuItemSelected):
(WebCore::PopupMenu::hide):
2008-05-11 Sam Weinig <sam@webkit.org>
Reviewed by Mark Rowe.
Move some generic parsing functions into a new ParserUtilities header so that
they can be used for non-SVG builds too.
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* platform/text/ParserUtilities.h: Added.
(WebCore::skipString):
* svg/SVGParserUtilities.h:
(WebCore::isWhitespace):
(WebCore::skipOptionalSpaces):
(WebCore::skipOptionalSpacesOrDelimiter):
2008-05-11 Sam Weinig <sam@webkit.org>
Reviewed by Dan Bernstein.
Add scaffolding for the implementation of Access Control for Cross-site Requests.
* GNUmakefile.am:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* WebCoreSources.bkl:
* xml/AccessControlList.cpp: Added.
(WebCore::AccessControlList::AccessControlList):
(WebCore::AccessControlList::~AccessControlList):
(WebCore::AccessControlList::parseAccessControlHeader):
(WebCore::AccessControlList::checkOrigin):
* xml/AccessControlList.h: Added.
* xml/AccessItem.cpp: Added.
(WebCore::AccessItem::AccessItem):
(WebCore::AccessItem::parseAccessItem):
(WebCore::AccessItem::matches):
* xml/AccessItem.h: Added.
* xml/AccessItemRule.cpp: Added.
(WebCore::AccessItemRule::AccessItemRule):
(WebCore::AccessItemRule::parseAccessItemRule):
* xml/AccessItemRule.h: Added.
2008-05-11 Julien Chaffraix <jchaffraix@webkit.org>
Debug build fix.
* loader/appcache/ApplicationCache.cpp: Include stdio.h
as we are using printf in ApplicationCache::dump().
2008-05-10 Dan Bernstein <mitz@apple.com>
Reviewed by Jessica Kahn.
- add a copy assignment operator to FontPlatformData on Mac to properly
retain the m_font data member.
* platform/graphics/mac/FontPlatformData.h:
* platform/graphics/mac/FontPlatformDataMac.mm:
(WebCore::FontPlatformData::FontPlatformData):
(WebCore::~FontPlatformData):
(WebCore::FontPlatformData::operator=):
(WebCore::FontPlatformData::setFont):
2008-05-10 Adele Peterson <adele@apple.com>
Reviewed by Tim Hatcher.
Fix crash for WebKit clients that don't set a group name for the WebView/Page.
* page/PageGroup.cpp: (WebCore::PageGroup::PageGroup): Instead of adding the Page directly to the group,
call the addPage method, since it does extra work initializing m_localStorage.
2008-05-09 Sam Weinig <sam@webkit.org>
Reviewed by Mark Rowe.
......@@ -27,12 +27,14 @@ body {
}
table {
width: 100%;
border-spacing: 0;
counter-reset: lines;
white-space: pre-wrap !important;
margin: 0;
word-break: break-word;
font-family: monospace;
font-size: 10px;
font-family: Monaco, Lucida Console, monospace;
}
td {
......@@ -41,10 +43,11 @@ td {
}
.webkit-line-gutter-backdrop, .webkit-line-number {
padding: 0 2px !important;
min-width: 21px;
-webkit-box-sizing: border-box;
padding: 0 4px !important;
width: 31px;
background-color: rgb(240, 240, 240);
border-right: 1px solid rgb(128, 128, 128) !important;
border-right: 1px solid rgb(187, 187, 187) !important;
-webkit-user-select: none;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment