WebKit-https.git
9 years agoDefer ScriptExecutionContext::Task's in Document when page loading is deferred.
commit-queue@webkit.org [Wed, 7 Dec 2011 23:41:21 +0000 (23:41 +0000)]
Defer ScriptExecutionContext::Task's in Document when page loading is deferred.
Schedule them with timer when page loading is resumed. The tasks will be performed
in the original order. This fixes the problem that database callbacks could be missed
when page loading was deferred.
https://bugs.webkit.org/show_bug.cgi?id=49401

Patch by Yong Li <yoli@rim.com> on 2011-12-07
Reviewed by Darin Adler.

Manual test added: ManualTests/database-callback-deferred.html.

* dom/Document.cpp:
(WebCore::Document::Document):
(WebCore::Document::didReceiveTask):
(WebCore::Document::postTask):
(WebCore::Document::pendingTasksTimerFired):
(WebCore::Document::suspendScheduledTasks):
(WebCore::Document::resumeScheduledTasks):
* dom/Document.h:
* page/PageGroupLoadDeferrer.cpp:
(WebCore::PageGroupLoadDeferrer::PageGroupLoadDeferrer):
(WebCore::PageGroupLoadDeferrer::~PageGroupLoadDeferrer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102278 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[MutationObservers] Enable in Chromium trunk
adamk@chromium.org [Wed, 7 Dec 2011 22:46:24 +0000 (22:46 +0000)]
[MutationObservers] Enable in Chromium trunk
https://bugs.webkit.org/show_bug.cgi?id=73851

Reviewed by Ojan Vafai.

Source/WebKit/chromium:

Re-landing after fixing Chromium unit test crashes in r102171
and inspector debugger crash in r102264.

* features.gypi:

LayoutTests:

* platform/chromium/test_expectations.txt: Stop skipping fast/mutation tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102275 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Chromium] Unreviewed, clean out passing tests from test_expectations.txt
simonjam@chromium.org [Wed, 7 Dec 2011 22:37:06 +0000 (22:37 +0000)]
[Chromium] Unreviewed, clean out passing tests from test_expectations.txt

* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102272 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoIndexedDB deleteIndex should throw NOT_ALLOWED_ERR if called outside a VERSION_CHANGE...
commit-queue@webkit.org [Wed, 7 Dec 2011 21:18:30 +0000 (21:18 +0000)]
IndexedDB deleteIndex should throw NOT_ALLOWED_ERR if called outside a VERSION_CHANGE transaction callback
https://bugs.webkit.org/show_bug.cgi?id=62370

Already behaves correctly, just adding tests.

Patch by Joshua Bell <jsbell@chromium.org> on 2011-12-07
Reviewed by Tony Chang.

* storage/indexeddb/deleteIndex-expected.txt: Added.
* storage/indexeddb/deleteIndex.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102269 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRenderObject::style(): Inline early-return condition.
kling@webkit.org [Wed, 7 Dec 2011 21:10:02 +0000 (21:10 +0000)]
RenderObject::style(): Inline early-return condition.
<http://webkit.org/b/74019>

Reviewed by Anders Carlsson.

style() was very hot (6.1%) when scrolling around on youtube.com,
and 100% of the calls were taking the early return path.

Inlined the !isRenderFlowThread() check and renamed the function to
styleSlowCase().

* rendering/RenderObject.cpp:
(WebCore::RenderObject::styleSlowCase):
* rendering/RenderObject.h:
(WebCore::RenderObject::style):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102268 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUse HashMap<Node*, OwnPtr<...>> in ChildListMutationScope
adamk@chromium.org [Wed, 7 Dec 2011 21:01:59 +0000 (21:01 +0000)]
Use HashMap<Node*, OwnPtr<...>> in ChildListMutationScope
https://bugs.webkit.org/show_bug.cgi?id=73964

Reviewed by Ryosuke Niwa.

Source/JavaScriptCore:

* wtf/HashTraits.h: Add passOut(std::nullptr_t) to allow callers to use HashMap::take on an entry whose value is null.

Source/WebCore:

No new tests, refactoring only.

* dom/ChildListMutationScope.cpp:
(WebCore::ChildListMutationAccumulator::MutationAccumulationRouter::childAdded):
(WebCore::ChildListMutationAccumulator::MutationAccumulationRouter::willRemoveChild):
(WebCore::ChildListMutationAccumulator::MutationAccumulationRouter::incrementScopingLevel):
(WebCore::ChildListMutationAccumulator::MutationAccumulationRouter::decrementScopingLevel):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102267 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRenderLayer::updateZOrderLists(): Inline early-return condition.
kling@webkit.org [Wed, 7 Dec 2011 20:59:35 +0000 (20:59 +0000)]
RenderLayer::updateZOrderLists(): Inline early-return condition.
<http://webkit.org/b/74013>

Reviewed by Anders Carlsson.

updateZOrderLists() was hot (1.2%) when scrolling around on youtube.com,
and 85% of the calls were taking the early return path.

Inlined the two checks for the early return and renamed the function
to updateZOrderListsSlowCase(). Also reversed their order to avoid the
virtual call (RenderObject::isRenderView()) if possible.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::updateZOrderListsSlowCase):
* rendering/RenderLayer.h:
(WebCore::RenderLayer::updateZOrderLists):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102266 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed, rolling out r102244.
commit-queue@webkit.org [Wed, 7 Dec 2011 20:08:00 +0000 (20:08 +0000)]
Unreviewed, rolling out r102244.
http://trac.webkit.org/changeset/102244
https://bugs.webkit.org/show_bug.cgi?id=74016

caused debug test timeouts (Requested by simonjam on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-12-07

Source/WebCore:

* platform/graphics/skia/ImageBufferSkia.cpp:
(WebCore::putImageData):
(WebCore::ImageBuffer::putUnmultipliedImageData):
(WebCore::ImageBuffer::putPremultipliedImageData):

LayoutTests:

* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102265 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoLayout Test inspector/debugger/dom-breakpoints.html fails on chromium linux debug...
adamk@chromium.org [Wed, 7 Dec 2011 20:03:50 +0000 (20:03 +0000)]
Layout Test inspector/debugger/dom-breakpoints.html fails on chromium linux debug with ENABLE(MUTATION_OBSERVERS)
https://bugs.webkit.org/show_bug.cgi?id=73919

Reviewed by Ojan Vafai.

Source/WebCore:

Use StyleAttributeMutationScope to manage DOM breakpoints for style property changes.

Instead of calling InspectorInstrumentation::didInvalidateStyleAttr()
directly in setNeedsStyleRecalc, set a bool in the current
StyleAttributeMutationScope, and delay the call until the scope's
counter runs down to zero. This keeps the inspector JS from re-entering
CSSMutableStyleDeclaration until all StyleAttributeMutationScope work is done.

Also fix a small bug in StyleAttributeMutationScope, where
s_shouldDeliver wasn't getting reset properly to false.

* css/CSSMutableStyleDeclaration.cpp:
(WebCore::CSSMutableStyleDeclaration::setNeedsStyleRecalc):

LayoutTests:

Added test that no-op style mutations don't create MutationRecords.

* fast/mutation/observe-attributes-expected.txt:
* fast/mutation/observe-attributes.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102264 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoCrash from multicol spans with layers
commit-queue@webkit.org [Wed, 7 Dec 2011 20:01:27 +0000 (20:01 +0000)]
Crash from multicol spans with layers
https://bugs.webkit.org/show_bug.cgi?id=68030

Patch by Ken Buchanan <kenrb@chromium.org> on 2011-12-07
Reviewed by David Hyatt.

Source/WebCore:

The layer tree diverges from the render tree when a span is being split
between columns. This patch causes the layer tree to be updated when necessary.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::splitFlow)
(WebCore::RenderBlock::splitBlocks)

LayoutTests:

New test for fix to crash on bug 68030.

* fast/multicol/span/removal-of-multicol-span-crash-expected.txt: Added
* fast/multicol/span/removal-of-multicol-span-crash.html: Added

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102263 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago Handling of !important in inline style sets is broken
ap@apple.com [Wed, 7 Dec 2011 19:53:37 +0000 (19:53 +0000)]
    Handling of !important in inline style sets is broken
        https://bugs.webkit.org/show_bug.cgi?id=73941

        Reviewed by Dave Hyatt.

        This behavior was introduced in bug 8223 to match IE and Firefox. But it doesn't appear that we're matching
        any browser today, and CSSOM spec agrees with them.

        * WebCore.exp.in: Don't export CSSStyleDeclaration::setProperty(), no one is using it.

        * bindings/js/JSCSSStyleDeclarationCustom.cpp: (WebCore::JSCSSStyleDeclaration::putDelegate): Use regular
        setProperty(), not the incorrect version that's being removed. Properties set via IDL attributes are never
        important.

        * bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp: (WebCore::V8CSSStyleDeclaration::namedPropertySetter):
        Made the same fix for v8. Why did v8 bindings authors copy/paste the code?!

        * css/CSSStyleDeclaration.cpp:
        * css/CSSStyleDeclaration.h:
        Removed a version of setProperty() that attempted to parse the value and extract !important from it.

        * html/ImageDocument.cpp:
        (WebCore::ImageDocument::resizeImageToFit):
        (WebCore::ImageDocument::restoreImageSize):
        (WebCore::ImageDocument::windowSizeChanged):
        * page/DragController.cpp:
        (WebCore::DragController::concludeEditDrag):
        We never needed to use this version of setProperty() here, it was just unnecessarily slower.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102262 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoNon-Mac devices should benefit from a larger heap
fpizlo@apple.com [Wed, 7 Dec 2011 19:52:01 +0000 (19:52 +0000)]
Non-Mac devices should benefit from a larger heap
https://bugs.webkit.org/show_bug.cgi?id=74015

Reviewed by Geoff Garen.

Removed the ENABLE(LARGE_HEAP) option from Platform.h, since it was only used in
Heap.cpp, and got in the way of having more granular, per-platform control over
what the heap size should be. Bumped the heap size to 8MB on iOS (was 512KB).

* heap/Heap.cpp:
(JSC::GCTimer::heapSizeForHint):
* wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102261 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoIndexedDB objectStoreNames not updated after aborted transaction
commit-queue@webkit.org [Wed, 7 Dec 2011 19:45:58 +0000 (19:45 +0000)]
IndexedDB objectStoreNames not updated after aborted transaction
https://bugs.webkit.org/show_bug.cgi?id=58655

Already functional but there wasn't a test with these specifics.

Patch by Joshua Bell <jsbell@chromium.org> on 2011-12-07
Reviewed by Tony Chang.

* storage/indexeddb/mozilla/versionchange-abort-expected.txt: Added.
* storage/indexeddb/mozilla/versionchange-abort.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102260 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoIn FontCacheAndroid.cpp should keep the pointer valid returned from CString::data()
wangxianzhu@chromium.org [Wed, 7 Dec 2011 19:21:45 +0000 (19:21 +0000)]
In FontCacheAndroid.cpp should keep the pointer valid returned from CString::data()
https://bugs.webkit.org/show_bug.cgi?id=73849

The changed code has been covered by many existing layout tests.

Reviewed by Adam Barth.

* platform/graphics/chromium/FontCacheAndroid.cpp:
(WebCore::FontCache::createFontPlatformData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102255 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoSource/WebCore: Turn on move caret by word visually for Windows platform.
xji@chromium.org [Wed, 7 Dec 2011 19:05:50 +0000 (19:05 +0000)]
Source/WebCore: Turn on move caret by word visually for Windows platform.
https://bugs.webkit.org/show_bug.cgi?id=59652

Reviewed by Ryosuke Niwa.

We already support (arrow key) moving cursor by character in visual order.
This patch implements (ctrl/alt-arrow) moving cursor by word in visual order (in Windows).
It matches Firefox's default behavior.

Without this patch, ctrl(alt for mac)-arrow key or
selection.modify("move", "left"/"right", "word") moves cursor by word in logical order.

IE implements moving cursor by logical order for both arrow key and ctrl-arrow key.
Firefox implements moving cursor by visual order for both operations.
From Chromium bug report, native speakers would like moving cursor by visual order since it
is more intuitive.

The patch is only enabled for Windows (by EditingBehavior) because current implementation
matches Windows' native behavior.
For exmaple, if the logical text is "abc def hij", the cursor positions are
"|abc |def |hij|" no matter pressing ctrl-left-arrow or ctrl-right-arrow.

Mac and Linux's native behavior is slightly different. In which, when pressing
ctrl-left-arrow, the cursor positions are "|abc |def |hij|". When pressing ctrl-right-arrow,
the cursor positions are "|abc| def| hij|". We will implement it next.

Test: editing/selection/move-left-right-by-word-mac.html

* editing/EditingBehavior.h:
(WebCore::EditingBehavior::shouldMoveLeftRightByWordInVisualOrder):
* editing/FrameSelection.cpp: Remove experimental enum WebKitVisualWordGranularity.
(WebCore::FrameSelection::modifyExtendingRight):
(WebCore::FrameSelection::modifyExtendingForward):
(WebCore::FrameSelection::modifyMovingRight):
(WebCore::FrameSelection::modifyMovingForward):
(WebCore::FrameSelection::modifyExtendingLeft):
(WebCore::FrameSelection::modifyExtendingBackward):
(WebCore::FrameSelection::modifyMovingLeft):
(WebCore::FrameSelection::modifyMovingBackward):
* editing/TextGranularity.h: Remove experimental enum WebKitVisualWordGranularity.
* editing/VisibleSelection.cpp: Remove experimental enum WebKitVisualWordGranularity.
(WebCore::VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity):
* page/DOMSelection.cpp: Remove experimental experimental flag -webkit-visual-word.
(WebCore::DOMSelection::modify):

LayoutTests: Turn on move caret by word visually for windows platform.
https://bugs.webkit.org/show_bug.cgi?id=59652

Reviewed by Ryosuke Niwa.

* editing/selection/caret-mode-paragraph-keys-navigation.html:
* editing/selection/move-by-word-visually-crash-test-1.html:
* editing/selection/move-by-word-visually-crash-test-2.html:
* editing/selection/move-by-word-visually-crash-test-3.html:
* editing/selection/move-by-word-visually-crash-test-4.html:
* editing/selection/move-by-word-visually-crash-test-textarea.html:
* editing/selection/move-by-word-visually-inline-block-positioned-element.html:
* editing/selection/move-by-word-visually-multi-line.html:
* editing/selection/move-by-word-visually-multi-space.html:
* editing/selection/move-by-word-visually-null-box.html:
* editing/selection/move-by-word-visually-single-space-inline-element.html:
* editing/selection/move-by-word-visually-single-space-one-element.html:
* editing/selection/move-by-word-visually-textarea.html:
* editing/selection/move-left-right-by-word-mac-expected.txt: Added.
* editing/selection/move-left-right-by-word-mac.html: Added.
* editing/selection/resources/move-by-word-visually.js:
(moveByWord):
(moveByWordOnEveryChar):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102252 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoShareableBitmapGtk.cpp has no reason to exist
kbalazs@webkit.org [Wed, 7 Dec 2011 18:58:43 +0000 (18:58 +0000)]
ShareableBitmapGtk.cpp has no reason to exist
https://bugs.webkit.org/show_bug.cgi?id=74011

Reviewed by Martin Robinson.

Remove this file since the real implementation is
exists in ShareableBitmapCairo.cpp.

* Shared/gtk/ShareableBitmapGtk.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102251 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] Plumb damage from WebExternalTextureLayer and WebPluginContainer to CCDama...
commit-queue@webkit.org [Wed, 7 Dec 2011 18:45:49 +0000 (18:45 +0000)]
[chromium] Plumb damage from WebExternalTextureLayer and WebPluginContainer to CCDamageTracker
https://bugs.webkit.org/show_bug.cgi?id=73485

