[GTK] Unreviewed fix. Correct wrong flags, ENABLE(GTK)->PLATFORM(GTK).

* platform/graphics/opengl/Extensions3DOpenGL.cpp:
(WebCore::Extensions3DOpenGL::drawArraysInstanced):
(WebCore::Extensions3DOpenGL::drawElementsInstanced):
(WebCore::Extensions3DOpenGL::vertexAttribDivisor):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore: [CSS Blending] Add -webkit-blend-mode support for SVG.

https://bugs.webkit.org/show_bug.cgi?id=110427
Patch by Mihai Tica <mitica@adobe.com> on 2014-02-18
Reviewed by Dirk Schulze.

Add support for blend modes to SVG. This includes adding and validating isolation for blending.
Make masked elements isolate blending by creating a transparency layer.

Tests: css3/compositing/svg-blend-color-burn.html
       css3/compositing/svg-blend-color-dodge.html
       css3/compositing/svg-blend-color.html
       css3/compositing/svg-blend-darken.html
       css3/compositing/svg-blend-difference.html
       css3/compositing/svg-blend-exclusion.html
       css3/compositing/svg-blend-hard-light.html
       css3/compositing/svg-blend-hue.html
       css3/compositing/svg-blend-layer-blend.html
       css3/compositing/svg-blend-layer-clip-path.html
       css3/compositing/svg-blend-layer-filter.html
       css3/compositing/svg-blend-layer-mask.html
       css3/compositing/svg-blend-layer-opacity.html
       css3/compositing/svg-blend-layer-shadow.html
       css3/compositing/svg-blend-lighten.html
       css3/compositing/svg-blend-luminosity.html
       css3/compositing/svg-blend-multiply-alpha.html
       css3/compositing/svg-blend-multiply.html
       css3/compositing/svg-blend-normal.html
       css3/compositing/svg-blend-overlay.html
       css3/compositing/svg-blend-saturation.html
       css3/compositing/svg-blend-screen.html
       css3/compositing/svg-blend-soft-light.html

* rendering/RenderElement.cpp:
(WebCore::RenderElement::styleDidChange): Also pass a pointer to the old style when calling SVGRenderSupport::styleChanged.
* rendering/style/RenderStyle.h:  Add blendMode default getter when CSS_COMPOSITING is disabled.
* rendering/style/SVGRenderStyle.h:
(WebCore::SVGRenderStyle::isolatesBlending): Add method.
* rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::styleChanged): Call updateMaskedAncestorShouldIsolateBlending only when a blend mode is set/unset.
(WebCore::SVGRenderSupport::isolatesBlending): Implement method that decides whether an SVGElement isolates or not blending.
(WebCore::SVGRenderSupport::updateMaskedAncestorShouldIsolateBlending): Traverse to the nearest ancestor having a mask.
- Set a flag causing the creation of a transparency layer when rendering the masked element.
* rendering/svg/SVGRenderSupport.h:
* rendering/svg/SVGRenderingContext.cpp:
(WebCore::SVGRenderingContext::prepareToRenderSVGContent): Call GraphicsContext::setCompositeOperation.
- Isolate blending by creating a transparency layer.
- Isolate group when rendering a masked element having a blended child node.
* svg/SVGGraphicsElement.cpp:
(WebCore::SVGGraphicsElement::SVGGraphicsElement): Set default m_shouldIsolateBlending to false.
* svg/SVGGraphicsElement.h: Add m_shouldIsolateBlending member, getter and setter.
(WebCore::SVGGraphicsElement::shouldIsolateBlending):
(WebCore::SVGGraphicsElement::setShouldIsolateBlending):

LayoutTests: [CSS Blending] Add -webkit-blend-mode support for SVG.
https://bugs.webkit.org/show_bug.cgi?id=110427

Patch by Mihai Tica <mitica@adobe.com> on 2014-02-18
Reviewed by Dirk Schulze.

Test -webkit-blend-mode implementation for simple SVGs. This includes:
- Test each blend operator.
- Test that ensures blending is isolated by other properties: blending, filters, masks, shadow and opacity.