Patch by Jonathan Backer <backer@chromium.org> on 2011-12-07
Reviewed by Darin Fisher.

Source/WebCore:

* platform/graphics/chromium/PluginLayerChromium.cpp:
(WebCore::PluginLayerChromium::updateCompositorResources):
(WebCore::PluginLayerChromium::invalidateRect):
* platform/graphics/chromium/PluginLayerChromium.h:

Source/WebKit/chromium:

* public/platform/WebExternalTextureLayer.h:
* src/WebExternalTextureLayer.cpp:
(WebKit::WebExternalTextureLayer::invalidateRect):
* src/WebPluginContainerImpl.cpp:
(WebKit::WebPluginContainerImpl::commitBackingTexture):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102250 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUpstream 5 files into WebCore/platform/blackberry
commit-queue@webkit.org [Wed, 7 Dec 2011 18:24:35 +0000 (18:24 +0000)]
Upstream 5 files into WebCore/platform/blackberry
https://bugs.webkit.org/show_bug.cgi?id=73632

Patch by Mary Wu <mary.wu@torchmobile.com.cn> on 2011-12-07
Reviewed by Rob Buis.

Initial upstream, no new tests.

* PlatformBlackBerry.cmake: Remove two empty files from build list.
* platform/blackberry/PopupMenuBlackBerry.cpp: Added.
(WebCore::PopupMenuBlackBerry::PopupMenuBlackBerry):
(WebCore::PopupMenuBlackBerry::~PopupMenuBlackBerry):
(WebCore::PopupMenuBlackBerry::show):
(WebCore::PopupMenuBlackBerry::hide):
(WebCore::PopupMenuBlackBerry::updateFromElement):
(WebCore::PopupMenuBlackBerry::disconnectClient):
* platform/blackberry/PopupMenuBlackBerry.h: Added.
(WebCore::PopupMenuBlackBerry::client):
* platform/blackberry/ScrollbarThemeBlackBerry.cpp: Added.
(WebCore::ScrollbarTheme::nativeTheme):
* platform/blackberry/SearchPopupMenuBlackBerry.cpp: Added.
(WebCore::SearchPopupMenuBlackBerry::SearchPopupMenuBlackBerry):
(WebCore::SearchPopupMenuBlackBerry::popupMenu):
(WebCore::SearchPopupMenuBlackBerry::enabled):
(WebCore::SearchPopupMenuBlackBerry::saveRecentSearches):
(WebCore::SearchPopupMenuBlackBerry::loadRecentSearches):
* platform/blackberry/SearchPopupMenuBlackBerry.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102249 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoASSERT_UNREACHED() should be ASSERT_NOT_REACHED() on assertion-guidelines.html
dbates@webkit.org [Wed, 7 Dec 2011 18:24:05 +0000 (18:24 +0000)]
ASSERT_UNREACHED() should be ASSERT_NOT_REACHED() on assertion-guidelines.html
https://bugs.webkit.org/show_bug.cgi?id=74006

Reviewed by Antonio Gomes.

As far I can tell, we've never had an ASSERT_UNREACHED(). We do have an
ASSERT_NOT_REACHED().

* coding/assertion-guidelines.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102248 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFixed the definition of BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING from r102246.
mitz@apple.com [Wed, 7 Dec 2011 18:21:04 +0000 (18:21 +0000)]
Fixed the definition of BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING from r102246.

* platform/mac/ThemeMac.mm: Added parentheses.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102247 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago<rdar://problem/10542095> Focus rings are not drawn around push buttons, radio button...
mitz@apple.com [Wed, 7 Dec 2011 18:15:02 +0000 (18:15 +0000)]
<rdar://problem/10542095> Focus rings are not drawn around push buttons, radio buttons and checkboxes

Reviewed by Darin Adler.

Instead of relying on -setShowsFirstResponder: to make -drawWithFrame:inView: draw the focus
ring, use -drawFocusRingMaskWithFrame:inView:.

* platform/mac/ThemeMac.mm:
(-[NSCell _web_drawFocusRingWithFrame:inView:]): Added. Sets up the focus ring style and a
transparency layer, then uses -drawFocusRingMaskWithFrame:inView: to draw the focus ring.
(WebCore::updateStates): Eliminated calls to get and set showsFirstResponder.
(WebCore::paintCheckbox): Changed to use -_web_drawFocusRingWithFrame:inView:.
(WebCore::paintRadio): Ditto.
(WebCore::paintButton): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102246 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed gardening.
kbalazs@webkit.org [Wed, 7 Dec 2011 18:12:47 +0000 (18:12 +0000)]
Unreviewed gardening.

Skip 3 more metric related tests with Qt5 until test-font fix.

* platform/qt-5.0/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102245 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoSource/WebCore: [CHROMIUM/SKIA] Handle put[Un/Pre]multipliedImageData conversions...
commit-queue@webkit.org [Wed, 7 Dec 2011 18:08:25 +0000 (18:08 +0000)]
Source/WebCore: [CHROMIUM/SKIA] Handle put[Un/Pre]multipliedImageData conversions in Skia rather than ImageBuffer
https://bugs.webkit.org/show_bug.cgi?id=73953

Patch by Brian Salomon <bsalomon@google.com> on 2011-12-07
Reviewed by Stephen White.

Tested by existing canvas2d layout tests.

* platform/graphics/skia/ImageBufferSkia.cpp:
(WebCore::putImageData):
(WebCore::ImageBuffer::putUnmultipliedImageData):
(WebCore::ImageBuffer::putPremultipliedImageData):

LayoutTests: [CHROMIUM] Make canvas/philip/tests/2d.imageData.put.unchanged.html be expected to fail
on the GPU due to slight difference in alpha-premul computation.

https://bugs.webkit.org/show_bug.cgi?id=73953

Patch by Brian Salomon <bsalomon@google.com> on 2011-12-07
Reviewed by Stephen White.

* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102244 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoMicro-optimize ScrollView::visibleContentRect().
kling@webkit.org [Wed, 7 Dec 2011 16:40:31 +0000 (16:40 +0000)]
Micro-optimize ScrollView::visibleContentRect().
<http://webkit.org/b/74001>

Reviewed by Anders Carlsson.

Reorder the scrollbar exclusion code to minimize the number of virtual calls
to ScrollableArea::verticalScrollbar(), ScrollableArea::horizontalScrollbar()
and Scrollbar::isOverlayScrollbar().

* platform/ScrollView.cpp:
(WebCore::ScrollView::visibleContentRect):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102243 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoApplyPropertyBorderImage: Remove unneeded template argument for mapNinePieceImage().
kling@webkit.org [Wed, 7 Dec 2011 16:16:34 +0000 (16:16 +0000)]
ApplyPropertyBorderImage: Remove unneeded template argument for mapNinePieceImage().
<http://webkit.org/b/73998>

Reviewed by Antti Koivisto.

Have ApplyPropertyBorderImage call mapNinePieceImage() directly now that it's
public (instead of passing it as a template argument.)

* css/CSSStyleApplyProperty.cpp:
(WebCore::ApplyPropertyBorderImage::applyValue):
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102242 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoMac build fix after r102235.
jberlin@webkit.org [Wed, 7 Dec 2011 16:12:36 +0000 (16:12 +0000)]
Mac build fix after r102235.

* WebCore.exp.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102241 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoMoved myself to the committers list.
tomz@codeaurora.org [Wed, 7 Dec 2011 15:38:58 +0000 (15:38 +0000)]
Moved myself to the committers list.

* Scripts/webkitpy/common/config/committers.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102240 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] V8 debug build fixes.
hausmann@webkit.org [Wed, 7 Dec 2011 15:32:58 +0000 (15:32 +0000)]
[Qt] V8 debug build fixes.

Reviewed by Tor Arne Vestbø.

* Target.pri: Add missing files to the build.
* loader/SubresourceLoader.cpp: Add missing CString.h header file inclusion,
that is implicitly included with Chromium builds.
* loader/cache/CachedResource.cpp: Ditto.
* page/FrameTree.cpp: Ditto.
* platform/graphics/MediaPlayer.cpp: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102239 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] Fix debug shlib build with V8.
hausmann@webkit.org [Wed, 7 Dec 2011 15:29:47 +0000 (15:29 +0000)]
[Qt] Fix debug shlib build with V8.

Reviewed by Tor Arne Vestbø.

* qmake/mkspecs/features/qtwebkit.prf: Don't like jscore with
v8 builds.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102238 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] V8 build fixes.
hausmann@webkit.org [Wed, 7 Dec 2011 15:29:30 +0000 (15:29 +0000)]
[Qt] V8 build fixes.

Reviewed by Tor Arne Vestbø.

Source/JavaScriptCore:

* yarr/yarr.pri: Don't rely on Source/JavaScriptCore being in
VPATH. Prefix SOURCES correctly and make sure that runtime/ is
in the include search path when building with v8.

Source/WebCore:

* Target.pri: Don't load(javascriptcore) if we're building with v8.

Tools:

* qmake/mkspecs/features/javascriptcore.prf: Don't add
Source/Thirdparty to the include search path here.
* qmake/mkspecs/features/webcore.prf: Instead it belongs here, because it's
used when building WebCore as well as using it, because header files like
GraphicsContext3D.h include stuff from ThirdParty.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102237 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt][WK2] REGRESSION(102228): lot of test failures after enabled page cache
kbalazs@webkit.org [Wed, 7 Dec 2011 15:10:24 +0000 (15:10 +0000)]
[Qt][WK2] REGRESSION(102228): lot of test failures after enabled page cache
https://bugs.webkit.org/show_bug.cgi?id=73999

Unreviewed gardening. Skip failing tests.

* platform/qt-wk2/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102236 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoChange function name InitializeLoggingChannelsIfNecessary to follow coding style...
commit-queue@webkit.org [Wed, 7 Dec 2011 14:54:13 +0000 (14:54 +0000)]
Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
https://bugs.webkit.org/show_bug.cgi?id=73986

Patch by Mary Wu <mary.wu@torchmobile.com.cn> on 2011-12-07
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Just function name change, no new tests.

* platform/Logging.h:
* platform/efl/LoggingEfl.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/gtk/LoggingGtk.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/mac/LoggingMac.mm:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/qt/LoggingQt.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/win/LoggingWin.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):
* platform/wx/LoggingWx.cpp:
(WebCore::initializeLoggingChannelsIfNecessary):

Source/WebKit/efl:

* ewk/ewk_main.cpp:
(_ewk_init_body):

Source/WebKit/gtk:

* webkit/webkitglobals.cpp:
(webkitInit):

Source/WebKit/mac:

* WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):

Source/WebKit/qt:

* WebCoreSupport/InitWebCoreQt.cpp:
(WebCore::initializeWebCoreQt):

Source/WebKit/win:

* WebView.cpp:
(WebView::initWithFrame):

Source/WebKit/wx:

* WebView.cpp:
(wxWebView::Create):

Source/WebKit2:

* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext):
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::WebProcess):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102235 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[CSSRegions]Add support for background-color in region styling
mihnea@adobe.com [Wed, 7 Dec 2011 14:51:33 +0000 (14:51 +0000)]
[CSSRegions]Add support for background-color in region styling
https://bugs.webkit.org/show_bug.cgi?id=71488

Reviewed by David Hyatt.

Source/WebCore:

Tests: fast/regions/region-style-block-background-color.html
       fast/regions/region-style-block-background-color2.html
       fast/regions/region-style-image-background-color.html
       fast/regions/region-style-inline-background-color.html

* WebCore.exp.in:
* css/CSSStyleSelector.cpp:
(WebCore::RuleData::regionStyleRule):
(WebCore::CSSStyleSelector::CSSStyleSelector):
(WebCore::CSSStyleSelector::addMatchedDeclaration):
(WebCore::CSSStyleSelector::matchRules):
(WebCore::CSSStyleSelector::matchAllRules):
(WebCore::CSSStyleSelector::initForRegionStyling):
(WebCore::CSSStyleSelector::styleForElement):
(WebCore::CSSStyleSelector::pseudoStyleForElement):
(WebCore::RuleData::RuleData):
(WebCore::RuleSet::RuleSet):
(WebCore::RuleSet::addToRuleSet):
(WebCore::CSSStyleSelector::applyDeclarations):
(WebCore::isValidRegionStyleProperty):
(WebCore::CSSStyleSelector::applyProperty):
* css/CSSStyleSelector.h:
(WebCore::CSSStyleSelector::setRegionForStyling):
(WebCore::CSSStyleSelector::regionForStyling):
(WebCore::CSSStyleSelector::applyPropertyToRegionStyle):
* rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::clearRenderRegionRangeMap):
(WebCore::RenderFlowThread::~RenderFlowThread):
(WebCore::RenderFlowThread::layout):
(WebCore::RenderFlowThread::clearRenderObjectCustomStyle):
(WebCore::RenderFlowThread::setRegionRangeForBox):
* rendering/RenderFlowThread.h:
* rendering/RenderLayer.cpp:
(WebCore::CurrentRenderRegionMaintainer::CurrentRenderRegionMaintainer):
(WebCore::CurrentRenderRegionMaintainer::~CurrentRenderRegionMaintainer):
(WebCore::RenderLayer::paint):
(WebCore::RenderLayer::hitTest):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::style):
* rendering/RenderObject.h:
(WebCore::RenderObject::canHaveRegionStyle):
* rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::removeChildNode):
* rendering/RenderRegion.cpp:
(WebCore::RenderRegion::layout):
(WebCore::RenderRegion::renderObjectRegionStyle):
(WebCore::RenderRegion::computeStyleInRegion):
(WebCore::RenderRegion::clearObjectStyleInRegion):
* rendering/RenderRegion.h:
* rendering/RenderView.cpp:
(WebCore::RenderView::RenderView):
* rendering/RenderView.h:
(WebCore::RenderView::currentRenderRegion):
(WebCore::RenderView::setCurrentRenderRegion):

LayoutTests:

* fast/regions/region-style-block-background-color.html: Added.
* fast/regions/region-style-block-background-color2.html: Added.
* fast/regions/region-style-image-background-color.html: Added.
* fast/regions/region-style-inline-background-color.html: Added.
* fast/regions/resources/transparent.png: Added.
* platform/mac-snowleopard/fast/regions/region-style-block-background-color-expected.png: Added.
* platform/mac-snowleopard/fast/regions/region-style-block-background-color-expected.txt: Added.
* platform/mac-snowleopard/fast/regions/region-style-block-background-color2-expected.png: Added.
* platform/mac-snowleopard/fast/regions/region-style-block-background-color2-expected.txt: Added.
* platform/mac-snowleopard/fast/regions/region-style-image-background-color-expected.png: Added.
* platform/mac-snowleopard/fast/regions/region-style-image-background-color-expected.txt: Added.
* platform/mac-snowleopard/fast/regions/region-style-inline-background-color-expected.png: Added.
* platform/mac-snowleopard/fast/regions/region-style-inline-background-color-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102234 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWeb Inspector: Extract default call stack creation and check for front-end from console.
vsevik@chromium.org [Wed, 7 Dec 2011 14:00:52 +0000 (14:00 +0000)]
Web Inspector: Extract default call stack creation and check for front-end from console.
https://bugs.webkit.org/show_bug.cgi?id=73566