* css3/compositing/svg-blend-color-burn.html: Test blend mode color-burn.
* css3/compositing/svg-blend-color-dodge.html: Test blend mode color-dodge.
* css3/compositing/svg-blend-color.html: Test blend mode color.
* css3/compositing/svg-blend-darken.html: Test blend mode darken.
* css3/compositing/svg-blend-difference.html: Test blend mode difference.
* css3/compositing/svg-blend-exclusion.html: Test blend mode exclusion.
* css3/compositing/svg-blend-hard-light.html: Test blend mode hard-light.
* css3/compositing/svg-blend-hue.html: Test blend mode hue.
* css3/compositing/svg-blend-layer-blend.html: mix-blend-mode should isolate for blending.
* css3/compositing/svg-blend-layer-clip-path.html: clip-path should not isolate for blending.
* css3/compositing/svg-blend-layer-filter.html: filters should isolate for blending.
* css3/compositing/svg-blend-layer-mask.html: masks should isolate for blending.
* css3/compositing/svg-blend-layer-opacity.html: opacity should isolate for blending.
* css3/compositing/svg-blend-layer-shadow.html: -webkit-shadow should isolate for blending.
* css3/compositing/svg-blend-lighten.html: Test blend mode lighten.
* css3/compositing/svg-blend-luminosity.html: Test blend mode luminosity.
* css3/compositing/svg-blend-multiply-alpha.html: Test blend mode multiply while also having alpha set.
* css3/compositing/svg-blend-multiply.html: Test blend mode multiply.
* css3/compositing/svg-blend-normal.html: Test blend mode normal. Note this blend mode has no effect.
* css3/compositing/svg-blend-overlay.html: Test blend mode overlay.
* css3/compositing/svg-blend-saturation.html: Test blend mode saturation.
* css3/compositing/svg-blend-screen.html: Test blend mode screen.
* css3/compositing/svg-blend-soft-light.html: Test blend mode soft-light.
* platform/mac/css3/compositing/svg-blend-color-burn-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-color-burn-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-color-dodge-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-color-dodge-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-color-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-color-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-darken-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-darken-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-difference-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-difference-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-exclusion-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-exclusion-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-hard-light-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-hard-light-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-hue-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-hue-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-layer-blend-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-layer-blend-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-layer-clip-path-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-layer-clip-path-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-layer-filter-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-layer-filter-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-layer-mask-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-layer-mask-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-layer-opacity-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-layer-opacity-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-layer-shadow-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-layer-shadow-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-lighten-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-lighten-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-luminosity-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-luminosity-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-multiply-alpha-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-multiply-alpha-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-multiply-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-multiply-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-normal-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-normal-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-overlay-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-overlay-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-saturation-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-saturation-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-screen-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-screen-expected.txt: Added.
* platform/mac/css3/compositing/svg-blend-soft-light-expected.png: Added.
* platform/mac/css3/compositing/svg-blend-soft-light-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Stop using PLATFORM(MAC) except where it means “OS X but not iOS”
https://bugs.webkit.org/show_bug.cgi?id=128952

Reviewed by Anders Carlsson.

* TestWebKitAPI/JavaScriptTest.h: Changed PLATFORM(MAC) to PLATFORM(COCOA) and changed to
use OBJC_CLASS.
* TestWebKitAPI/PlatformUtilities.h: Changed PLATFORM(MAC) to USE(FOUNDATION) and changed
to use OBJC_CLASS.
* TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp: Changed PLATFORM(MAC) to
PLATFORM(COCOA).
(TestWebKitAPI::TEST):
* TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
(TestWebKitAPI::TEST): Added expected default font-family values for iOS.
* TestWebKitAPI/config.h: Changed PLATFORM(MAC) to PLATFORM(COCOA).
* WebKitTestRunner/EventSenderProxy.h: Ditto.
* WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: Ditto.
* WebKitTestRunner/InjectedBundle/AccessibilityController.h: Ditto.
* WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.cpp: Ditto.
(WTR::AccessibilityTextMarker::platformTextMarker):
* WebKitTestRunner/InjectedBundle/AccessibilityTextMarker.h: Ditto.
* WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.cpp: Ditto.
(WTR::AccessibilityTextMarkerRange::platformTextMarkerRange):
* WebKitTestRunner/InjectedBundle/AccessibilityTextMarkerRange.h: Ditto.
* WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: Ditto.
* WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: Ditto.
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: Ditto.
* WebKitTestRunner/InjectedBundle/TestRunner.h: Ditto.
* WebKitTestRunner/PlatformWebView.h: Ditto.
* WebKitTestRunner/TestController.cpp: Ditto.
(WTR::TestController::resetStateToConsistentValues):
(WTR::TestController::processDidCrash):
* WebKitTestRunner/TestInvocation.cpp: Ditto.
(WTR::updateThreadedScrollingForCurrentTest):
(WTR::TestInvocation::dumpWebProcessUnresponsiveness):
* WebKitTestRunner/cg/TestInvocationCG.cpp: Ditto.
(WTR::computeMD5HashStringForContext):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Do not cache media time until media engine returns a non-zero value
https://bugs.webkit.org/show_bug.cgi?id=128976

Reviewed by Jer Noble.

No new tests, covered by existing tests.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::refreshCachedTime): Don't mark the cached time as valid
    until it is non-zero.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Simplify HTML tokenizer parameterization down to what is used
https://bugs.webkit.org/show_bug.cgi?id=128977

Reviewed by Alexey Proskuryakov.

../WebCore: 

- Removes support for CustomHTMLTokenizerChunkSize.
- Consolidates CustomHTMLTokenizerTimeDelay down to one implementation, using Settings::maxParseDuration

* WebCore.exp.in:
* html/parser/HTMLParserScheduler.cpp:
(WebCore::HTMLParserScheduler::HTMLParserScheduler):
* page/Page.cpp:
(WebCore::Page::Page):
(WebCore::Page::hasCustomHTMLTokenizerTimeDelay):
(WebCore::Page::customHTMLTokenizerTimeDelay):
* page/Page.h:

../WebKit/mac: 

Remove unused _setCustomHTMLTokenizerTimeDelay and _setCustomHTMLTokenizerChunkSize SPI.

* WebView/WebView.mm:
* WebView/WebViewPrivate.h:

../WebKit/win: 

Remove unused SPI.

* WebView.cpp:
(WebView::setCustomHTMLTokenizerTimeDelay):
(WebView::setCustomHTMLTokenizerChunkSize):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164297 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add type-checked casts for StyleImage and subclasses
<http://webkit.org/b/128915>

Reviewed by Oliver Hunt.

* css/CSSCursorImageValue.cpp:
(WebCore::CSSCursorImageValue::detachPendingImage):
(WebCore::CSSCursorImageValue::cachedImage):
(WebCore::CSSCursorImageValue::cachedImageURL):
* css/CSSImageSetValue.cpp:
(WebCore::CSSImageSetValue::detachPendingImage):
(WebCore::CSSImageSetValue::~CSSImageSetValue):
(WebCore::CSSImageSetValue::cachedImageSet):
(WebCore::CSSImageSetValue::hasFailedOrCanceledSubresources):
* css/CSSImageValue.cpp:
(WebCore::CSSImageValue::detachPendingImage):
(WebCore::CSSImageValue::cachedImage):
(WebCore::CSSImageValue::hasFailedOrCanceledSubresources):
* css/StyleResolver.cpp:
(WebCore::StyleResolver::loadPendingShapeImage):
(WebCore::StyleResolver::loadPendingImages):
* page/PageSerializer.cpp:
(WebCore::PageSerializer::retrieveResourcesForProperties):
* page/animation/CSSPropertyAnimation.cpp:
(WebCore::blendFunc):
- Switch from static_cast<>() operators to toTypeName() methods.
- Replace 0 with nullptr where convenient.

* rendering/style/StyleCachedImage.h:
* rendering/style/StyleCachedImageSet.h:
* rendering/style/StyleGeneratedImage.h:
* rendering/style/StyleImage.h:
* rendering/style/StylePendingImage.h:
- Define type-checked cast macros.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Convert position:sticky to position:static upon copy and paste
https://bugs.webkit.org/show_bug.cgi?id=128982