Reviewed by Yury Semikhatsky.

* bindings/js/ScriptCallStackFactory.cpp:
(WebCore::createScriptCallStack):
* bindings/js/ScriptCallStackFactory.h:
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateParametersCheck):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateFunctionCallback):
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::jsTestObjPrototypeFunctionCustomArgsAndException):
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjInternal::customArgsAndExceptionCallback):
* bindings/v8/ScriptCallStackFactory.cpp:
(WebCore::createScriptCallStack):
* bindings/v8/ScriptCallStackFactory.h:
* inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::hasFrontendForScriptContext):
* inspector/InspectorInstrumentation.h:
(WebCore::InspectorInstrumentation::hasFrontendForScriptContext):
* inspector/WorkerInspectorController.h:
(WebCore::WorkerInspectorController::hasFrontend):
* page/Console.cpp:
* page/Console.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102233 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Chromium] Fix project file generation for the Android bot after r102201
peter@chromium.org [Wed, 7 Dec 2011 12:55:42 +0000 (12:55 +0000)]
[Chromium] Fix project file generation for the Android bot after r102201
https://bugs.webkit.org/show_bug.cgi?id=73996

The gyp refactoring in r102201 was didn't explicitly exclude
the Android operating system in Tools/Tools.gyp, which broke
as gcc_version is not defined for that configuration.

Reviewed by Andreas Kling.

* Tools.gyp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102232 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoInternals should have a method to reutrn the max sequence number of spellcheck reqeust.
commit-queue@webkit.org [Wed, 7 Dec 2011 12:34:02 +0000 (12:34 +0000)]
Internals should have a method to reutrn the max sequence number of spellcheck reqeust.
https://bugs.webkit.org/show_bug.cgi?id=73511

Patch by Shinya Kawanaka <shinyak@google.com> on 2011-12-07
Reviewed by Hajime Morita.

Source/WebCore:

Internal state of SpellChecker should be able to be exposed for testing SpellChecker.
This patch will enable us to know asynchronous spellcheck has finished or not.

Test: editing/spelling/spellcheck-sequencenum.html

* editing/SpellChecker.cpp:
(WebCore::SpellChecker::SpellChecker):
(WebCore::SpellChecker::createRequest):
(WebCore::SpellChecker::didCheck):
* editing/SpellChecker.h:
(WebCore::SpellChecker::lastRequestSequence):
  Interface to take SpellCheck sequence numbers.
(WebCore::SpellChecker::lastProcessedSequence): ditto.
* testing/Internals.cpp:
(WebCore::spellchecker):
(WebCore::Internals::lastSpellCheckRequestSequence):
(WebCore::Internals::lastSpellCheckProcessedSequence):
* testing/Internals.h:
* testing/Internals.idl:

LayoutTests:

Added tests to check internals.lastSpellCheckRequestSequence and internals.lastSpellCheckProcessedSequence.

* editing/spelling/spellcheck-sequencenum-expected.txt: Added.
* editing/spelling/spellcheck-sequencenum.html: Added.
* platform/gtk/Skipped:
* platform/qt/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102231 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed. Disabled failing tests on chromium.
vsevik@chromium.org [Wed, 7 Dec 2011 12:31:29 +0000 (12:31 +0000)]
Unreviewed. Disabled failing tests on chromium.

* TestWebKitAPI/Tests/WTF/StringBuilder.cpp:
(TestWebKitAPI::TEST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102230 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed chromium test expectations update.
vsevik@chromium.org [Wed, 7 Dec 2011 10:19:01 +0000 (10:19 +0000)]
Unreviewed chromium test expectations update.

* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102229 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt][WK2] Enable page cache.
commit-queue@webkit.org [Wed, 7 Dec 2011 09:56:41 +0000 (09:56 +0000)]
[Qt][WK2] Enable page cache.
https://bugs.webkit.org/show_bug.cgi?id=73938

Enable WebCore's page cache for Qt port by setting its capacity to 20. This is temporary
and will be replaced by a computed value based on CacheMode. See bug#73918.

Patch by Zalan Bujtas <zbujtas@gmail.com> on 2011-12-07
Reviewed by Simon Hausmann.

* WebProcess/qt/WebProcessQt.cpp:
(WebKit::WebProcess::platformSetCacheModel):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102228 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoQt rebaseline after r102149.
rniwa@webkit.org [Wed, 7 Dec 2011 09:43:22 +0000 (09:43 +0000)]
Qt rebaseline after r102149.

* platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Copied from
LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102227 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoMove <input type=number> tests to fast/forms/number/
tkent@chromium.org [Wed, 7 Dec 2011 09:36:06 +0000 (09:36 +0000)]
Move <input type=number> tests to fast/forms/number/
https://bugs.webkit.org/show_bug.cgi?id=73987

Reviewed by Hajime Morita.