Reviewed by NOBODY (OOPS!).

Source/WebCore:

This patch has two parts:

1. Make sure that position:absolute elements trigger the position:relative wrapping (as
well as position:fixed)
2. Now that we copy position:sticky, convert that to position:fixed

Tests: editing/pasteboard/copy-paste-converts-fixed.html
       editing/pasteboard/copy-paste-converts-sticky.html
       editing/pasteboard/copy-paste-wraps-position-absolute.html

* editing/EditingStyle.cpp:
(WebCore::EditingStyle::convertFixedAndStickyPosition):

LayoutTests:

* editing/pasteboard/copy-paste-converts-fixed-expected.txt: Copied from LayoutTests/editing/pasteboard/copy-paste-converts-sticky-and-fixed-expected.txt.
* editing/pasteboard/copy-paste-converts-fixed.html: Copied from LayoutTests/editing/pasteboard/copy-paste-converts-sticky-and-fixed.html.
* editing/pasteboard/copy-paste-converts-sticky-expected.txt: Copied from LayoutTests/editing/pasteboard/copy-paste-converts-sticky-and-fixed-expected.txt.
* editing/pasteboard/copy-paste-converts-sticky.html: Copied from LayoutTests/editing/pasteboard/copy-paste-converts-sticky-and-fixed.html.
* editing/pasteboard/copy-paste-wraps-position-absolute-expected.txt: Renamed from LayoutTests/editing/pasteboard/copy-paste-converts-sticky-and-fixed-expected.txt.
* editing/pasteboard/copy-paste-wraps-position-absolute.html: Renamed from LayoutTests/editing/pasteboard/copy-paste-converts-sticky-and-fixed.html.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Cocoa] Implement -description in some API objects
https://bugs.webkit.org/show_bug.cgi?id=128956

Reviewed by Anders Carlsson.

* Shared/API/Cocoa/WKRemoteObjectInterface.mm:
Changed category name to have the framework’s prefix.
(-[WKRemoteObjectInterface description]): Added.
* UIProcess/API/Cocoa/WKFrameInfo.mm:
(-[WKFrameInfo description]): Added.
* UIProcess/API/Cocoa/WKNavigationAction.mm:
(-[WKNavigationAction description]): Added.
* UIProcess/API/Cocoa/WKNavigationResponse.mm:
(-[WKNavigationResponse description]): Added.
* UIProcess/API/Cocoa/WKProcessClass.mm:
(-[WKProcessClass description]): Added.
* UIProcess/API/Cocoa/WKProcessClassConfiguration.mm:
(-[WKProcessClassConfiguration description]): Added.
* UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
(-[WKWebViewConfiguration description]): Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[iOS] Web Inspector: JSContext inspection crashes in isMainThread, uninitialized WebCoreWebThreadIsLockedOrDisabled
https://bugs.webkit.org/show_bug.cgi?id=128959

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-02-18
Reviewed by David Kilzer.

When JavaScriptCore is used without WebCore on iOS (e.g. JSContext)
the WebCoreWebThread* functions will not be initialized. Avoid
calling the function pointer if it is uninitialized. This was
happening with remote inspection via StringImpl::createCFString
for implicit NSString / WTFString conversion which uses isMainThread.

* wtf/mac/MainThreadMac.mm:
(WTF::webThreadIsUninitializedOrLockedOrDisabled):
(WTF::isMainThread):
(WTF::canAccessThreadLocalDataForThread):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r164296.
http://trac.webkit.org/changeset/164296
https://bugs.webkit.org/show_bug.cgi?id=128989

Broke many media tests (Requested by eric_carlson on #webkit).

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::parseAttribute):
* html/HTMLMediaElement.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rename convertFixedAndStickyPosition() to convertPositionStyle()
https://bugs.webkit.org/show_bug.cgi?id=128987

Reviewed by NOBODY. This is addressing a post-commit review from Dean Jackson.

No new tests are necessary because there is no behavior change

* editing/EditingStyle.cpp:
(WebCore::EditingStyle::convertPositionStyle):
* editing/EditingStyle.h:
* editing/markup.cpp:
(WebCore::StyledMarkupAccumulator::appendElement):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Temporarily remove support for setting the maximumDecodedImageSize. It is causing assertions.

* Shared/WebPreferencesStore.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix build.

* UIProcess/API/Cocoa/WKProcessClassConfiguration.mm:
(-[WKProcessClassConfiguration description]):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164306 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Minibrowser: Add shortcut to open Web Inspector
https://bugs.webkit.org/show_bug.cgi?id=128813

Patch by Diego Pino García <dpino@igalia.com> on 2014-02-18
Reviewed by Anders Carlsson.

Added shortcuts Ctrl+Shift+I and F12 for toggling Web Inspector.

* MiniBrowser/gtk/BrowserWindow.c:
(toggleWebInspector):
(browser_window_init):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: shift-clicking #fff swatch results in bad rgb value
https://bugs.webkit.org/show_bug.cgi?id=128954

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-02-18
Reviewed by Daniel Bates.

parseInt("FF", 16) is already 255. Do not multiply the result by 255.

* UserInterface/Color.js:
(WebInspector.Color.fromString):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unnecessary UserActionElementSet constructor, destructor
https://bugs.webkit.org/show_bug.cgi?id=128962

Reviewed by Andreas Kling.

UserActionElementSet constructor and destructor are not necessary, as is not the
static create() function that returns PassOwnPtr<UserActionElementSet>. The implicit
constructor and destructor can take care of creating and destroying the sole HashMap
member variable.

* dom/UserActionElementSet.cpp:
* dom/UserActionElementSet.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Follow-up: Add type-checked casts for StyleImage and subclasses
<http://webkit.org/b/128915>

Address some style issues based on feedback from Andreas Kling.

* css/CSSCursorImageValue.cpp:
(WebCore::CSSCursorImageValue::cachedImageURL):
* css/CSSImageSetValue.cpp:
(WebCore::CSSImageSetValue::~CSSImageSetValue):
(WebCore::CSSImageSetValue::hasFailedOrCanceledSubresources):
* css/CSSImageValue.cpp:
(WebCore::CSSImageValue::hasFailedOrCanceledSubresources):
- Use the reference version of the type-checked casts since we
  know the pointers are not NULL.

* rendering/style/StyleImage.h:
- Use 'styleImage' instead of 'resource' in
  STYLE_IMAGE_TYPE_CASTS.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Editing transparent color shows incorrect opacity slider
https://bugs.webkit.org/show_bug.cgi?id=128975

Reviewed by Joseph Pecoraro.

The opacity slider should show a range of colors from transparent to the full opacity of the tinted color.

* UserInterface/ColorPicker.js:
(WebInspector.ColorPicker.prototype._updateSliders):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: editing a color in the Styles sidebar using the color picker only works once for a given color
https://bugs.webkit.org/show_bug.cgi?id=128965

Reviewed by Timothy Hatcher.

Use the WebInspector.TextMarker backing the CodeMirror TextMarker object to inspect its type in
order to identify color markers that were created for a color. This fixes a regression introduced
in http://webkit.org/b/125695 when we abstracted CodeMirror TextMarker objects.

* UserInterface/CSSStyleDeclarationTextEditor.js:
(WebInspector.CSSStyleDeclarationTextEditor.prototype._colorSwatchClicked.updateCodeMirror.update):
(WebInspector.CSSStyleDeclarationTextEditor.prototype._colorSwatchClicked.updateCodeMirror):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add more WKWebView SPI
https://bugs.webkit.org/show_bug.cgi?id=128994

Reviewed by Tim Horton.

* UIProcess/API/Cocoa/WKHistoryDelegatePrivate.h:
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _unreachableURL]):
(-[WKWebView _loadAlternateHTMLString:baseURL:forUnreachableURL:]):
* UIProcess/API/Cocoa/WKWebViewPrivate.h:

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