* fast/forms/ValidityState-rangeOverflow-expected.txt:
* fast/forms/ValidityState-rangeUnderflow-expected.txt:
* fast/forms/ValidityState-stepMismatch-expected.txt:
* fast/forms/ValidityState-typeMismatch-number-expected.txt: Removed.
* fast/forms/ValidityState-typeMismatch-number.html: Removed.
* fast/forms/input-appearance-number-rtl.html: Removed.
* fast/forms/input-appearance-spinbutton-disabled-readonly.html: Removed.
* fast/forms/input-appearance-spinbutton-layer.html: Removed.
* fast/forms/input-appearance-spinbutton-visibility-expected.html: Removed.
* fast/forms/input-appearance-spinbutton-visibility.html: Removed.
* fast/forms/input-number-blur-twice-expected.txt: Removed.
* fast/forms/input-number-blur-twice.html: Removed.
* fast/forms/input-number-change-type-on-focus-expected.txt: Removed.
* fast/forms/input-number-change-type-on-focus.html: Removed.
* fast/forms/input-number-commit-valid-only-expected.txt: Removed.
* fast/forms/input-number-commit-valid-only.html: Removed.
* fast/forms/input-number-crash-expected.txt: Removed.
* fast/forms/input-number-crash.html: Removed.
* fast/forms/input-number-events-expected.txt: Removed.
* fast/forms/input-number-events.html: Removed.
* fast/forms/input-number-keyoperation-expected.txt: Removed.
* fast/forms/input-number-keyoperation.html: Removed.
* fast/forms/input-number-large-padding-expected.txt: Removed.
* fast/forms/input-number-large-padding.html: Removed.
* fast/forms/input-number-outofrange-expected.txt: Removed.
* fast/forms/input-number-outofrange.html: Removed.
* fast/forms/input-number-size-expected.txt: Removed.
* fast/forms/input-number-size.html: Removed.
* fast/forms/input-number-spinbutton-crash-expected.txt: Removed.
* fast/forms/input-number-spinbutton-crash.html: Removed.
* fast/forms/input-number-unacceptable-style-expected.txt: Removed.
* fast/forms/input-number-unacceptable-style.html: Removed.
* fast/forms/input-number-wheel-expected.txt: Removed.
* fast/forms/input-number-wheel.html: Removed.
* fast/forms/input-spinbutton-capturing-expected.txt: Removed.
* fast/forms/input-spinbutton-capturing.html: Removed.
* fast/forms/input-stepup-stepdown-expected.txt:
* fast/forms/input-stepup-stepdown-from-renderer-expected.txt: Removed.
* fast/forms/input-stepup-stepdown-from-renderer.html: Removed.
* fast/forms/input-valueasnumber-number-expected.txt: Removed.
* fast/forms/input-valueasnumber-number.html: Removed.
* fast/forms/number-input-changeevent-expected.txt: Removed.
* fast/forms/number-input-changeevent.html: Removed.
* fast/forms/number/ValidityState-rangeOverflow-number-expected.txt: Copied from LayoutTests/fast/forms/ValidityState-rangeOverflow-expected.txt.
* fast/forms/number/ValidityState-rangeOverflow-number.html: Copied from LayoutTests/fast/forms/script-tests/ValidityState-rangeOverflow.js.
* fast/forms/number/ValidityState-rangeUnderflow-number-expected.txt: Copied from LayoutTests/fast/forms/ValidityState-rangeUnderflow-expected.txt.
* fast/forms/number/ValidityState-rangeUnderflow-number.html: Copied from LayoutTests/fast/forms/script-tests/ValidityState-rangeUnderflow.js.
* fast/forms/number/ValidityState-stepMismatch-number-expected.txt: Copied from LayoutTests/fast/forms/ValidityState-stepMismatch-expected.txt.
* fast/forms/number/ValidityState-stepMismatch-number.html: Copied from LayoutTests/fast/forms/script-tests/ValidityState-stepMismatch.js.
* fast/forms/number/ValidityState-typeMismatch-number-expected.txt: Copied from LayoutTests/fast/forms/ValidityState-typeMismatch-number-expected.txt.
* fast/forms/number/ValidityState-typeMismatch-number.html: Copied from LayoutTests/fast/forms/script-tests/ValidityState-typeMismatch-number.js.
* fast/forms/number/input-appearance-number-rtl.html: Copied from LayoutTests/fast/forms/input-appearance-number-rtl.html.
* fast/forms/number/input-appearance-spinbutton-disabled-readonly.html: Copied from LayoutTests/fast/forms/input-appearance-spinbutton-disabled-readonly.html.
* fast/forms/number/input-appearance-spinbutton-layer.html: Copied from LayoutTests/fast/forms/input-appearance-spinbutton-layer.html.
* fast/forms/number/input-appearance-spinbutton-visibility-expected.html: Copied from LayoutTests/fast/forms/input-appearance-spinbutton-visibility-expected.html.
* fast/forms/number/input-appearance-spinbutton-visibility.html: Copied from LayoutTests/fast/forms/input-appearance-spinbutton-visibility.html.
* fast/forms/number/input-number-blur-twice-expected.txt: Copied from LayoutTests/fast/forms/input-number-blur-twice-expected.txt.
* fast/forms/number/input-number-blur-twice.html: Copied from LayoutTests/fast/forms/input-number-blur-twice.html.
* fast/forms/number/input-number-change-type-on-focus-expected.txt: Copied from LayoutTests/fast/forms/input-number-change-type-on-focus-expected.txt.
* fast/forms/number/input-number-change-type-on-focus.html: Copied from LayoutTests/fast/forms/input-number-change-type-on-focus.html.
* fast/forms/number/input-number-commit-valid-only-expected.txt: Copied from LayoutTests/fast/forms/input-number-commit-valid-only-expected.txt.
* fast/forms/number/input-number-commit-valid-only.html: Copied from LayoutTests/fast/forms/script-tests/input-number-commit-valid-only.js.
* fast/forms/number/input-number-crash-expected.txt: Copied from LayoutTests/fast/forms/input-number-crash-expected.txt.
* fast/forms/number/input-number-crash.html: Copied from LayoutTests/fast/forms/input-number-crash.html.
* fast/forms/number/input-number-events-expected.txt: Copied from LayoutTests/fast/forms/input-number-events-expected.txt.
* fast/forms/number/input-number-events.html: Copied from LayoutTests/fast/forms/script-tests/input-number-events.js.
* fast/forms/number/input-number-keyoperation-expected.txt: Copied from LayoutTests/fast/forms/input-number-keyoperation-expected.txt.
* fast/forms/number/input-number-keyoperation.html: Copied from LayoutTests/fast/forms/script-tests/input-number-keyoperation.js.
* fast/forms/number/input-number-large-padding-expected.txt: Copied from LayoutTests/fast/forms/input-number-large-padding-expected.txt.
* fast/forms/number/input-number-large-padding.html: Copied from LayoutTests/fast/forms/input-number-large-padding.html.
* fast/forms/number/input-number-outofrange-expected.txt: Copied from LayoutTests/fast/forms/input-number-outofrange-expected.txt.
* fast/forms/number/input-number-outofrange.html: Copied from LayoutTests/fast/forms/script-tests/input-number-outofrange.js.
* fast/forms/number/input-number-size-expected.txt: Copied from LayoutTests/fast/forms/input-number-size-expected.txt.
* fast/forms/number/input-number-size.html: Copied from LayoutTests/fast/forms/input-number-size.html.
* fast/forms/number/input-number-spinbutton-crash-expected.txt: Copied from LayoutTests/fast/forms/input-number-spinbutton-crash-expected.txt.
* fast/forms/number/input-number-spinbutton-crash.html: Copied from LayoutTests/fast/forms/input-number-spinbutton-crash.html.
* fast/forms/number/input-number-unacceptable-style-expected.txt: Copied from LayoutTests/fast/forms/input-number-unacceptable-style-expected.txt.
* fast/forms/number/input-number-unacceptable-style.html: Copied from LayoutTests/fast/forms/input-number-unacceptable-style.html.
* fast/forms/number/input-number-wheel-expected.txt: Copied from LayoutTests/fast/forms/input-number-wheel-expected.txt.
* fast/forms/number/input-number-wheel.html: Copied from LayoutTests/fast/forms/script-tests/input-number-wheel.js.
* fast/forms/number/input-spinbutton-capturing-expected.txt: Copied from LayoutTests/fast/forms/input-spinbutton-capturing-expected.txt.
* fast/forms/number/input-spinbutton-capturing.html: Copied from LayoutTests/fast/forms/script-tests/input-spinbutton-capturing.js.
* fast/forms/number/input-valueasnumber-number-expected.txt: Copied from LayoutTests/fast/forms/input-valueasnumber-number-expected.txt.
* fast/forms/number/input-valueasnumber-number.html: Copied from LayoutTests/fast/forms/script-tests/input-valueasnumber-number.js.
* fast/forms/number/number-input-changeevent-expected.txt: Copied from LayoutTests/fast/forms/number-input-changeevent-expected.txt.
* fast/forms/number/number-input-changeevent.html: Copied from LayoutTests/fast/forms/number-input-changeevent.html.
* fast/forms/number/number-stepup-stepdown-expected.txt: Copied from LayoutTests/fast/forms/input-stepup-stepdown-expected.txt.
* fast/forms/number/number-stepup-stepdown-from-renderer-expected.txt: Copied from LayoutTests/fast/forms/input-stepup-stepdown-from-renderer-expected.txt.
* fast/forms/number/number-stepup-stepdown-from-renderer.html: Copied from LayoutTests/fast/forms/script-tests/input-stepup-stepdown-from-renderer.js.
* fast/forms/number/number-stepup-stepdown.html: Copied from LayoutTests/fast/forms/script-tests/input-stepup-stepdown.js.
* fast/forms/number/spin-button-gets-disabled-or-readonly-expected.txt: Copied from LayoutTests/fast/forms/spin-button-gets-disabled-or-readonly-expected.txt.
* fast/forms/number/spin-button-gets-disabled-or-readonly.html: Copied from LayoutTests/fast/forms/spin-button-gets-disabled-or-readonly.html.
* fast/forms/script-tests/ValidityState-rangeOverflow.js:
* fast/forms/script-tests/ValidityState-rangeUnderflow.js:
* fast/forms/script-tests/ValidityState-stepMismatch.js:
* fast/forms/script-tests/ValidityState-typeMismatch-number.js: Removed.
* fast/forms/script-tests/input-number-commit-valid-only.js: Removed.
* fast/forms/script-tests/input-number-events.js: Removed.
* fast/forms/script-tests/input-number-keyoperation.js: Removed.
* fast/forms/script-tests/input-number-outofrange.js: Removed.
* fast/forms/script-tests/input-number-wheel.js: Removed.
* fast/forms/script-tests/input-spinbutton-capturing.js: Removed.
* fast/forms/script-tests/input-stepup-stepdown-from-renderer.js: Removed.
* fast/forms/script-tests/input-stepup-stepdown.js:
* fast/forms/script-tests/input-valueasnumber-number.js: Removed.
* fast/forms/spin-button-gets-disabled-or-readonly-expected.txt: Removed.
* fast/forms/spin-button-gets-disabled-or-readonly.html: Removed.
* platform/chromium-cg-mac-leopard/fast/forms/input-appearance-number-rtl-expected.png: Removed.
* platform/chromium-cg-mac-leopard/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Removed.
* platform/chromium-cg-mac-leopard/fast/forms/input-appearance-spinbutton-layer-expected.png: Removed.
* platform/chromium-cg-mac-leopard/fast/forms/number: Added.
* platform/chromium-cg-mac-leopard/fast/forms/number/input-appearance-number-rtl-expected.png: Copied from LayoutTests/platform/chromium-cg-mac-leopard/fast/forms/input-appearance-number-rtl-expected.png.
* platform/chromium-cg-mac-leopard/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png: Copied from LayoutTests/platform/chromium-cg-mac-leopard/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png.
* platform/chromium-cg-mac-leopard/fast/forms/number/input-appearance-spinbutton-layer-expected.png: Copied from LayoutTests/platform/chromium-cg-mac-leopard/fast/forms/input-appearance-spinbutton-layer-expected.png.
* platform/chromium-linux/fast/forms/input-appearance-number-rtl-expected.png: Removed.
* platform/chromium-linux/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Removed.
* platform/chromium-linux/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt: Removed.
* platform/chromium-linux/fast/forms/input-appearance-spinbutton-layer-expected.png: Removed.
* platform/chromium-linux/fast/forms/number: Added.
* platform/chromium-linux/fast/forms/number/input-appearance-number-rtl-expected.png: Copied from LayoutTests/platform/chromium-linux/fast/forms/input-appearance-number-rtl-expected.png.
* platform/chromium-linux/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png: Copied from LayoutTests/platform/chromium-linux/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png.
* platform/chromium-linux/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.txt: Copied from LayoutTests/platform/chromium-linux/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt.
* platform/chromium-linux/fast/forms/number/input-appearance-spinbutton-layer-expected.png: Copied from LayoutTests/platform/chromium-linux/fast/forms/input-appearance-spinbutton-layer-expected.png.
* platform/chromium-mac-leopard/fast/forms/input-appearance-number-rtl-expected.png: Removed.
* platform/chromium-mac-leopard/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Removed.
* platform/chromium-mac-leopard/fast/forms/input-appearance-spinbutton-layer-expected.png: Removed.
* platform/chromium-mac-leopard/fast/forms/number: Added.
* platform/chromium-mac-leopard/fast/forms/number/input-appearance-number-rtl-expected.png: Copied from LayoutTests/platform/chromium-mac-leopard/fast/forms/input-appearance-number-rtl-expected.png.
* platform/chromium-mac-leopard/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png: Copied from LayoutTests/platform/chromium-mac-leopard/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png.
* platform/chromium-mac-leopard/fast/forms/number/input-appearance-spinbutton-layer-expected.png: Copied from LayoutTests/platform/chromium-mac-leopard/fast/forms/input-appearance-spinbutton-layer-expected.png.
* platform/chromium-mac/fast/forms/input-appearance-number-rtl-expected.png: Removed.
* platform/chromium-mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Removed.
* platform/chromium-mac/fast/forms/input-appearance-spinbutton-layer-expected.png: Removed.
* platform/chromium-mac/fast/forms/number: Added.
* platform/chromium-mac/fast/forms/number/input-appearance-number-rtl-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/forms/input-appearance-number-rtl-expected.png.
* platform/chromium-mac/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png.
* platform/chromium-mac/fast/forms/number/input-appearance-spinbutton-layer-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/forms/input-appearance-spinbutton-layer-expected.png.
* platform/chromium-win/fast/forms/input-appearance-number-rtl-expected.png: Removed.
* platform/chromium-win/fast/forms/input-appearance-number-rtl-expected.txt: Removed.
* platform/chromium-win/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Removed.
* platform/chromium-win/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt: Removed.
* platform/chromium-win/fast/forms/input-appearance-spinbutton-layer-expected.png: Removed.
* platform/chromium-win/fast/forms/input-appearance-spinbutton-layer-expected.txt: Removed.
* platform/chromium-win/fast/forms/number: Added.
* platform/chromium-win/fast/forms/number/input-appearance-number-rtl-expected.png: Copied from LayoutTests/platform/chromium-win/fast/forms/input-appearance-number-rtl-expected.png.
* platform/chromium-win/fast/forms/number/input-appearance-number-rtl-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/forms/input-appearance-number-rtl-expected.txt.
* platform/chromium-win/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png: Copied from LayoutTests/platform/chromium-win/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png.
* platform/chromium-win/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt.
* platform/chromium-win/fast/forms/number/input-appearance-spinbutton-layer-expected.png: Copied from LayoutTests/platform/chromium-win/fast/forms/input-appearance-spinbutton-layer-expected.png.
* platform/chromium-win/fast/forms/number/input-appearance-spinbutton-layer-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/forms/input-appearance-spinbutton-layer-expected.txt.
* platform/chromium/test_expectations.txt:
* platform/efl/Skipped:
* platform/efl/fast/forms/input-appearance-number-rtl-expected.png: Removed.
* platform/efl/fast/forms/input-appearance-number-rtl-expected.txt: Removed.
* platform/efl/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Removed.
* platform/efl/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt: Removed.
* platform/efl/fast/forms/input-appearance-spinbutton-layer-expected.png: Removed.
* platform/efl/fast/forms/input-appearance-spinbutton-layer-expected.txt: Removed.
* platform/efl/fast/forms/number: Added.
* platform/efl/fast/forms/number/input-appearance-number-rtl-expected.png: Copied from LayoutTests/platform/efl/fast/forms/input-appearance-number-rtl-expected.png.
* platform/efl/fast/forms/number/input-appearance-number-rtl-expected.txt: Copied from LayoutTests/platform/efl/fast/forms/input-appearance-number-rtl-expected.txt.
* platform/efl/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png: Copied from LayoutTests/platform/efl/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png.
* platform/efl/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.txt: Copied from LayoutTests/platform/efl/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt.
* platform/efl/fast/forms/number/input-appearance-spinbutton-layer-expected.png: Copied from LayoutTests/platform/efl/fast/forms/input-appearance-spinbutton-layer-expected.png.
* platform/efl/fast/forms/number/input-appearance-spinbutton-layer-expected.txt: Copied from LayoutTests/platform/efl/fast/forms/input-appearance-spinbutton-layer-expected.txt.
* platform/gtk/Skipped:
* platform/gtk/fast/forms/input-appearance-number-rtl-expected.png: Removed.
* platform/gtk/fast/forms/input-appearance-number-rtl-expected.txt: Removed.
* platform/gtk/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Removed.
* platform/gtk/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt: Removed.
* platform/gtk/fast/forms/input-appearance-spinbutton-layer-expected.png: Removed.
* platform/gtk/fast/forms/input-appearance-spinbutton-layer-expected.txt: Removed.
* platform/gtk/fast/forms/number: Added.
* platform/gtk/fast/forms/number/input-appearance-number-rtl-expected.png: Copied from LayoutTests/platform/gtk/fast/forms/input-appearance-number-rtl-expected.png.
* platform/gtk/fast/forms/number/input-appearance-number-rtl-expected.txt: Copied from LayoutTests/platform/gtk/fast/forms/input-appearance-number-rtl-expected.txt.
* platform/gtk/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png: Copied from LayoutTests/platform/gtk/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png.
* platform/gtk/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.txt: Copied from LayoutTests/platform/gtk/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt.
* platform/gtk/fast/forms/number/input-appearance-spinbutton-layer-expected.png: Copied from LayoutTests/platform/gtk/fast/forms/input-appearance-spinbutton-layer-expected.png.
* platform/gtk/fast/forms/number/input-appearance-spinbutton-layer-expected.txt: Copied from LayoutTests/platform/gtk/fast/forms/input-appearance-spinbutton-layer-expected.txt.
* platform/mac/fast/forms/input-appearance-number-rtl-expected.png: Removed.
* platform/mac/fast/forms/input-appearance-number-rtl-expected.txt: Removed.
* platform/mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Removed.
* platform/mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt: Removed.
* platform/mac/fast/forms/input-appearance-spinbutton-layer-expected.png: Removed.
* platform/mac/fast/forms/input-appearance-spinbutton-layer-expected.txt: Removed.
* platform/mac/fast/forms/number: Added.
* platform/mac/fast/forms/number/input-appearance-number-rtl-expected.png: Copied from LayoutTests/platform/mac/fast/forms/input-appearance-number-rtl-expected.png.
* platform/mac/fast/forms/number/input-appearance-number-rtl-expected.txt: Copied from LayoutTests/platform/mac/fast/forms/input-appearance-number-rtl-expected.txt.
* platform/mac/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png: Copied from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png.
* platform/mac/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.txt: Copied from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt.
* platform/mac/fast/forms/number/input-appearance-spinbutton-layer-expected.png: Copied from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-layer-expected.png.
* platform/mac/fast/forms/number/input-appearance-spinbutton-layer-expected.txt: Copied from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-layer-expected.txt.
* platform/qt-wk2/Skipped:
* platform/qt/Skipped:
* platform/qt/fast/forms/input-appearance-number-rtl-expected.png: Removed.
* platform/qt/fast/forms/input-appearance-number-rtl-expected.txt: Removed.
* platform/qt/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Removed.
* platform/qt/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt: Removed.
* platform/qt/fast/forms/input-appearance-spinbutton-layer-expected.png: Removed.
* platform/qt/fast/forms/input-appearance-spinbutton-layer-expected.txt: Removed.
* platform/qt/fast/forms/number: Added.
* platform/qt/fast/forms/number/input-appearance-number-rtl-expected.png: Copied from LayoutTests/platform/qt/fast/forms/input-appearance-number-rtl-expected.png.
* platform/qt/fast/forms/number/input-appearance-number-rtl-expected.txt: Copied from LayoutTests/platform/qt/fast/forms/input-appearance-number-rtl-expected.txt.
* platform/qt/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png: Copied from LayoutTests/platform/qt/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png.
* platform/qt/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.txt: Copied from LayoutTests/platform/qt/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.txt.
* platform/qt/fast/forms/number/input-appearance-spinbutton-layer-expected.png: Copied from LayoutTests/platform/qt/fast/forms/input-appearance-spinbutton-layer-expected.png.
* platform/qt/fast/forms/number/input-appearance-spinbutton-layer-expected.txt: Copied from LayoutTests/platform/qt/fast/forms/input-appearance-spinbutton-layer-expected.txt.
* platform/win/Skipped:
* platform/wk2/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102226 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoTypingCommand duplicates code to obtain the last typing command
rniwa@webkit.org [Wed, 7 Dec 2011 09:03:51 +0000 (09:03 +0000)]
TypingCommand duplicates code to obtain the last typing command
https://bugs.webkit.org/show_bug.cgi?id=73984

Reviewed by Kent Tamura.

Extracted lastTypingCommandIfStillOpenForTyping out of isOpenForMoreTypingCommand
and a bunch of TypingCommand static member functions.

Also made more member functions of TypingCommand private.

* editing/Editor.cpp:
(WebCore::Editor::setComposition):
* editing/FrameSelection.cpp:
(WebCore::FrameSelection::setSelection):
* editing/TypingCommand.cpp:
(WebCore::TypingCommand::deleteSelection):
(WebCore::TypingCommand::deleteKeyPressed):
(WebCore::TypingCommand::forwardDeleteKeyPressed):
(WebCore::TypingCommand::insertText):
(WebCore::TypingCommand::insertLineBreak):
(WebCore::TypingCommand::insertParagraphSeparatorInQuotedContent):
(WebCore::TypingCommand::insertParagraphSeparator):
(WebCore::TypingCommand::lastTypingCommandIfStillOpenForTyping):
(WebCore::TypingCommand::closeTyping):
* editing/TypingCommand.h:
(WebCore::TypingCommand::isOpenForMoreTyping):
(WebCore::TypingCommand::closeTyping):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102225 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdd back a file accidentally removed in r102210.
rniwa@webkit.org [Wed, 7 Dec 2011 08:14:39 +0000 (08:14 +0000)]
Add back a file accidentally removed in r102210.

* fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Copied from
LayoutTests/platform/gtk/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102224 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoupstream BlackBerry porting of KURL/Logging
commit-queue@webkit.org [Wed, 7 Dec 2011 06:26:36 +0000 (06:26 +0000)]
upstream BlackBerry porting of KURL/Logging
https://bugs.webkit.org/show_bug.cgi?id=73524

Patch by Mary Wu <mary.wu@torchmobile.com.cn> on 2011-12-06
Reviewed by Antonio Gomes.

* platform/blackberry/KURLBlackBerry.cpp: Added.
(WebCore::KURL::fileSystemPath):
* platform/blackberry/LoggingBlackBerry.cpp: Added.
(WebCore::initializeWithUserDefault):
(WebCore::InitializeLoggingChannelsIfNecessary):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102223 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago Correct svn:mime-type of platform/*/fast/forms/*.png.
tkent@chromium.org [Wed, 7 Dec 2011 05:57:06 +0000 (05:57 +0000)]
    Correct svn:mime-type of platform/*/fast/forms/*.png.

        * platform/chromium-cg-mac-leopard/fast/forms/input-align-image-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac-leopard/fast/forms/listbox-bidi-align-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac-leopard/fast/forms/range/slider-padding-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac-leopard/fast/forms/select-baseline-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac-leopard/fast/forms/select-visual-hebrew-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac-leopard/fast/forms/visual-hebrew-text-field-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac-snowleopard/fast/forms/menulist-clip-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac-snowleopard/fast/forms/menulist-option-wrap-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac-snowleopard/fast/forms/menulist-restrict-line-height-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac-snowleopard/fast/forms/menulist-separator-painting-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac-snowleopard/fast/forms/menulist-style-color-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac-snowleopard/fast/forms/select-baseline-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac-snowleopard/fast/forms/select-empty-option-height-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac/fast/forms/basic-selects-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac/fast/forms/input-align-image-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac/fast/forms/listbox-bidi-align-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac/fast/forms/preserveFormDuringResidualStyle-expected.png: Modified property svn:mime-type.
        * platform/chromium-cg-mac/fast/forms/select-background-none-expected.png: Modified property svn:mime-type.
        * platform/chromium-linux/fast/forms/listbox-bidi-align-expected.png: Modified property svn:mime-type.
        * platform/chromium-linux/fast/forms/select-background-none-expected.png: Added property svn:mime-type.
        * platform/chromium-linux/fast/forms/select-dirty-parent-pref-widths-expected.png: Modified property svn:mime-type.
        * platform/chromium-linux/fast/forms/textfield-focus-ring-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac-snowleopard/fast/forms/menulist-clip-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac-snowleopard/fast/forms/menulist-narrow-width-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac-snowleopard/fast/forms/menulist-option-wrap-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac-snowleopard/fast/forms/menulist-restrict-line-height-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac-snowleopard/fast/forms/menulist-separator-painting-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac-snowleopard/fast/forms/menulist-style-color-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac-snowleopard/fast/forms/select-baseline-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac-snowleopard/fast/forms/select-empty-option-height-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/003-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/004-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/005-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/006-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/007-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/HTMLOptionElement_label01-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/HTMLOptionElement_label02-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/HTMLOptionElement_label03-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/HTMLOptionElement_label04-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/HTMLOptionElement_label05-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/basic-buttons-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/basic-selects-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/basic-textareas-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/basic-textareas-quirks-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/blankbuttons-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/box-shadow-override-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/button-align-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/button-cannot-be-nested-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/button-default-title-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/button-generated-content-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/button-inner-block-reuse-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/button-positioned-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/button-sizes-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/button-style-color-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/button-table-styles-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/button-text-transform-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/button-white-space-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/caret-rtl-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/control-clip-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/control-clip-overflow-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/control-restrict-line-height-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/disabled-select-change-index-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/encoding-test-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/fieldset-align-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/fieldset-with-float-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/file/file-input-direction-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/file/input-file-re-render-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/float-before-fieldset-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/floating-textfield-relayout-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/form-added-to-table-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/form-hides-table-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/formmove3-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/hidden-listbox-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/image-border-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-align-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-align-image-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-bkcolor-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-default-bkcolor-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-disabled-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-focus-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-height-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-number-rtl-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-preventDefault-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-range-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-readonly-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-selection-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-spinbutton-layer-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-visibility-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-appearance-width-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-baseline-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-button-sizes-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-double-click-selection-gap-bug-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-field-text-truncated-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-first-letter-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-no-renderer-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-readonly-autoscroll-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-readonly-dimmed-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-readonly-empty-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-spaces-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-table-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-text-click-inside-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-text-click-outside-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-text-double-click-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-text-drag-down-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-text-option-delete-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-text-scroll-left-on-blur-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-text-self-emptying-click-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-text-word-wrap-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/input-type-text-min-width-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/linebox-overflow-in-textarea-padding-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/listbox-bidi-align-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/listbox-hit-test-zoomed-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/listbox-scrollbar-incremental-load-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/listbox-width-change-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/menulist-deselect-update-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/menulist-no-overflow-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/menulist-width-change-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/minWidthPercent-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/negativeLineHeight-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/option-index-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/option-script-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/option-strip-whitespace-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/option-text-clip-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/plaintext-mode-2-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/preserveFormDuringResidualStyle-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/range-thumb-height-percentage-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/range/slider-padding-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/range/slider-thumb-shared-style-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/range/thumbslider-no-parent-slider-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/search-cancel-button-style-sharing-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/search-display-none-cancel-button-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/search-rtl-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/search-vertical-alignment-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/searchfield-heights-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-align-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-background-none-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-block-background-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-change-listbox-size-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-change-listbox-to-popup-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-change-popup-to-listbox-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-dirty-parent-pref-widths-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-disabled-appearance-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-display-none-style-resolve-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-initial-position-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-item-background-clip-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-list-box-with-height-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-selected-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-size-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-style-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-visual-hebrew-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/select-writing-direction-natural-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/selectlist-minsize-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/slider-padding-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/slider-thumb-shared-style-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/stuff-on-my-optgroup-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/tabbing-input-iframe-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/targeted-frame-submission-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/text-style-color-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/textAreaLineHeight-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/textarea-align-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/textarea-scroll-height-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/textarea-scrollbar-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/textarea-scrolled-type-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/textarea-setinnerhtml-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/textarea-width-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/textfield-focus-ring-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/textfield-outline-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/textfield-overflow-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/thumbslider-no-parent-slider-expected.png: Modified property svn:mime-type.
        * platform/chromium-mac/fast/forms/visual-hebrew-text-field-expected.png: Modified property svn:mime-type.
        * platform/chromium-win/fast/forms/listbox-bidi-align-expected.png: Modified property svn:mime-type.
        * platform/chromium-win/fast/forms/textfield-focus-ring-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/001-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/002-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/003-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/004-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/005-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/006-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/007-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/HTMLOptionElement_label01-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/HTMLOptionElement_label02-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/HTMLOptionElement_label03-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/HTMLOptionElement_label04-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/HTMLOptionElement_label05-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/HTMLOptionElement_label06-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/HTMLOptionElement_label07-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/basic-buttons-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/basic-inputs-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/basic-selects-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/basic-textareas-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/basic-textareas-quirks-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/blankbuttons-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/box-shadow-override-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/button-align-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/button-cannot-be-nested-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/button-default-title-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/button-generated-content-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/button-inner-block-reuse-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/button-positioned-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/button-sizes-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/button-style-color-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/button-submit-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/button-table-styles-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/button-text-transform-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/button-white-space-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/caret-rtl-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/checkbox-radio-onchange-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/control-clip-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/control-clip-overflow-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/control-restrict-line-height-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/disabled-select-change-index-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/encoding-test-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/fieldset-align-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/fieldset-with-float-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/file/file-input-direction-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/file/file-input-disabled-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/float-before-fieldset-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/floating-textfield-relayout-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/form-added-to-table-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/form-element-geometry-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/form-hides-table-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/form-in-malformed-markup-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/formmove-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/formmove2-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/formmove3-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/hidden-listbox-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/image-border-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/indeterminate-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-align-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-align-image-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-appearance-bkcolor-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-appearance-default-bkcolor-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-appearance-focus-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-appearance-height-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-appearance-number-rtl-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-appearance-preventDefault-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-appearance-selection-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-appearance-spinbutton-disabled-readonly-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-appearance-spinbutton-layer-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-appearance-visibility-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-appearance-width-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-baseline-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-button-sizes-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-disabled-color-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-double-click-selection-gap-bug-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-field-text-truncated-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-first-letter-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-no-renderer-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-paste-undo-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-placeholder-visibility-1-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-readonly-dimmed-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-readonly-empty-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-spaces-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-table-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-text-click-inside-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-text-option-delete-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-text-scroll-left-on-blur-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-text-self-emptying-click-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-text-word-wrap-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-type-text-min-width-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-value-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/input-width-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/linebox-overflow-in-textarea-padding-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/listbox-bidi-align-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/listbox-clip-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/listbox-hit-test-zoomed-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/listbox-scrollbar-incremental-load-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/listbox-width-change-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/menulist-clip-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/menulist-deselect-update-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/menulist-narrow-width-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/menulist-no-overflow-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/menulist-option-wrap-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/menulist-restrict-line-height-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/menulist-separator-painting-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/menulist-style-color-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/menulist-width-change-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/minWidthPercent-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/negativeLineHeight-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/option-index-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/option-script-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/option-strip-whitespace-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/option-text-clip-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/placeholder-position-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/placeholder-pseudo-style-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/preserveFormDuringResidualStyle-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/radio-attr-order-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/radio-nested-labels-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/radio_checked-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/radio_checked_dynamic-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/range/input-appearance-range-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/range/range-thumb-height-percentage-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/range/slider-padding-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/range/slider-thumb-shared-style-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/range/slider-thumb-stylability-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/range/thumbslider-no-parent-slider-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/search-cancel-button-style-sharing-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/search-display-none-cancel-button-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/search-rtl-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/search-styled-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/search-vertical-alignment-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/searchfield-heights-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-align-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-background-none-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-baseline-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-block-background-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-change-listbox-size-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-change-listbox-to-popup-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-change-popup-to-listbox-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-dirty-parent-pref-widths-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-disabled-appearance-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-display-none-style-resolve-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-empty-option-height-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-initial-position-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-item-background-clip-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-list-box-with-height-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-listbox-multiple-no-focusring-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-selected-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-size-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-style-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-visual-hebrew-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/select-writing-direction-natural-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/selectlist-minsize-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/stuff-on-my-optgroup-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/tabbing-input-iframe-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/targeted-frame-submission-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/text-style-color-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/textAreaLineHeight-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/textarea-align-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/textarea-placeholder-pseudo-style-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/textarea-scroll-height-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/textarea-scrolled-type-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/textarea-setinnerhtml-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/textarea-width-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/textfield-focus-ring-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/textfield-outline-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/textfield-overflow-by-value-update-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/textfield-overflow-expected.png: Modified property svn:mime-type.
        * platform/efl/fast/forms/visual-hebrew-text-field-expected.png: Modified property svn:mime-type.
        * platform/gtk/fast/forms/input-appearance-spinbutton-layer-expected.png: Added property svn:mime-type.
        * platform/gtk/fast/forms/select-background-none-expected.png: Added property svn:mime-type.
        * platform/mac-leopard/fast/forms/caret-rtl-expected.png: Modified property svn:mime-type.
        * platform/mac-leopard/fast/forms/form-added-to-table-expected.png: Modified property svn:mime-type.
        * platform/mac-leopard/fast/forms/form-in-malformed-markup-expected.png: Modified property svn:mime-type.
        * platform/mac-leopard/fast/forms/image-border-expected.png: Modified property svn:mime-type.
        * platform/mac-leopard/fast/forms/input-field-text-truncated-expected.png: Modified property svn:mime-type.
        * platform/mac-leopard/fast/forms/input-type-text-min-width-expected.png: Modified property svn:mime-type.
        * platform/mac-leopard/fast/forms/menulist-style-color-expected.png: Modified property svn:mime-type.
        * platform/mac-leopard/fast/forms/placeholder-pseudo-style-expected.png: Modified property svn:mime-type.
        * platform/mac-leopard/fast/forms/search-display-none-cancel-button-expected.png: Modified property svn:mime-type.
        * platform/mac-leopard/fast/forms/search-vertical-alignment-expected.png: Modified property svn:mime-type.
        * platform/mac-leopard/fast/forms/textarea-width-expected.png: Modified property svn:mime-type.
        * platform/mac-snowleopard/fast/forms/input-placeholder-visibility-1-expected.png: Modified property svn:mime-type.
        * platform/mac-snowleopard/fast/forms/input-placeholder-visibility-3-expected.png: Modified property svn:mime-type.
        * platform/qt/fast/forms/basic-selects-expected.png: Modified property svn:mime-type.
        * platform/qt/fast/forms/input-button-sizes-expected.png: Modified property svn:mime-type.
        * platform/qt/fast/forms/input-placeholder-focus-twice-expected.png: Modified property svn:mime-type.
        * platform/qt/fast/forms/range/slider-crash-expected.png: Added property svn:mime-type.
        * platform/win/fast/forms/input-text-drag-down-expected.png: Modified property svn:mime-type.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102222 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[BlackBerry] Remove redundant files in PlatformBlackBerry.cmake
leo.yang@torchmobile.com.cn [Wed, 7 Dec 2011 05:27:30 +0000 (05:27 +0000)]
[BlackBerry] Remove redundant files in PlatformBlackBerry.cmake
https://bugs.webkit.org/show_bug.cgi?id=73976

Reviewed by Antonio Gomes.

The listing of the following files in PlatformBlackBerry.cmake are redundant. They should be removed.
platform/network/blackberry/MultipartResponseDelegate.cpp
platform/network/blackberry/NetworkManager.cpp
platform/network/blackberry/NetworkStateNotifierBlackBerry.cpp
platform/network/blackberry/ResourceErrorBlackBerry.cpp
platform/network/blackberry/ResourceRequestBlackBerry.cpp

* PlatformBlackBerry.cmake:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102221 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoZapping a block that is Marked leads to dead objects being mistaken for live ones
fpizlo@apple.com [Wed, 7 Dec 2011 05:25:49 +0000 (05:25 +0000)]
Zapping a block that is Marked leads to dead objects being mistaken for live ones
https://bugs.webkit.org/show_bug.cgi?id=73982

Reviewed by Geoff Garen.

Changed the zapping code to ignore blocks that are Marked or Zapped. Additionally,
the code asserts that:

- If we zap a Marked or Zapped block then the free list is empty, because this
  can only happen if the block was never free-listed.

- Zapping can only happen for Marked, Zapped, or FreeListed blocks, since Allocated
  blocks are those that cannot be referred to by SizeClass::currentBlock (since
  SizeClass::currentBlock only refers to blocks that are candidates for allocation,
  and Allocated blocks are those who have been exhausted by allocation and will not
  be allocated from again), and New blocks cannot be referred to by anything except
  during a brief window inside the allocation slow-path.

* heap/MarkedBlock.cpp:
(JSC::MarkedBlock::zapFreeList):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102220 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoCopy hover-active-drag-expected.txt for Chromium.
rniwa@webkit.org [Wed, 7 Dec 2011 05:01:38 +0000 (05:01 +0000)]
Copy hover-active-drag-expected.txt for Chromium.

* platform/chromium/fast/css/hover-active-drag-expected.txt: Copied from LayoutTests/fast/css/hover-active-drag-expected.txt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102219 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRefactoring: Editor::markAllMisspellingsAndBadGrammarInRanges should be refactored.
commit-queue@webkit.org [Wed, 7 Dec 2011 05:00:57 +0000 (05:00 +0000)]
Refactoring: Editor::markAllMisspellingsAndBadGrammarInRanges should be refactored.
https://bugs.webkit.org/show_bug.cgi?id=73628

Patch by Shinya Kawanaka <shinyak@google.com> on 2011-12-06
Reviewed by Hajime Morita.

Extracted a code for adding markers and replacing misspelled words from WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges.

No new tests. covered by existing tests.

* editing/Editor.cpp:
(WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
  Extracted a code for adding markers and replacing missplled words, and moved to markAndReplaceFor.
(WebCore::Editor::markAndReplaceFor):
* editing/Editor.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102218 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAvoid calling calculateRects in RenderLayer::paintLayer when the rectangles are not...
jchaffraix@webkit.org [Wed, 7 Dec 2011 04:53:10 +0000 (04:53 +0000)]
Avoid calling calculateRects in RenderLayer::paintLayer when the rectangles are not needed
https://bugs.webkit.org/show_bug.cgi?id=73754

Reviewed by Simon Fraser.

Performance change, no change in behavior.

RenderLayer::paintLayer can easily be called a million time when scrolling on a big table with
td { overflow: hidden; }. We would spend a lot of time recomputing the rectangles that we never
unused for painting as our layer was not self-painting (clipping layer only) and we did not paint
some overlay scrollbars.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintLayer):
Simplified and moved the shouldPaint logic earlier in the function. Now the branches
are checking the same boolean which makes the logic more obvious. A consequence of
filling shouldPaint earlier is that we call |calculateRects| only if there is a chance
the rectangles will used. Also cached the result of isSelfPaintingLayer() in a local
variable (isSelfPaintingLayer() is fairly expensive due to several virtual calls).

* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::paintIntoLayer):
For coherency, applied the same optimizations here too: added an early return instead
of conditionaly call |calculateRects| as we don't have to restore any clip.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102217 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRemove the leapForward accidentally added in the previous commit, and add a failing...
rniwa@webkit.org [Wed, 7 Dec 2011 04:46:33 +0000 (04:46 +0000)]
Remove the leapForward accidentally added in the previous commit, and add a failing test expectation
for offsetX-offset-Y.html. The failure is tracked by the bug 73979.

* fast/events/offsetX-offsetY-expected.txt:
* fast/forms/select-multiple-elements-with-mouse-drag-with-options-less-than-size.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102216 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFixed the test added by r100111.
rniwa@webkit.org [Wed, 7 Dec 2011 04:38:10 +0000 (04:38 +0000)]
Fixed the test added by r100111.

* fast/forms/select-multiple-elements-with-mouse-drag-with-options-less-than-size.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102215 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoSimplify KURL's checkEncodedString()
benjamin@webkit.org [Wed, 7 Dec 2011 04:24:41 +0000 (04:24 +0000)]
Simplify KURL's checkEncodedString()
https://bugs.webkit.org/show_bug.cgi?id=73890

Reviewed by Andreas Kling.

The Macro UNUSED_PARAM is not supposed to be used for this case,
use ASSERT_UNUSED instead.

* platform/KURL.cpp:
(WebCore::checkEncodedString):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102214 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoSkip tests added by r101883 on Mac since they have been failing.
rniwa@webkit.org [Wed, 7 Dec 2011 04:14:34 +0000 (04:14 +0000)]
Skip tests added by r101883 on Mac since they have been failing.
The failure is tracked by the bug 73977.

* platform/mac/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102213 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUpdate <track> layout tests
eric.carlson@apple.com [Wed, 7 Dec 2011 04:04:44 +0000 (04:04 +0000)]
Update <track> layout tests
https://bugs.webkit.org/show_bug.cgi?id=73966

<track> elements won't necessarily load automatically after https://bugs.webkit.org/show_bug.cgi?id=72547
is fixed, so update tests now.

Reviewed by Sam Weinig.

* media/track/text-track-cue-is-reachable-expected.txt: Added.
* media/track/text-track-cue-is-reachable.html: Added.
* media/track/text-track-is-reachable-expected.txt: Added.
* media/track/text-track-is-reachable.html: Added.
* media/track/track-add-remove-cue.html:
* media/track/track-cues-cuechange.html:
* media/track/track-cues-enter-exit.html:
* media/track/track-cues-seeking.html:
* media/track/track-load-error-readyState.html:
* media/track/track-load-from-element-readyState.html:
* media/track/track-load-from-src-readyState.html:
* media/track/track-text-track-cue-list.html:
* media/track/track-webvtt-tc000-empty.html:
* media/track/track-webvtt-tc001-utf8.html:
* media/track/track-webvtt-tc002-bom.html:
* media/track/track-webvtt-tc003-newlines.html:
* media/track/track-webvtt-tc004-magic-header.html:
* media/track/track-webvtt-tc005-header-comment.html:
* media/track/track-webvtt-tc006-cue-identifiers.html:
* media/track/track-webvtt-tc007-cue-no-id.html:
* media/track/track-webvtt-tc008-timings-no-hours.html:
* media/track/track-webvtt-tc009-timings-hour.html:
* media/track/track-webvtt-tc010-no-timings.html:
* media/track/track-webvtt-tc011-blank-lines.html:
* media/track/track-webvtt-tc013-settings.html:
* media/track/track-webvtt-tc014-alignment.html:
* media/track/track-webvtt-tc015-positioning.html:
* media/track/track-webvtt-tc016-align-positioning.html:
* media/track/track-webvtt-tc017-line-position.html:
* media/track/track-webvtt-tc018-align-text-line-position.html:
* media/track/track-webvtt-tc019-cue-size.html:
* media/track/track-webvtt-tc020-cue-size-align.html:
* media/track/track-webvtt-tc021-valign.html:
* media/track/track-webvtt-tc022-entities.html:
* media/track/track-webvtt-tc023-markup.html:
* media/track/track-webvtt-tc024-timestamp.html:
* media/track/track-webvtt-tc025-class-markup.html:
* media/track/track-webvtt-tc026-voice.html:
* media/track/track-webvtt-tc027-empty-cue.html:
* media/track/track-webvtt-tc028-unsupported-markup.html:
* media/video-test.js:
(testTracks):
(testCues):
(allTestsEnded):
(enableAllTextTracks):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102212 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdd a failing expectation for the test added by r101619.
rniwa@webkit.org [Wed, 7 Dec 2011 03:53:26 +0000 (03:53 +0000)]
Add a failing expectation for the test added by r101619.
The failure is tracked by the bug 73975.

* platform/mac/fast/css/hover-active-drag-expected.txt: Copied from LayoutTests/fast/css/hover-active-drag-expected.txt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102211 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoGTK rebaseline after r102149.
rniwa@webkit.org [Wed, 7 Dec 2011 03:41:42 +0000 (03:41 +0000)]
GTK rebaseline after r102149.

* fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Removed.
* platform/gtk/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Copied from LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102210 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed. Suppress failure of fast/canvas/webgl/canvas-2d-webgl-texture.html
kbr@google.com [Wed, 7 Dec 2011 03:28:35 +0000 (03:28 +0000)]
Unreviewed. Suppress failure of fast/canvas/webgl/canvas-2d-webgl-texture.html
on Mac; tracking bug https://bugs.webkit.org/show_bug.cgi?id=73974 .

* platform/mac/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102209 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoThe code to create a NodeListsNodeData is duplicated everywhere
rniwa@webkit.org [Wed, 7 Dec 2011 03:17:05 +0000 (03:17 +0000)]
The code to create a NodeListsNodeData is duplicated everywhere
https://bugs.webkit.org/show_bug.cgi?id=73961

Reviewed by Darin Adler.

Extracted the logic to create NodeListsNodeData as NodeRareData::ensureNodeLists.

* dom/Document.cpp:
(WebCore::Document::getItems):
* dom/Node.cpp:
(WebCore::Node::childNodes):
(WebCore::Node::registerDynamicNodeList):
(WebCore::Node::getElementsByTagName):
(WebCore::Node::getElementsByTagNameNS):
(WebCore::Node::getElementsByName):
(WebCore::Node::getElementsByClassName):
* dom/NodeRareData.h:
(WebCore::NodeRareData::ensureNodeLists):
* html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::labels):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102208 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUpstream about: feature in WebKit/blackberry/WebCoreSupport/
leo.yang@torchmobile.com.cn [Wed, 7 Dec 2011 02:37:25 +0000 (02:37 +0000)]
Upstream about: feature in WebKit/blackberry/WebCoreSupport/
https://bugs.webkit.org/show_bug.cgi?id=73612

Reviewed by Antonio Gomes.

Source/WebCore:

* PlatformBlackBerry.cmake: Move platform/network/blackberry/AboutData.{h, cpp}
                            to WebKit/blackberry/WebCoreSupport

Source/WebKit:

* blackberry/CMakeListsBlackBerry.txt:
* blackberry/WebCoreSupport/AboutData.cpp: Added.
(WebCore::numberToHTMLTr):
(WebCore::configPage):
(WebCore::cacheTypeStatisticToHTMLTr):
(WebCore::memoryPage):
* blackberry/WebCoreSupport/AboutData.h: Added.
* blackberry/WebCoreSupport/AboutDataEnableFeatures.in: Added.
* blackberry/WebCoreSupport/AboutDataHaveFeatures.in: Added.
* blackberry/WebCoreSupport/AboutDataUseFeatures.in: Added.
* blackberry/WebCoreSupport/generateAboutDataFeatures.pl: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102207 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWebKit Mac does not build without CONTEXT MENU
benjamin@webkit.org [Wed, 7 Dec 2011 02:11:14 +0000 (02:11 +0000)]
WebKit Mac does not build without CONTEXT MENU
https://bugs.webkit.org/show_bug.cgi?id=73962

Patch by Benjamin Poulain <bpoulain@apple.com> on 2011-12-06
Reviewed by Pavel Feldman.

In the patch r100903, the symbols were exported under ENABLE(CONTEXT_MENUS)
because the feature is triggered from the menus.

The implementation has no dependency on the context menu but is necessary to build
when the inspector is enabled.
This patch moves the exported symbols from ENABLE(CONTEXT_MENUS) to ENABLE(INSPECTOR).

* WebCore.exp.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102205 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFix typo in WebKit.gyp introduced in previous change.
dpranke@chromium.org [Wed, 7 Dec 2011 01:48:43 +0000 (01:48 +0000)]
Fix typo in WebKit.gyp introduced in previous change.

Unreviewed, build fix.

* WebKit.gyp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102202 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago.: Add Tools/Tool.xcodeproj,
dpranke@chromium.org [Wed, 7 Dec 2011 01:39:36 +0000 (01:39 +0000)]
.: Add Tools/Tool.xcodeproj,
Source/WebKit/chromium/WebKitUnitTests.xcodeproj,
Source/WebKit/chromium/All.xcodeproj to .gitignore

https://bugs.webkit.org/show_bug.cgi?id=73823

Reviewed by Tony Chang.

* .gitignore:

Source/WebKit/chromium: binaries in webkit.gyp should be split into a new file to break circular dependencies on webkit_support
https://bugs.webkit.org/show_bug.cgi?id=73382

Reviewed by Tony Chang.

XCode (and hence GYP) can't handle circular dependencies between
files (and projects). Accordingly, although the binaries in
WebKit.gyp depend on webkit_support and webkit_support depends
on webkit, we don't mention the latter dependency in the file.
To fix this, this change moves the binaries like DRT into a new
GYP file, and modifies gyp_webkit to build from that file
instead of WebKit.gyp.

* WebKit.gyp:
* All.gyp:
* WebKitUnitTests.gyp:
* gyp_webkit:

Tools: binaries in webkit.gyp should be split into a new file to break circular dependencies on webkit_support
https://bugs.webkit.org/show_bug.cgi?id=73382

Reviewed by Tony Chang.

XCode (and hence GYP) can't handle circular dependencies between
files (and projects). Accordingly, although the binaries in
WebKit.gyp depend on webkit_support and webkit_support depends
on webkit, we don't mention the latter dependency in the file.
To fix this, this change moves the binaries like DRT into a new
GYP file, and modifies gyp_webkit to build from that file
instead of WebKit.gyp.

* Tools.gyp: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102201 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoDFG 32_64 call linking does not handle non-cell callees correctly
fpizlo@apple.com [Wed, 7 Dec 2011 01:29:47 +0000 (01:29 +0000)]
DFG 32_64 call linking does not handle non-cell callees correctly
https://bugs.webkit.org/show_bug.cgi?id=73965

Reviewed by Sam Weinig.

* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::emitCall):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102200 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] setNeedsCommit on non-composited host layers should trigger commit
enne@google.com [Wed, 7 Dec 2011 01:17:49 +0000 (01:17 +0000)]
[chromium] setNeedsCommit on non-composited host layers should trigger commit
https://bugs.webkit.org/show_bug.cgi?id=73711

Reviewed by James Robinson.

Source/WebCore:

Pipe non-composited content host syncs to setNeedsCommit.

Since now the NonCompositedContentHost generates setNeedsCommit, don't
call it unnecessarily, e.g. calling setBackgroundColor to the same
color each frame should not retrigger more commits.

* platform/graphics/chromium/GraphicsLayerChromium.cpp:
(WebCore::GraphicsLayerChromium::setAnchorPoint):
(WebCore::GraphicsLayerChromium::setTransform):
(WebCore::GraphicsLayerChromium::setChildrenTransform):
(WebCore::GraphicsLayerChromium::setMasksToBounds):
(WebCore::GraphicsLayerChromium::setBackgroundColor):
(WebCore::GraphicsLayerChromium::clearBackgroundColor):
(WebCore::GraphicsLayerChromium::setContentsOpaque):
(WebCore::GraphicsLayerChromium::setBackfaceVisibility):
(WebCore::GraphicsLayerChromium::setOpacity):
* platform/graphics/chromium/LayerChromium.cpp:
(WebCore::LayerChromium::setNeedsCommit):
(WebCore::LayerChromium::setAnchorPoint):
(WebCore::LayerChromium::setAnchorPointZ):
(WebCore::LayerChromium::setBackgroundColor):
(WebCore::LayerChromium::setMasksToBounds):
(WebCore::LayerChromium::setMaskLayer):
(WebCore::LayerChromium::setOpacity):
(WebCore::LayerChromium::setOpaque):
(WebCore::LayerChromium::setPosition):
(WebCore::LayerChromium::setSublayerTransform):
(WebCore::LayerChromium::setTransform):
(WebCore::LayerChromium::setScrollPosition):
(WebCore::LayerChromium::setScrollable):
(WebCore::LayerChromium::setDoubleSided):
* platform/graphics/chromium/LayerChromium.h:
(WebCore::LayerChromium::setReplicaLayer):
* platform/graphics/chromium/NonCompositedContentHost.cpp:
(WebCore::NonCompositedContentHost::notifySyncRequired):
* platform/graphics/chromium/NonCompositedContentHost.h:

Source/WebKit/chromium:

Add some tests to make sure that modifying the noncomposited content
host triggers commits.

Properties that trigger setNeedsCommit should only do so when the
property changes. Additionally, make more property changes properly
trigger commits.

* tests/LayerChromiumTest.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102196 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRemove unintentional type name shadowing in the Interpreter
weinig@apple.com [Wed, 7 Dec 2011 00:55:23 +0000 (00:55 +0000)]
Remove unintentional type name shadowing in the Interpreter
https://bugs.webkit.org/show_bug.cgi?id=73963

Reviewed by Oliver Hunt.

* interpreter/Interpreter.cpp:
(JSC::Interpreter::prepareForRepeatCall): Replace the parameter name FunctionExecutable,
which shadows the FunctionExecutable type name, with functionExecutable.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102194 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Chromium] unknown characters symbol on \n in complex script text (RTL and LTR)
bashi@chromium.org [Wed, 7 Dec 2011 00:38:35 +0000 (00:38 +0000)]
[Chromium] unknown characters symbol on \n in complex script text (RTL and LTR)
https://bugs.webkit.org/show_bug.cgi?id=73806

Reviewed by Tony Chang.

Source/WebCore:

Sets fMergeNeutralItems to 1 instead of merging script items based on their tags.

Tests: platform/chromium/fast/text/international/chromium-complex-text-non-printable-expected.html
       platform/chromium/fast/text/international/chromium-complex-text-non-printable.html

* platform/graphics/chromium/UniscribeHelper.cpp:
(WebCore::UniscribeHelper::fillRuns): Removed a block which merges script items.

LayoutTests:

Adds a test to ensure the missing glyph doesn't appear on LF in complex text.

* fast/text/international/chromium-complex-text-non-printable-expected.html: Added.
* fast/text/international/chromium-complex-text-non-printable.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102190 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoImplement remaining border-image and webkit-maskbox-image properties in CSSStyleApply...
macpherson@chromium.org [Wed, 7 Dec 2011 00:26:59 +0000 (00:26 +0000)]
Implement remaining border-image and webkit-maskbox-image properties in CSSStyleApplyProperty.
https://bugs.webkit.org/show_bug.cgi?id=73391

Reviewed by Hajime Morita.

No new tests / refacoring only.

* css/CSSStyleApplyProperty.cpp:
(WebCore::ApplyPropertyBorderImageModifier::getValue):
(WebCore::ApplyPropertyBorderImageModifier::setValue):
(WebCore::ApplyPropertyBorderImageModifier::applyInheritValue):
(WebCore::ApplyPropertyBorderImageModifier::applyInitialValue):
(WebCore::ApplyPropertyBorderImageModifier::applyValue):
(WebCore::ApplyPropertyBorderImageModifier::createHandler):
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
* css/CSSStyleSelector.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102188 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWeb Inspector: introduce a memory agent stub.
pfeldman@chromium.org [Tue, 6 Dec 2011 23:49:19 +0000 (23:49 +0000)]
Web Inspector: introduce a memory agent stub.
https://bugs.webkit.org/show_bug.cgi?id=73930

Reviewed by Timothy Hatcher.

We'd like to experiment with the memory stats and hence need a
nice home for that. Adding this undocumented agent / domain for now.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/ScriptProfiler.h:
(WebCore::ScriptProfiler::nodeCount):
* bindings/v8/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::nodeCount):
* bindings/v8/ScriptProfiler.h:
* inspector/Inspector.json:
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InspectorMemoryAgent.cpp: Added.
(WebCore::InspectorMemoryAgent::~InspectorMemoryAgent):
(WebCore::InspectorMemoryAgent::getNodeCounter):
(WebCore::InspectorMemoryAgent::InspectorMemoryAgent):
* inspector/InspectorMemoryAgent.h: Added.
(WebCore::InspectorMemoryAgent::create):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102187 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed build fix after 102183.
jchaffraix@webkit.org [Tue, 6 Dec 2011 23:46:50 +0000 (23:46 +0000)]
Unreviewed build fix after 102183.

* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::initialGridTrackValue):
Use DEFINE_STATIC_LOCAL to avoid having an exit-time destructor.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102186 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoInline RenderObject::view()
jchaffraix@webkit.org [Tue, 6 Dec 2011 23:38:37 +0000 (23:38 +0000)]
Inline RenderObject::view()
https://bugs.webkit.org/show_bug.cgi?id=73733

Reviewed by Darin Adler.

Micro-performance optimization, no change in behavior.

RenderObject::view() is super hot and is taking ~4-5% of the time in some
benchmarks as it is called several hundred thousands times. For some reason,
the compiler did not inline it even though it is very simple in release builds.

* WebCore.exp.in: Removed RenderObject::view() as it is inlined now.

* rendering/RenderObject.cpp: Moved the implementation from here ...
* rendering/RenderView.h:
(WebCore::RenderObject::view): ... to here to avoid a cyclic
dependency between RenderObject and RenderView. Also marked the
function as ALWAYS_INLINE.

* rendering/RenderObject.h:
* rendering/svg/RenderSVGResourceContainer.cpp:
Added #include "RenderView.h" as the code checks for view() during repaint.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102185 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoREGRESSION (r101838): Crash in LayerTreeHostCA::initialize() when accelerated drawing...
aestes@apple.com [Tue, 6 Dec 2011 23:29:48 +0000 (23:29 +0000)]
REGRESSION (r101838): Crash in LayerTreeHostCA::initialize() when accelerated drawing is enabled
https://bugs.webkit.org/show_bug.cgi?id=73955

Reviewed by Anders Carlsson.

* WebProcess/WebPage/ca/LayerTreeHostCA.cpp:
(WebKit::LayerTreeHostCA::initialize): m_webPage->drawingArea() will be
null here if we are initializing the layer tree host in DrawingArea's
ctor (as is the case when accelerated drawing is enabled), before
WebPage has set its m_drawingArea pointer. Since the layer tree cannot
have been frozen at this point, it's safe to enable layer flush
scheduling if drawingArea() is null.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102184 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoCSS Grid Layout: Add support for parsing multiple grid-columns or grid-rows
jchaffraix@webkit.org [Tue, 6 Dec 2011 23:11:05 +0000 (23:11 +0000)]
CSS Grid Layout: Add support for parsing multiple grid-columns or grid-rows
https://bugs.webkit.org/show_bug.cgi?id=73272

Reviewed by Tony Chang.

Source/WebCore:

Test: fast/css-grid-layout/grid-columns-rows-get-set-multiple.html

Updated our supported syntax to match the following:
<track-list> := [ <track-breadth> ]+ | 'none'
<track-breadth> := <length> | <percentage> | 'auto'
(the naming loosely matches the specification)

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::valueForGridTrackBreadth): Added function to handle a breadth
(extended with 'auto' that the spec puts in <track-minmax>).

(WebCore::valueForGridTrackList): Create a space seperated list of
track breadth or none.

(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Updated
to use the new functions.

* css/CSSParser.cpp:
(WebCore::CSSParser::parseGridTrackList): Extended the function to
match the new syntax.

* css/CSSStyleApplyProperty.cpp:
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty): Removed our
simple implementation. Replaced by the CSSStyleSelector functions.

* css/CSSStyleSelector.cpp:
(WebCore::createGridTrackBreadth):
(WebCore::createGridTrackList):
Added those 2 functions to convert the CSSPrimitiveValue to a Vector
as expected by RenderStyle.

(WebCore::CSSStyleSelector::applyProperty): Added our 2 properties
now that it is not handled by CSSStyleApplyProperty.

* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::gridColumns):
(WebCore::InheritedFlags::gridRows):
(WebCore::InheritedFlags::setGridColumns):
(WebCore::InheritedFlags::setGridRows):
(WebCore::InheritedFlags::initialGridColumns):
(WebCore::InheritedFlags::initialGridRows):
Updated the previous methods to take a Vector of Length.

(WebCore::InheritedFlags::initialGridTrackValue):
Needed function to return a Vector with one 'none' Length (the initial
value per the specification).

* rendering/style/StyleGridData.h: Updated to use a Vector.

LayoutTests:

* fast/css-grid-layout/grid-columns-rows-get-set-expected.txt:
* fast/css-grid-layout/resources/grid-columns-rows-get-set.js:
Added more testing for the single case.

* fast/css-grid-layout/grid-columns-rows-get-set-multiple-expected.txt: Added.
* fast/css-grid-layout/grid-columns-rows-get-set-multiple.html: Added.
* fast/css-grid-layout/resources/grid-columns-rows-get-set-multiple.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102183 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agor102146 from 73875 broke fast/js/encode-URI-test.html
msaboff@apple.com [Tue, 6 Dec 2011 22:41:56 +0000 (22:41 +0000)]
r102146 from 73875 broke fast/js/encode-URI-test.html
https://bugs.webkit.org/show_bug.cgi?id=73950

Reviewed by Gavin Barraclough.

* runtime/JSGlobalObjectFunctions.cpp:
(JSC::globalFuncUnescape): Restructured to handle
the %uHHHH case to output the resulting character
and continue so that a failure in finding 4 hex
digits will fall through and output the '%'.
Due to style check, changed the temporary
character variable to a more descriptive name.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102182 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Chromium] Implement tile-sized painting using SkPicture.
commit-queue@webkit.org [Tue, 6 Dec 2011 22:37:12 +0000 (22:37 +0000)]
[Chromium] Implement tile-sized painting using SkPicture.
https://bugs.webkit.org/show_bug.cgi?id=71869

Patch by David Reveman <reveman@chromium.org> on 2011-12-06
Reviewed by James Robinson.

Source/WebCore:

Add texture uploader that paints tile-sized chunks using SkPicture
recording and playback. Expose setting which allows this texture
updater to be enabled.

No new tests. Covered by existing tests.

* WebCore.gypi:
* platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.cpp: Added.
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::Texture::Texture):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::Texture::prepareRect):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::Texture::updateRect):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::create):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::BitmapSkPictureCanvasLayerTextureUpdater):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::~BitmapSkPictureCanvasLayerTextureUpdater):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::createTexture):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::sampledTexelFormat):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::prepareToUpdate):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::paintContentsRect):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::updateTextureRect):
* platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.h: Added.
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::Texture::textureUpdater):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::orientation):
* platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::createTextureUpdater):
* platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore::CCSettings::CCSettings):

Source/WebKit/chromium:

Add perTilePainting setting that is used by compositor to determine
what texture uploader to use.

* public/WebSettings.h:
* src/WebSettingsImpl.cpp:
(WebKit::WebSettingsImpl::WebSettingsImpl):
(WebKit::WebSettingsImpl::setPerTilePainting):
* src/WebSettingsImpl.h:
(WebKit::WebSettingsImpl::perTilePainting):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102181 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] Don't crash if tile upload happens without painting first
enne@google.com [Tue, 6 Dec 2011 22:26:27 +0000 (22:26 +0000)]
[chromium] Don't crash if tile upload happens without painting first
https://bugs.webkit.org/show_bug.cgi?id=73939

Reviewed by James Robinson.

Remove at least one place (in ImageLayerChromium) where this could
happen.

Although this shouldn't happen, we should be robust to it in the
chance that other code causes it to.

* platform/graphics/chromium/ImageLayerChromium.cpp:
(WebCore::ImageLayerChromium::paintContentsIfDirty):
* platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::updateCompositorResources):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102180 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoGC zapping logic could benefit from some more assertions
fpizlo@apple.com [Tue, 6 Dec 2011 22:12:56 +0000 (22:12 +0000)]
GC zapping logic could benefit from some more assertions
https://bugs.webkit.org/show_bug.cgi?id=73947

Reviewed by Gavin Barraclough.

- If you're in a zapped block and you're zapped, then your mark bit should
  never be set.

- If you're being marked, then you should never be zapped.

* heap/MarkedBlock.h:
(JSC::MarkedBlock::isLive):
* runtime/Structure.h:
(JSC::MarkStack::internalAppend):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102179 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoEnable web audio by default on non-Mac POSIX platforms
commit-queue@webkit.org [Tue, 6 Dec 2011 22:07:00 +0000 (22:07 +0000)]
Enable web audio by default on non-Mac POSIX platforms
https://bugs.webkit.org/show_bug.cgi?id=73491

Patch by Ruben <chromium@hybridsource.org> on 2011-12-06
Reviewed by Tony Chang.

No new tests, just changing gyp includes.

* WebCore.gyp/WebCore.gyp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102178 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoPut length in its own variable in KURL copyASCII
benjamin@webkit.org [Tue, 6 Dec 2011 22:02:15 +0000 (22:02 +0000)]
Put length in its own variable in KURL copyASCII
https://bugs.webkit.org/show_bug.cgi?id=73928

Reviewed by Darin Adler.

* platform/KURL.cpp:
(WebCore::copyASCII):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102177 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] Set opaque flag for ImageLayerChromium
commit-queue@webkit.org [Tue, 6 Dec 2011 21:37:29 +0000 (21:37 +0000)]
[chromium] Set opaque flag for ImageLayerChromium
https://bugs.webkit.org/show_bug.cgi?id=72964

Patch by Dana Jansens <danakj@chromium.org> on 2011-12-06
Reviewed by James Robinson.

Source/WebCore:

Unit test in tests/ImageLayerChromiumTest.cpp.

* platform/graphics/chromium/GraphicsLayerChromium.cpp:
(WebCore::GraphicsLayerChromium::setContentsToImage):
* platform/graphics/chromium/GraphicsLayerChromium.h:
(WebCore::GraphicsLayerChromium::contentsLayer):
* platform/graphics/chromium/ImageLayerChromium.cpp:
(WebCore::ImageLayerChromium::setContents):

Source/WebKit/chromium:

* WebKit.gypi:
* tests/DragImageTest.cpp:
(WebCore::TestImage::TestImage):
(WebCore::TestImage::nativeImageForCurrentFrame):
* tests/ImageLayerChromiumTest.cpp: Added.
(WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
(WebCore::MockGraphicsLayerClient::notifySyncRequired):
(WebCore::MockGraphicsLayerClient::paintContents):
(WebCore::MockGraphicsLayerClient::showDebugBorders):
(WebCore::MockGraphicsLayerClient::showRepaintCounter):
(WebCore::TestImage::create):
(WebCore::TestImage::TestImage):
(WebCore::TestImage::isBitmapImage):
(WebCore::TestImage::currentFrameHasAlpha):
(WebCore::TestImage::size):
(WebCore::TestImage::nativeImageForCurrentFrame):
(WebCore::TestImage::destroyDecodedData):
(WebCore::TestImage::decodedSize):
(WebCore::TestImage::draw):
(WebCore::TEST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102174 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] Guard access to WebKitPlatformSupport::currentThread with a null check
adamk@chromium.org [Tue, 6 Dec 2011 21:06:22 +0000 (21:06 +0000)]
[chromium] Guard access to WebKitPlatformSupport::currentThread with a null check
https://bugs.webkit.org/show_bug.cgi?id=73937

Reviewed by Adam Barth.

Though |currentThread| is never null in production code, it is null in
unit tests (such as Chromium's unit_tests) that call WebKit::initialize()
without first constructing a MessageLoop.

* src/WebKit.cpp:
(WebKit::initialize):
(WebKit::shutdown):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102171 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[chromium] Apply sent deltas on finishCommit
commit-queue@webkit.org [Tue, 6 Dec 2011 21:00:29 +0000 (21:00 +0000)]
[chromium] Apply sent deltas on finishCommit
https://bugs.webkit.org/show_bug.cgi?id=73884

Patch by Alexandre Elias <aelias@google.com> on 2011-12-06
Reviewed by James Robinson.

This moves scroll and pageScale "sent" deltas to be applied to
the layer at the end of the commit, instead of the beginning.

This has several advantages, especially for page scale:
- When pageScale changes, no longer any need to change the scroll's
coordinate space at beginning of commit, which is complex and prone to
bugs (this fixes a problem where we were forgetting to modify the
scrollPosition before).
- No need for non-commit-related code to consider the "sent" values.
m_pageScale is now always the content scale factor, and
m_pageScaleDelta is the scale to be on the impl-side matrix.
- This will make it easy to send arbitrary fake or future delta
values for example while pinch zooming out.

The scroll logic is similarly altered for consistency's sake.  Note that
I also moved the tree synchronize to the beginning of finishCommit
in order to avoid having to change the pageScale coordinate space of
sentScrollDelta in adjustScrollsForPageScaleChange().

Source/WebCore:

No new tests. (Refactoring of existing code.)

* platform/graphics/chromium/LayerChromium.cpp:
(WebCore::LayerChromium::pushPropertiesTo):
* platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::finishCommitOnImplThread):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::setPageScaleFactorAndLimits):
(WebCore::CCLayerTreeHostImpl::applyPageScaleDeltaToScrollLayer):
(WebCore::CCLayerTreeHostImpl::processScrollDeltas):

Source/WebKit/chromium:

* tests/CCLayerTreeHostImplTest.cpp:
(WebKit::TEST_F):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102170 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoDon't allocate register in typedarray control flow
oliver@apple.com [Tue, 6 Dec 2011 20:48:27 +0000 (20:48 +0000)]
Don't allocate register in typedarray control flow
https://bugs.webkit.org/show_bug.cgi?id=73944

Reviewed by Gavin Barraclough.

Move a temporary allocation outside of control flow.

* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileGetByValOnFloatTypedArray):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102169 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] Fix assertion in QtViewportInteractionEngine.cpp:468
commit-queue@webkit.org [Tue, 6 Dec 2011 20:47:31 +0000 (20:47 +0000)]
[Qt] Fix assertion in QtViewportInteractionEngine.cpp:468
https://bugs.webkit.org/show_bug.cgi?id=73914

Patch by Alexander Færøy <alexander.faeroy@nokia.com> on 2011-12-06
Reviewed by Kenneth Rohde Christiansen.

m_suspendCount should always be zero when a pinch gesture is started.

* UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::QtViewportInteractionEngine::pinchGestureStarted):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102168 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=68328
barraclough@apple.com [Tue, 6 Dec 2011 20:46:07 +0000 (20:46 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=68328
The generator and intrinsic fields in HashTableValue/HashEntry and associated structures and methods are redundant

Reviewed by Geoff Garen.

../JavaScriptCore:

Move the instrinsic enum out of the DFG, into runtime. Add entires for all host functions
that have an intrinsic in the form of a generated thunk. Remove the thunk pointer from the
hashtable, and make Intrinsic field no longer ifdef on JIT/DFG. In getHostFunction select
a thunk genertaor to use based on the Intrinsic.

* JavaScriptCore.xcodeproj/project.pbxproj:
* create_hash_table:
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::handleCall):
(JSC::DFG::ByteCodeParser::handleIntrinsic):
* dfg/DFGCapabilities.h:
* dfg/DFGIntrinsic.h: Removed.
* jit/JITStubs.cpp:
(JSC::JITThunks::hostFunctionStub):
* jit/JITStubs.h:
* runtime/Executable.cpp:
(JSC::ExecutableBase::intrinsic):
(JSC::NativeExecutable::intrinsic):
* runtime/Executable.h:
(JSC::ExecutableBase::intrinsicFor):
(JSC::NativeExecutable::create):
(JSC::NativeExecutable::finishCreation):
* runtime/Intrinsic.h: Copied from Source/JavaScriptCore/dfg/DFGIntrinsic.h.
* runtime/JSGlobalData.cpp:
(JSC::thunkGeneratorForIntrinsic):
(JSC::JSGlobalData::getHostFunction):
* runtime/JSGlobalData.h:
* runtime/Lookup.cpp:
(JSC::HashTable::createTable):
(JSC::setUpStaticFunctionSlot):
* runtime/Lookup.h:
(JSC::HashEntry::initialize):
(JSC::HashEntry::intrinsic):

../WebCore:

Intrinsic is no longer in the DFG namespace, is always in the
hash table. Removed ThunkGenerator.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHashTable):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102167 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRemove forwarding header now that downstream has been fixed to refer to
abarth@webkit.org [Tue, 6 Dec 2011 20:39:43 +0000 (20:39 +0000)]
Remove forwarding header now that downstream has been fixed to refer to
the actual location of this header.

* public/WebRect.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102166 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed, rolling out r102091.
dglazkov@chromium.org [Tue, 6 Dec 2011 20:27:57 +0000 (20:27 +0000)]
Unreviewed, rolling out r102091.
http://trac.webkit.org/changeset/102091
https://bugs.webkit.org/show_bug.cgi?id=73711

Caused Clang Linux compile failure.

Source/WebCore:

* platform/graphics/chromium/GraphicsLayerChromium.cpp:
(WebCore::GraphicsLayerChromium::setAnchorPoint):
(WebCore::GraphicsLayerChromium::setTransform):
(WebCore::GraphicsLayerChromium::setChildrenTransform):
(WebCore::GraphicsLayerChromium::setMasksToBounds):
(WebCore::GraphicsLayerChromium::setBackgroundColor):
(WebCore::GraphicsLayerChromium::clearBackgroundColor):
(WebCore::GraphicsLayerChromium::setContentsOpaque):
(WebCore::GraphicsLayerChromium::setBackfaceVisibility):
(WebCore::GraphicsLayerChromium::setOpacity):
* platform/graphics/chromium/LayerChromium.cpp:
(WebCore::LayerChromium::setNeedsCommit):
* platform/graphics/chromium/LayerChromium.h:
(WebCore::LayerChromium::setAnchorPoint):
(WebCore::LayerChromium::setAnchorPointZ):
(WebCore::LayerChromium::setBackgroundColor):
(WebCore::LayerChromium::setMasksToBounds):
(WebCore::LayerChromium::setMaskLayer):
(WebCore::LayerChromium::setOpacity):
(WebCore::LayerChromium::setOpaque):
(WebCore::LayerChromium::setPosition):
(WebCore::LayerChromium::setSublayerTransform):
(WebCore::LayerChromium::setTransform):
(WebCore::LayerChromium::setScrollPosition):
(WebCore::LayerChromium::setScrollable):
(WebCore::LayerChromium::setDoubleSided):
(WebCore::LayerChromium::setReplicaLayer):
* platform/graphics/chromium/NonCompositedContentHost.cpp:
(WebCore::NonCompositedContentHost::notifySyncRequired):
* platform/graphics/chromium/NonCompositedContentHost.h:

Source/WebKit/chromium:

* tests/LayerChromiumTest.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102165 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Chromium] Make root layer always opaque
commit-queue@webkit.org [Tue, 6 Dec 2011 20:17:02 +0000 (20:17 +0000)]
[Chromium] Make root layer always opaque
https://bugs.webkit.org/show_bug.cgi?id=70564

Patch by Dana Jansens <danakj@chromium.org> on 2011-12-06
Reviewed by James Robinson.

* platform/graphics/chromium/NonCompositedContentHost.cpp:
(WebCore::NonCompositedContentHost::NonCompositedContentHost):
* platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
(WebCore::CCTiledLayerImpl::draw):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102164 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdd a pid parameter to CrashLogs.find_newest_log
aroben@apple.com [Tue, 6 Dec 2011 20:04:25 +0000 (20:04 +0000)]
Add a pid parameter to CrashLogs.find_newest_log

When a PID is passed, only crash logs corresponding to a crashed process with that PID are
considered.

Fixes <http://webkit.org/b/73942> webkitpy provides no way to specify the PID of the crashed
process whose crash log you want to find

Reviewed by Dirk Pranke.

* Scripts/webkitpy/common/system/crashlogs.py:
(CrashLogs.find_newest_log): Added an optional pid parameter.
(CrashLogs._find_newest_log_darwin): Added a pid parameter. When specified, we look at each
candidate log's app_description extended attribute to see if that log corresponds to a
crashed process with the specified PID.

* Scripts/webkitpy/common/system/crashlogs_unittest.py:
(CrashLogsTest.test_find_newest_log_darwin): Added a few more mock crash logs with various
contents and PIDs. Added tests that show that the pid parameter to find_newest_log is
respected. Also fixed an erroneous use of assertTrue instead of assertEqual.

* Scripts/webkitpy/common/system/filesystem.py:
(FileSystem.getxattr): Added. On Darwin, calls through to the xattr module. On other
systems, raises a KeyError, mimicking the behavior on Darwin when the given attribute isn't
present.

* Scripts/webkitpy/common/system/filesystem_mock.py:
(MockFileSystem.__init__): Added an optional xattrs parameter. Documented other parameters.
(MockFileSystem.getxattr): Added. Just pulls the given attribute out of the xattrs
dictionary.

* Scripts/webkitpy/tool/commands/queries.py:
(CrashLog): Added help text. Added an optional PID parameter.
(CrashLog.execute): Pass the PID, if any, through to find_newest_log.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102163 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWait for Crash Reporter to finish even when it lets the crashed process die quickly
aroben@apple.com [Tue, 6 Dec 2011 20:04:08 +0000 (20:04 +0000)]
Wait for Crash Reporter to finish even when it lets the crashed process die quickly

NRWT was only waiting for Crash Reporter in cases where it was keeping the crashed process
alive beyond the normal timeout limit. In cases where the crashed process was able to die
faster, NRWT would assume that Crash Reporter had finished even though it often was still
running, which would lead to an incorrect crash log being picked up.

Part of <http://webkit.org/b/71380> NRWT incorrectly associates crash logs with tests

Reviewed by Dirk Pranke.

* Scripts/webkitpy/layout_tests/port/server_process.py:
(ServerProcess._reset):
(ServerProcess.write):
(ServerProcess._check_for_crash): Changed to use new set_crashed function instead of setting
.crashed directly. Added wait_for_crash_reporter parameter, which we pass along to
set_crashed.

(ServerProcess._handle_timeout): Fixed a logic error that would cause .crashed and
.timed_out both to be set to True in cases where Crash Reporter took a long time to run. Now
we bail out of handling the failure as a timeout if we find out that the process in fact
crashed. We tell _check_for_crash not to wait for Crash Reporter because we've already done
so.
(ServerProcess.set_crashed): Added. When the process crashes, we wait for Crash Reporter to
finish running (unless directed otherwise) so we can be sure the crash log has been saved to
disk.

* Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
(TrivialMockPort.is_crash_reporter): Added.

* Scripts/webkitpy/layout_tests/port/webkit.py:
(WebKitDriver._check_for_driver_crash): Changed to use set_crashed. (This also fixed a typo
that would have partially broken crash detection on Windows, if NRWT worked on Windows.)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102162 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoNRWT fails on unreleased versions of Mac OS X
abarth@webkit.org [Tue, 6 Dec 2011 20:00:03 +0000 (20:00 +0000)]
NRWT fails on unreleased versions of Mac OS X
https://bugs.webkit.org/show_bug.cgi?id=72748

Reviewed by Dirk Pranke.

Hopefully this patch will make NRWT work on future versions on Mac OS X.
Most of the infrastructure was already in place, but there were some
asserts that failed.  I've tested this patch by haxoring the version
detection logic to simulate an unknown version.  We might need to
iterate based on feedback from folks with a real future version.

* Scripts/webkitpy/layout_tests/port/apple.py:
(ApplePort.__init__):
    - mac-future is an allowed port_name that's used internally by
      webkitpy to represent future versions of Mac OS X.
* Scripts/webkitpy/layout_tests/port/mac_unittest.py:
(test_versions):
    - Test that we don't throw exceptions when dealing with future
      versions of Mac OS X.
* Scripts/webkitpy/layout_tests/port/webkit.py:
(WebKitPort._expectations_from_skipped_files):
    - Demote this logging message to "debug".  It's expected that
      mac-future doesn't have a Skipped file.
* Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.__init__):
* Scripts/webkitpy/layout_tests/port/win.py:
(WinPort.__init__):
    - Re-order some code in these constructors so that
      self._operating_system is available to the ApplePort constructor.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102161 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUI process crashes if the Web Process crashes on launch
simon.fraser@apple.com [Tue, 6 Dec 2011 19:58:41 +0000 (19:58 +0000)]
UI process crashes if the Web Process crashes on launch
https://bugs.webkit.org/show_bug.cgi?id=73943

Reviewed by Sam Weinig.

When the Web Process crashes on launch, the WebConnectionToWebProcess
object was getting deleted inside of didClose. Add a protector to
prevent this.

* UIProcess/WebConnectionToWebProcess.cpp:
(WebKit::WebConnectionToWebProcess::didClose):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102160 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[EFL] Do not lose message flags when converting to/from Soup Requests/Responses
kubo@profusion.mobi [Tue, 6 Dec 2011 19:29:44 +0000 (19:29 +0000)]
[EFL] Do not lose message flags when converting to/from Soup Requests/Responses
https://bugs.webkit.org/show_bug.cgi?id=73924

Reviewed by Gustavo Noronha Silva.

Apply the same change added to the GTK+ port in r55086 to prevent
soup message flags from being lost by updating the request flags when
a response is received.

* WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102159 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWebPImageDecoder computes image width and height multiple times
noel.gordon@gmail.com [Tue, 6 Dec 2011 19:29:42 +0000 (19:29 +0000)]
WebPImageDecoder computes image width and height multiple times
https://bugs.webkit.org/show_bug.cgi?id=73796

Reviewed by Adam Barth.

Once sufficient image data arrives, we can compute the decoded image height
and width from the WEBP image header data.

From then on, the decoded image size is known so there's no need to re-read
it from the WEBP image header again.

No change in behavior, so no new tests.

* platform/image-decoders/webp/WEBPImageDecoder.cpp:
(WebCore::WEBPImageDecoder::decode):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102158 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agooptimize TransformationMatrix::scale by not calling through to generic multiply
reed@google.com [Tue, 6 Dec 2011 19:27:31 +0000 (19:27 +0000)]
optimize TransformationMatrix::scale by not calling through to generic multiply
https://bugs.webkit.org/show_bug.cgi?id=73830

Reviewed by Kenneth Russell.

No new tests. Optimization only, existing tests exercise the code

* platform/graphics/transforms/TransformationMatrix.cpp:
(WebCore::TransformationMatrix::scaleNonUniform):
(WebCore::TransformationMatrix::scale3d):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102157 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] Fix page overlay rendering with AC.
jocelyn.turcotte@nokia.com [Tue, 6 Dec 2011 19:26:33 +0000 (19:26 +0000)]
[Qt] Fix page overlay rendering with AC.
https://bugs.webkit.org/show_bug.cgi?id=73935

Reviewed by Noam Rosenthal.

The inspector node highlight would display old highlights as well
since the overlay is normally rendered right after the page on top
of the same graphics context.

* WebProcess/WebPage/qt/LayerTreeHostQt.cpp:
(WebKit::LayerTreeHostQt::paintContents):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102156 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoGenerated some new expected results for Lion.
darin@apple.com [Tue, 6 Dec 2011 19:07:36 +0000 (19:07 +0000)]
Generated some new expected results for Lion.

Discussed aspects of this with Adam Roben and Dan Bernstein.

* platform/mac/fast/dom/rtl-scroll-to-leftmost-and-resize-expected.txt: Added.
* platform/mac/fast/regions/region-overflow-auto-overflow-hidden-expected.txt: Added.
* platform/mac/fast/regions/region-overflow-auto-overflow-visible-expected.txt: Added.
* platform/mac/fast/regions/region-overflow-break-expected.txt: Added.
* platform/mac/fast/regions/render-region-custom-style-mark-expected.txt: Added.
* platform/mac/http/tests/inspector/resource-har-conversion-expected.txt: Updated.
* platform/mac/media/controls-strict-expected.txt: Added.
* platform/mac/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.txt: Updated.
* platform/mac/svg/W3C-I18N/text-anchor-no-markup-expected.txt: Updated.
* platform/mac/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt: Added.
* platform/mac/svg/W3C-SVG-1.1/text-intro-05-t-expected.txt: Updated.
* platform/mac/svg/text/text-intro-05-t-expected.txt: Updated.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102155 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRevert WebCore track Settings changes made in r101977
eric.carlson@apple.com [Tue, 6 Dec 2011 19:01:22 +0000 (19:01 +0000)]
Revert WebCore track Settings changes made in r101977
https://bugs.webkit.org/show_bug.cgi?id=73879

Reviewed by Sam Weinig.

No new tests yet, still nothing to test.

* page/Settings.cpp: Move the preference setters back into the .h file.
* page/Settings.h:
(WebCore::Settings::setShouldDisplaySubtitles):
(WebCore::Settings::setShouldDisplayCaptions):
(WebCore::Settings::setShouldDisplayTextDescriptions):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102154 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed chromium expectations update.
vsevik@chromium.org [Tue, 6 Dec 2011 18:37:47 +0000 (18:37 +0000)]
Unreviewed chromium expectations update.

* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102153 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoMediaList: Remove constructor that takes a CSSImportRule*.
kling@webkit.org [Tue, 6 Dec 2011 18:19:38 +0000 (18:19 +0000)]
MediaList: Remove constructor that takes a CSSImportRule*.
<http://webkit.org/b/73833>

Reviewed by Antti Koivisto.

* css/MediaList.h:
* css/MediaList.cpp:

    Remove MediaList(CSSImportRule*, ...) constructor.

* css/CSSImportRule.cpp:
(WebCore::CSSImportRule::CSSImportRule):

    Have CSSImportRule construct its MediaList by passing the parent
    style sheet, which is exactly what the old constructor accomplished.
    Also assert that we're always created with a non-null parent sheet.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102152 268f45cc-cd09-0410-ab3c-d52691b4dbfc