- 13 Jan, 2011 40 commits
-
-
ddkilzer@apple.com authored
Not reviewed. * WebCore.xcodeproj/project.pbxproj: Add missing headers. Note that the corresponding source files were originally added to the project in r48559. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zmo@google.com authored
Reviewed by Kenneth Russell. Use GC3D types in WebGLRenderingContext and related WebGL classes https://bugs.webkit.org/show_bug.cgi?id=51908 * html/canvas/WebGLActiveInfo.h: (WebCore::WebGLActiveInfo::create): (WebCore::WebGLActiveInfo::type): (WebCore::WebGLActiveInfo::size): (WebCore::WebGLActiveInfo::WebGLActiveInfo): * html/canvas/WebGLBuffer.cpp: (WebCore::WebGLBuffer::associateBufferDataImpl): (WebCore::WebGLBuffer::associateBufferData): (WebCore::WebGLBuffer::associateBufferSubDataImpl): (WebCore::WebGLBuffer::associateBufferSubData): (WebCore::WebGLBuffer::byteLength): (WebCore::WebGLBuffer::getCachedMaxIndex): (WebCore::WebGLBuffer::setCachedMaxIndex): (WebCore::WebGLBuffer::setTarget): * html/canvas/WebGLBuffer.h: (WebCore::WebGLBuffer::getTarget): * html/canvas/WebGLFramebuffer.cpp: (WebCore::WebGLFramebuffer::setAttachment): (WebCore::WebGLFramebuffer::getAttachment): (WebCore::WebGLFramebuffer::getWidth): (WebCore::WebGLFramebuffer::getHeight): (WebCore::WebGLFramebuffer::getColorBufferFormat): (WebCore::WebGLFramebuffer::initializeRenderbuffers): * html/canvas/WebGLFramebuffer.h: * html/canvas/WebGLProgram.cpp: (WebCore::WebGLProgram::cacheActiveAttribLocations): (WebCore::WebGLProgram::numActiveAttribLocations): (WebCore::WebGLProgram::getActiveAttribLocation): (WebCore::WebGLProgram::isUsingVertexAttrib0): * html/canvas/WebGLProgram.h: (WebCore::WebGLProgram::getLinkCount): * html/canvas/WebGLRenderbuffer.h: (WebCore::WebGLRenderbuffer::setInternalFormat): (WebCore::WebGLRenderbuffer::getInternalFormat): (WebCore::WebGLRenderbuffer::setSize): (WebCore::WebGLRenderbuffer::getWidth): (WebCore::WebGLRenderbuffer::getHeight): * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::initializeNewContext): (WebCore::WebGLRenderingContext::sizeInBytes): (WebCore::WebGLRenderingContext::activeTexture): (WebCore::WebGLRenderingContext::bindAttribLocation): (WebCore::WebGLRenderingContext::bindBuffer): (WebCore::WebGLRenderingContext::bindFramebuffer): (WebCore::WebGLRenderingContext::bindRenderbuffer): (WebCore::WebGLRenderingContext::bindTexture): (WebCore::WebGLRenderingContext::blendColor): (WebCore::WebGLRenderingContext::blendEquation): (WebCore::WebGLRenderingContext::blendEquationSeparate): (WebCore::WebGLRenderingContext::blendFunc): (WebCore::WebGLRenderingContext::blendFuncSeparate): (WebCore::WebGLRenderingContext::bufferData): (WebCore::WebGLRenderingContext::bufferSubData): (WebCore::WebGLRenderingContext::checkFramebufferStatus): (WebCore::WebGLRenderingContext::clear): (WebCore::WebGLRenderingContext::clearColor): (WebCore::WebGLRenderingContext::clearDepth): (WebCore::WebGLRenderingContext::clearStencil): (WebCore::WebGLRenderingContext::colorMask): (WebCore::WebGLRenderingContext::copyTexImage2D): (WebCore::WebGLRenderingContext::copyTexSubImage2D): (WebCore::WebGLRenderingContext::createShader): (WebCore::WebGLRenderingContext::cullFace): (WebCore::WebGLRenderingContext::deleteBuffer): (WebCore::WebGLRenderingContext::depthFunc): (WebCore::WebGLRenderingContext::depthMask): (WebCore::WebGLRenderingContext::depthRange): (WebCore::WebGLRenderingContext::disable): (WebCore::WebGLRenderingContext::disableVertexAttribArray): (WebCore::WebGLRenderingContext::validateElementArraySize): (WebCore::WebGLRenderingContext::validateIndexArrayConservative): (WebCore::WebGLRenderingContext::validateIndexArrayPrecise): (WebCore::WebGLRenderingContext::validateRenderingState): (WebCore::WebGLRenderingContext::drawArrays): (WebCore::WebGLRenderingContext::drawElements): (WebCore::WebGLRenderingContext::enable): (WebCore::WebGLRenderingContext::enableVertexAttribArray): (WebCore::WebGLRenderingContext::framebufferRenderbuffer): (WebCore::WebGLRenderingContext::framebufferTexture2D): (WebCore::WebGLRenderingContext::frontFace): (WebCore::WebGLRenderingContext::generateMipmap): (WebCore::WebGLRenderingContext::getActiveAttrib): (WebCore::WebGLRenderingContext::getActiveUniform): (WebCore::WebGLRenderingContext::getAttachedShaders): (WebCore::WebGLRenderingContext::getAttribLocation): (WebCore::WebGLRenderingContext::getBufferParameter): (WebCore::WebGLRenderingContext::getError): (WebCore::WebGLRenderingContext::getFramebufferAttachmentParameter): (WebCore::WebGLRenderingContext::getParameter): (WebCore::WebGLRenderingContext::getProgramParameter): (WebCore::WebGLRenderingContext::getRenderbufferParameter): (WebCore::WebGLRenderingContext::getShaderParameter): (WebCore::WebGLRenderingContext::getTexParameter): (WebCore::WebGLRenderingContext::getUniform): (WebCore::WebGLRenderingContext::getUniformLocation): (WebCore::WebGLRenderingContext::getVertexAttrib): (WebCore::WebGLRenderingContext::getVertexAttribOffset): (WebCore::WebGLRenderingContext::hint): (WebCore::WebGLRenderingContext::isBuffer): (WebCore::WebGLRenderingContext::isEnabled): (WebCore::WebGLRenderingContext::isFramebuffer): (WebCore::WebGLRenderingContext::isProgram): (WebCore::WebGLRenderingContext::isRenderbuffer): (WebCore::WebGLRenderingContext::isShader): (WebCore::WebGLRenderingContext::isTexture): (WebCore::WebGLRenderingContext::lineWidth): (WebCore::WebGLRenderingContext::linkProgram): (WebCore::WebGLRenderingContext::pixelStorei): (WebCore::WebGLRenderingContext::polygonOffset): (WebCore::WebGLRenderingContext::readPixels): (WebCore::WebGLRenderingContext::renderbufferStorage): (WebCore::WebGLRenderingContext::sampleCoverage): (WebCore::WebGLRenderingContext::scissor): (WebCore::WebGLRenderingContext::stencilFunc): (WebCore::WebGLRenderingContext::stencilFuncSeparate): (WebCore::WebGLRenderingContext::stencilMask): (WebCore::WebGLRenderingContext::stencilMaskSeparate): (WebCore::WebGLRenderingContext::stencilOp): (WebCore::WebGLRenderingContext::stencilOpSeparate): (WebCore::WebGLRenderingContext::texImage2DBase): (WebCore::WebGLRenderingContext::texImage2DImpl): (WebCore::WebGLRenderingContext::texImage2D): (WebCore::WebGLRenderingContext::texParameter): (WebCore::WebGLRenderingContext::texParameterf): (WebCore::WebGLRenderingContext::texParameteri): (WebCore::WebGLRenderingContext::texSubImage2DBase): (WebCore::WebGLRenderingContext::texSubImage2DImpl): (WebCore::WebGLRenderingContext::texSubImage2D): (WebCore::WebGLRenderingContext::uniform1f): (WebCore::WebGLRenderingContext::uniform1fv): (WebCore::WebGLRenderingContext::uniform1i): (WebCore::WebGLRenderingContext::uniform1iv): (WebCore::WebGLRenderingContext::uniform2f): (WebCore::WebGLRenderingContext::uniform2fv): (WebCore::WebGLRenderingContext::uniform2i): (WebCore::WebGLRenderingContext::uniform2iv): (WebCore::WebGLRenderingContext::uniform3f): (WebCore::WebGLRenderingContext::uniform3fv): (WebCore::WebGLRenderingContext::uniform3i): (WebCore::WebGLRenderingContext::uniform3iv): (WebCore::WebGLRenderingContext::uniform4f): (WebCore::WebGLRenderingContext::uniform4fv): (WebCore::WebGLRenderingContext::uniform4i): (WebCore::WebGLRenderingContext::uniform4iv): (WebCore::WebGLRenderingContext::uniformMatrix2fv): (WebCore::WebGLRenderingContext::uniformMatrix3fv): (WebCore::WebGLRenderingContext::uniformMatrix4fv): (WebCore::WebGLRenderingContext::vertexAttrib1f): (WebCore::WebGLRenderingContext::vertexAttrib1fv): (WebCore::WebGLRenderingContext::vertexAttrib2f): (WebCore::WebGLRenderingContext::vertexAttrib2fv): (WebCore::WebGLRenderingContext::vertexAttrib3f): (WebCore::WebGLRenderingContext::vertexAttrib3fv): (WebCore::WebGLRenderingContext::vertexAttrib4f): (WebCore::WebGLRenderingContext::vertexAttrib4fv): (WebCore::WebGLRenderingContext::vertexAttribPointer): (WebCore::WebGLRenderingContext::viewport): (WebCore::WebGLRenderingContext::getBooleanParameter): (WebCore::WebGLRenderingContext::getBooleanArrayParameter): (WebCore::WebGLRenderingContext::getFloatParameter): (WebCore::WebGLRenderingContext::getIntParameter): (WebCore::WebGLRenderingContext::getLongParameter): (WebCore::WebGLRenderingContext::getUnsignedLongParameter): (WebCore::WebGLRenderingContext::getWebGLFloatArrayParameter): (WebCore::WebGLRenderingContext::getWebGLIntArrayParameter): (WebCore::WebGLRenderingContext::isTexInternalFormatColorBufferCombinationValid): (WebCore::WebGLRenderingContext::getBoundFramebufferColorFormat): (WebCore::WebGLRenderingContext::validateTextureBinding): (WebCore::WebGLRenderingContext::validateSize): (WebCore::WebGLRenderingContext::validateTexFuncFormatAndType): (WebCore::WebGLRenderingContext::validateTexFuncLevel): (WebCore::WebGLRenderingContext::validateTexFuncParameters): (WebCore::WebGLRenderingContext::validateTexFuncData): (WebCore::WebGLRenderingContext::validateDrawMode): (WebCore::WebGLRenderingContext::validateStencilFunc): (WebCore::WebGLRenderingContext::validateFramebufferFuncParameters): (WebCore::WebGLRenderingContext::validateBlendEquation): (WebCore::WebGLRenderingContext::validateBlendFuncFactors): (WebCore::WebGLRenderingContext::validateCapability): (WebCore::WebGLRenderingContext::validateUniformParameters): (WebCore::WebGLRenderingContext::validateUniformMatrixParameters): (WebCore::WebGLRenderingContext::validateBufferDataParameters): (WebCore::WebGLRenderingContext::vertexAttribfImpl): (WebCore::WebGLRenderingContext::vertexAttribfvImpl): (WebCore::WebGLRenderingContext::simulateVertexAttrib0): * html/canvas/WebGLRenderingContext.h: (WebCore::WebGLRenderingContext::VertexAttribState::VertexAttribState): * html/canvas/WebGLShader.cpp: (WebCore::WebGLShader::create): (WebCore::WebGLShader::WebGLShader): * html/canvas/WebGLShader.h: (WebCore::WebGLShader::getType): * html/canvas/WebGLTexture.cpp: (WebCore::WebGLTexture::setTarget): (WebCore::WebGLTexture::setParameteri): (WebCore::WebGLTexture::setParameterf): (WebCore::WebGLTexture::setLevelInfo): (WebCore::WebGLTexture::generateMipmapLevelInfo): (WebCore::WebGLTexture::getInternalFormat): (WebCore::WebGLTexture::getType): (WebCore::WebGLTexture::getWidth): (WebCore::WebGLTexture::getHeight): (WebCore::WebGLTexture::isNPOT): (WebCore::WebGLTexture::mapTargetToIndex): (WebCore::WebGLTexture::computeLevelCount): (WebCore::WebGLTexture::update): (WebCore::WebGLTexture::getLevelInfo): * html/canvas/WebGLTexture.h: (WebCore::WebGLTexture::LevelInfo::setInfo): * html/canvas/WebGLUniformLocation.cpp: (WebCore::WebGLUniformLocation::create): (WebCore::WebGLUniformLocation::WebGLUniformLocation): (WebCore::WebGLUniformLocation::location): * html/canvas/WebGLUniformLocation.h: * platform/graphics/GraphicsContext3D.h: Map GC3Dboolean to bool instead of unsigned char. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
Unskip editing/input/page-up-down-scrolls.html as it's passing locally. * platform/gtk/Skipped: Unskip test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75740 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jianli@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=52257 Reviewed by Darin Fisher. Source/WebCore: Note that we add "webkit" vendor prefix to URL that is introduced in the latest File API spec. For the time being, we implement webkitURL as a readonly attribute instead of a constructor so that we will not expose prototype property, as required by the spec. * Android.derived.jscbindings.mk: * Android.derived.v8bindings.mk: * Android.mk: * CMakeLists.txt: * DerivedSources.cpp: * DerivedSources.make: * GNUmakefile.am: * WebCore.gypi: * WebCore.pri: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * html/DOMURL.cpp: Added. * html/DOMURL.h: Added. * html/DOMURL.idl: Added. * inspector/front-end/NetworkPanel.js: * inspector/front-end/utilities.js: * page/DOMWindow.cpp: (WebCore::DOMWindow::webkitURL): * page/DOMWindow.h: * page/DOMWindow.idl: * workers/WorkerContext.cpp: (WebCore::WorkerContext::webkitURL): * workers/WorkerContext.h: * workers/WorkerContext.idl: LayoutTests: Change all related test scripts and results to account for this change. * fast/dom/Window/script-tests/window-property-descriptors.js: * fast/dom/Window/window-properties-expected.txt: * fast/dom/Window/window-properties.html: * fast/dom/script-tests/prototype-inheritance-2.js: * fast/dom/script-tests/prototype-inheritance.js: * fast/files/apply-blob-url-to-img.html: * fast/files/apply-blob-url-to-xhr.html: * fast/files/create-blob-url-crash.html: * fast/files/revoke-blob-url.html: * fast/files/workers/resources/worker-apply-blob-url-to-xhr.js: (onmessage): * platform/qt/fast/dom/Window/window-properties-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75739 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Dimitri Glazkov. Setting outerText should convert CR/LF to <br> https://bugs.webkit.org/show_bug.cgi?id=52268 Add test for setting Element.outerText. * fast/dom/set-outer-text-expected.txt: Added. * fast/dom/set-outer-text.html: Added. * fast/dom/text-node-append-data-remove-crash-expected.txt: Changed expectation to "didn't crash" from "threw dom exception" as test assumed the DOMCharacterDataModified event would fire before the node would be replaced. * fast/dom/text-node-append-data-remove-crash.html: 2011-01-13 Emil Eklund <eae@chromium.org> Reviewed by Dimitri Glazkov. Setting outerText should convert CR/LF to <br> https://bugs.webkit.org/show_bug.cgi?id=52268 Make set outerText support line breaks (sharing the text to fragment code with setInnerText) and handle empty text nodes the same way IE does. Test: fast/dom/set-outer-text.html * html/HTMLElement.cpp: (WebCore::HTMLElement::textToFragment): Shared between setInnerText and setOuterText (WebCore::HTMLElement::setInnerText): Split out text parsing code. (WebCore::mergeWithNextTextNode): Split out text node merging code. (WebCore::HTMLElement::setOuterText): Added support for line breaks. * html/HTMLElement.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75738 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
See <http://webkit.org/b/52397>. * platform/win/Skipped: Added compositing/reflections/load-video-in-reflection.html. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
Skip fast/text/emphasis.html as it shows a 1 pixel difference on the 32-bit Debug bot. * platform/gtk/Skipped: Skip fast/text/emphasis.html. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zmo@google.com authored
Reviewed by Kenneth Russell. Relax the ESSL valid charset a little bit to include " ' ` https://bugs.webkit.org/show_bug.cgi?id=52396 * html/canvas/WebGLRenderingContext.cpp: 2011-01-13 Zhenyao Mo <zmo@google.com> Reviewed by Kenneth Russell. Relax the ESSL valid charset a little bit to include " ' ` https://bugs.webkit.org/show_bug.cgi?id=52396 * fast/canvas/webgl/invalid-passed-params-expected.txt: * fast/canvas/webgl/invalid-passed-params.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jam@chromium.org authored
Reviewed by Tony Chang. [chromium]: Only swallow ctrl+c for windowless plugins if we know the plugin has a selection https://bugs.webkit.org/show_bug.cgi?id=52393 * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::copy): (WebKit::WebPluginContainerImpl::handleKeyboardEvent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
enne@google.com authored
Reviewed by Kenneth Russell. [chromium] Attempt to fix crash in tiled compositor memcpy https://bugs.webkit.org/show_bug.cgi?id=52379 * platform/graphics/chromium/LayerTilerChromium.cpp: (WebCore::LayerTilerChromium::update): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mdelaney@apple.com authored
Reviewed by nobody - reinstrumenting a test to save burning trees. fast/canvas/canvas-large-dimensions.html (introduced in r75648) is failing on all platforms except Snow Leopard https://bugs.webkit.org/show_bug.cgi?id=52341 * fast/canvas/canvas-large-dimensions-expected.txt: Replaced. * fast/canvas/canvas-large-dimensions.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jschuh@chromium.org authored
Unreviewed chromium expectations update. Exclude destroy-on-setwindow.html (added in r75720). * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jam@chromium.org authored
Reviewed by Darin Fisher. [chromium] Add support to allow printing just a plugin in a frame https://bugs.webkit.org/show_bug.cgi?id=52134 * public/WebContextMenuData.h: * public/WebFrame.h: * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/WebFrameImpl.cpp: (WebKit::ChromePluginPrintContext::ChromePluginPrintContext): (WebKit::ChromePluginPrintContext::end): (WebKit::ChromePluginPrintContext::computePageRects): (WebKit::ChromePluginPrintContext::spoolPage): (WebKit::WebFrameImpl::printBegin): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alex@webkit.org authored
Reviewed by Martin Robinson. [gtk] Zero-sized font does not yet work https://bugs.webkit.org/show_bug.cgi?id=49793 Unskip font-size-zero.html. * platform/gtk/Skipped: 2011-01-13 Alejandro G. Castro <alex@igalia.com> Reviewed by Martin Robinson. [gtk] Zero-sized font does not yet work https://bugs.webkit.org/show_bug.cgi?id=49793 Set minimum-font-size to 0 for the DRT. * DumpRenderTree/gtk/DumpRenderTree.cpp: (resetDefaultsToConsistentValues): 2011-01-13 Alejandro G. Castro <alex@igalia.com> Reviewed by Martin Robinson. [gtk] Zero-sized font does not yet work https://bugs.webkit.org/show_bug.cgi?id=49793 Allow 0 as a minimum-font-size value for the settings. * webkit/webkitwebsettings.cpp: (webkit_web_settings_class_init): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
http://trac.webkit.org/changeset/75725 https://bugs.webkit.org/show_bug.cgi?id=52317 Caused crashes in layout tests. * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::initForStyleResolve): * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::updateType): * html/InputType.cpp: * html/InputType.h: * html/RangeInputType.cpp: * html/RangeInputType.h: * html/shadow/SliderThumbElement.cpp: (WebCore::SliderThumbElement::defaultEventHandler): (WebCore::SliderThumbElement::detach): * html/shadow/SliderThumbElement.h: (WebCore::SliderThumbElement::SliderThumbElement): (WebCore::SliderThumbElement::create): * rendering/MediaControlElements.cpp: (WebCore::MediaControlInputElement::attach): (WebCore::MediaControlInputElement::updateStyle): * rendering/RenderSlider.cpp: (WebCore::RenderSlider::~RenderSlider): (WebCore::RenderSlider::styleDidChange): (WebCore::RenderSlider::createThumbStyle): (WebCore::RenderSlider::thumbRect): (WebCore::RenderSlider::layout): (WebCore::RenderSlider::updateFromElement): (WebCore::RenderSlider::mouseEventIsInThumb): (WebCore::RenderSlider::mouseEventOffsetToThumb): (WebCore::RenderSlider::setValueForPosition): (WebCore::RenderSlider::positionForOffset): (WebCore::RenderSlider::currentPosition): (WebCore::RenderSlider::trackSize): (WebCore::RenderSlider::forwardEvent): (WebCore::RenderSlider::inDragMode): * rendering/RenderSlider.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tony@chromium.org authored
Unreviewed, updating chromium test_expectations.txt * platform/chromium/test_expectations.txt: Mark a test as slow in debug. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
Reviewed by Darin Adler. Make old-run-webkit-tests more robust on buildbots https://bugs.webkit.org/show_bug.cgi?id=52364 * BuildSlaveSupport/build.webkit.org-config/master.cfg: Pass --exit-after-n-failures 500 to old-run-webkit-tests script. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
Reviewed by Darin Adler. Flip input[type=range] to use the new shadow DOM model. https://bugs.webkit.org/show_bug.cgi?id=52317 This is a straight-up flip, minimal change to the logic, which will be refactored in a follow-up patch. Covered by existing tests. * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::initForStyleResolve): Changed to use either host or parent node to find parent. * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::updateType): Added logic for destroying/creating shadow DOM subtree. * html/InputType.cpp: (WebCore::InputType::createShadowSubtree): Added empty decl. (WebCore::InputType::destroyShadowSubtree): Added a method to destroy shadow subtree. * html/InputType.h: Added defs. * html/RangeInputType.cpp: (WebCore::RangeInputType::createShadowSubtree): Added a virtual method to create slider thumb. * html/RangeInputType.h: Adde def. * html/shadow/SliderThumbElement.cpp: Added temporary RenderSliderThumb class to handle cascading appearance. (WebCore::RenderSliderThumb::RenderSliderThumb): Added. (WebCore::RenderSliderThumb::layout): Moved here the logic from RenderSlider::createThumbStyle. (WebCore::SliderThumbElement::createRenderer): Added virtual method to create RenderSliderThumb instance. (WebCore::SliderThumbElement::defaultEventHandler): Changed to use HTMLDivElement as base class. (WebCore::SliderThumbElement::detach): Ditto. * html/shadow/SliderThumbElement.h: (WebCore::SliderThumbElement::SliderThumbElement): Ditto. (WebCore::SliderThumbElement::create): Ditto. (WebCore::toSliderThumbElement): Added a casting helper. * rendering/MediaControlElements.cpp: (WebCore::MediaControlInputElement::attach): Added handling of shadow DOM, since the whole method is hand-rolled. (WebCore::MediaControlInputElement::updateStyle): Ditto. * rendering/RenderSlider.cpp: (WebCore::RenderSlider::~RenderSlider): Removed unneeded code. (WebCore::RenderSlider::thumbRect): Changed to use sliderThumbElement helper. (WebCore::RenderSlider::layout): Ditto. (WebCore::RenderSlider::sliderThumbElement): Added a temporary helper to access SliderThumbElement. (WebCore::RenderSlider::mouseEventIsInThumb): Changed to use sliderThumbElement helper. (WebCore::RenderSlider::mouseEventOffsetToThumb): Ditto. (WebCore::RenderSlider::setValueForPosition): Ditto. (WebCore::RenderSlider::positionForOffset): Ditto. (WebCore::RenderSlider::currentPosition): Ditto. (WebCore::RenderSlider::trackSize): Ditto. (WebCore::RenderSlider::forwardEvent): Ditto. (WebCore::RenderSlider::inDragMode): Ditto. * rendering/RenderSlider.h: Added def. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
See <http://webkit.org/b/52374>. * platform/win-xp/fast/canvas/set-colors-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
This test fails non-deterministically. See <http://webkit.org/b/49801>. * fast/profiler/throw-exception-from-eval.html-disabled: Renamed from LayoutTests/fast/profiler/throw-exception-from-eval.html. * platform/gtk/Skipped: * platform/mac-leopard/Skipped: * platform/qt/Skipped: Un-skipped this test now that it's been disabled by other means. * platform/win-xp/fast/profiler/throw-exception-from-eval-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=52376 Reviewed by John Sullivan. * WebProcess/WebPage/DrawingAreaImpl.cpp: (WebKit::DrawingAreaImpl::scroll): Changed to take the fast path if the rects have the same area. This made the assertion valid, but I removed it anyway. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
Reviewed by Darin Adler. Make old-run-webkit-tests more robust on buildbots https://bugs.webkit.org/show_bug.cgi?id=52364 * Scripts/old-run-webkit-tests: Ensure that testResultsDirectory is empty. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/8098442mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=52375 Reviewed by Simon Fraser. Source/WebCore: Test: plugins/destroy-on-setwindow.html * platform/mac/WidgetMac.mm: (WebCore::Widget::setFrameRect): Protect the Widget from being deleted as a result of calling out to the view. (WebCore::Widget::getOuterView): Coding style fix. (WebCore::Widget::paint): Protect the Widget from being deleted as a result of calling out to the views. This is precautionary, since this function does not applear to access member variables after such calls. * platform/wx/WidgetWx.cpp: (WebCore::Widget::setFrameRect): Protect the Widget from being deleted as a result of calling out to the platform widget. LayoutTests: * plugins/destroy-on-setwindow-expected.txt: Added. * plugins/destroy-on-setwindow.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tony@chromium.org authored
Reviewed by Kent Tamura. [chromium] fix plugins/plugin-javascript-access.html on Linux and Mac https://bugs.webkit.org/show_bug.cgi?id=52332 Fix Linux baseline. Mac should now match Safari Mac. * platform/chromium-linux/plugins/plugin-javascript-access-expected.txt: * platform/chromium/test_expectations.txt: 2011-01-13 Tony Chang <tony@chromium.org> Reviewed by Kent Tamura. [chromium] fix plugins/plugin-javascript-access.html on Linux and Mac https://bugs.webkit.org/show_bug.cgi?id=52332 Forked Info.plist is not longer needed. * DumpRenderTree/chromium/TestNetscapePlugIn/Info.plist: Removed. 2011-01-13 Tony Chang <tony@chromium.org> Reviewed by Kent Tamura. [chromium] fix plugins/plugin-javascript-access.html on Linux and Mac https://bugs.webkit.org/show_bug.cgi?id=52332 * WebKit.gyp: Remove WebKitTestNetscapePlugIn git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* WebCore.pri: * WebCore.pro: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75718 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
Not reviewed: inspector extensions tests should not use sources as test data. Commenting one out temporarily, filing a bug. * inspector/extensions-events-expected.txt: * inspector/extensions-events.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
Not reviewed: Qt build fix. * WebCore.pri: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
Reviewed by Yury Semikhatsky. Web Inspector: embed injected script into the backend. https://bugs.webkit.org/show_bug.cgi?id=52312 InjectedScript belongs to the backend of the system and should be exposed by means of protocol, not InjectedScriptAccess. This patch makes injected script a part of the backend. It introduces single manual generation step (xxd -i) that should be automated by the build scripts for all the platforms. * CMakeLists.txt: * DerivedSources.make: * GNUmakefile.am: * WebCore.gyp/WebCore.gyp: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSInjectedScriptHostCustom.cpp: (WebCore::InjectedScriptHost::injectedScriptFor): * bindings/v8/custom/V8InjectedScriptHostCustom.cpp: (WebCore::InjectedScriptHost::injectedScriptFor): * inspector/InjectedScriptHost.cpp: (WebCore::InjectedScriptHost::injectedScriptSource): * inspector/InjectedScriptHost.h: * inspector/Inspector.idl: * inspector/InspectorController.cpp: (WebCore::InspectorController::restoreInspectorStateFromCookie): * inspector/InspectorState.cpp: (WebCore::InspectorState::InspectorState): * inspector/InspectorState.h: * inspector/front-end/InjectedScript.js: Removed. * inspector/front-end/WebKit.qrc: * inspector/front-end/inspector.html: * inspector/front-end/inspector.js: (WebInspector.doLoadedDone.propertyNamesCallback): (WebInspector.doLoadedDone): * inspector/xxd.pl: Added. 2011-01-12 Pavel Feldman <pfeldman@chromium.org> Reviewed by Yury Semikhatsky. Web Inspector: embed injected script into the backend. https://bugs.webkit.org/show_bug.cgi?id=52312 * WebKit.grd: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mnaganov@chromium.org authored
Reviewed by Timothy Hatcher. Web Inspector: Cleanup after r75613 -- make all UI-facing strings to be passed directly to WebInspector.UIString https://bugs.webkit.org/show_bug.cgi?id=52365 * English.lproj/localizedStrings.js: * inspector/front-end/ApplicationCacheItemsView.js: (WebInspector.ApplicationCacheItemsView.prototype._updateCallback): (WebInspector.ApplicationCacheItemsView.prototype._populateDataGrid): * inspector/front-end/AuditRules.js: (WebInspector.AuditRules.GzipRule.prototype.doRun): (WebInspector.AuditRules.CookieSizeRule.prototype.processCookies): (WebInspector.AuditRules.StaticCookielessRule.prototype.processCookies): * inspector/front-end/BreakpointsSidebarPane.js: (WebInspector.EventListenerBreakpointsSidebarPane): (WebInspector.EventListenerBreakpointsSidebarPane.prototype._createCategory): * inspector/front-end/CookieItemsView.js: (WebInspector.CookieItemsView.prototype._updateWithCookies): * inspector/front-end/ImageView.js: (WebInspector.ImageView.prototype._createContentIfNeeded.onImageLoad): (WebInspector.ImageView.prototype._createContentIfNeeded): * inspector/front-end/NetworkPanel.js: (WebInspector.NetworkTimeCalculator.prototype.formatValue): (WebInspector.NetworkTransferTimeCalculator.prototype.formatValue): (WebInspector.NetworkTransferDurationCalculator.prototype.formatValue): * inspector/front-end/ProfileDataGridTree.js: (WebInspector.ProfileDataGridNode.prototype.get data.formatMilliseconds): (WebInspector.ProfileDataGridNode.prototype.get data): * inspector/front-end/Resource.js: (WebInspector.Resource.Type.toUIString): (WebInspector.Resource.Type.toString): * inspector/front-end/TimelineOverviewPane.js: (WebInspector.TimelineOverviewCalculator.prototype.formatValue): * inspector/front-end/TimelinePanel.js: (WebInspector.TimelinePanel): (WebInspector.TimelineCalculator.prototype.formatValue): (WebInspector.TimelinePanel.FormattedRecord.prototype._generateAggregatedInfo): (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent): (WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails): * inspector/front-end/utilities.js: (): * Scripts/check-inspector-strings: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Simon Hausmann. [Qt] Need a way to inform the application when a Netscape plugin is created. https://bugs.webkit.org/show_bug.cgi?id=30179 Added "c" style static method for the application to hook up for receiving notifications when a plugin is created. * plugins/symbian/PluginViewSymbian.cpp: (qtwebkit_setPluginCreatedCallback): (WebCore::PluginView::platformStart): 2011-01-13 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com> Reviewed by Simon Hausmann. [Qt] Need a way to inform the application when a Netscape plugin is created. https://bugs.webkit.org/show_bug.cgi?id=30179 Added "c" style static method for the application to hook up for receiving notifications when a plugin is created. * symbian/bwins/QtWebKitu.def: * symbian/eabi/QtWebKitu.def: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Eric Seidel. [Qt] Use a black background color for the video element on Qt Mobile https://bugs.webkit.org/show_bug.cgi?id=52252 Use black as the background color for the video element on Qt Mobile. * css/themeQtMobile.css: (video): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Eric Seidel. [Qt] Use a big central media play control button for video element https://bugs.webkit.org/show_bug.cgi?id=52315 When ChromeClient::requiresFullscreenForVideoPlayback() returns true, all other control buttons for the video element are hidden, except a big centralized play button. No new tests because no client implements requiresFullscreenForVideoPlayback yet. * WebCore.pri: * css/mediaControlsQtFullscreen.css: Added. (audio): (audio::-webkit-media-controls-panel): (video::-webkit-media-controls-panel): (video:-webkit-full-page-media::-webkit-media-controls-panel): (audio::-webkit-media-controls-mute-button): (video::-webkit-media-controls-mute-button): (audio::-webkit-media-controls-play-button): (video::-webkit-media-controls-play-button): (audio::-webkit-media-controls-timeline-container): (video::-webkit-media-controls-timeline-container): (audio::-webkit-media-controls-current-time-display): (video::-webkit-media-controls-current-time-display): (audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-controls-time-remaining-display): (audio::-webkit-media-controls-timeline): (video::-webkit-media-controls-timeline): (audio::-webkit-media-controls-volume-slider-container): (video::-webkit-media-controls-volume-slider-container): (audio::-webkit-media-controls-volume-slider): (video::-webkit-media-controls-volume-slider): (audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button): (audio::-webkit-media-controls-seek-forward-button, video::-webkit-media-controls-seek-forward-button): (audio::-webkit-media-controls-fullscreen-button): (video::-webkit-media-controls-fullscreen-button): (audio::-webkit-media-controls-rewind-button, video::-webkit-media-controls-rewind-button): (audio::-webkit-media-controls-return-to-realtime-button, video::-webkit-media-controls-return-to-realtime-button): (audio::-webkit-media-controls-toggle-closed-captions-button, video::-webkit-media-controls-toggle-closed-captions-button): * platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::extraMediaControlsStyleSheet): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
carlosgc@webkit.org authored
Reviewed by Xan Lopez. [GTK] Paint toggle buttons inconsistent when the object state is indeterminate https://bugs.webkit.org/show_bug.cgi?id=52361 Check whether the object state is indeterminate to set the flag GTK_STATE_FLAG_INCONSISTENT before rendering check and radio buttons. * platform/gtk/RenderThemeGtk3.cpp: (WebCore::paintToggle): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
xan@webkit.org authored
Reviewed by Gavin Barraclough. JIT requires VM overcommit (particularly on x86-64), Linux does not by default support this without swap? https://bugs.webkit.org/show_bug.cgi?id=42756 The FixedVMPool Allocator does not work well on systems where allocating very large amounts of memory upfront is not reasonable, like Linux without overcommit enabled. As a workaround, on Linux, default to the values used in embedded environments (in the MB range), and only jump to the GB range if we detect at runtime that overcommit is enabled. Should fix crashes on Linux/x86_64 with less than 3 or 4GB of RAM. * jit/ExecutableAllocatorFixedVMPool.cpp: (JSC::FixedVMPoolAllocator::free): use new variables for VM pool size and coalesce limit. (JSC::ExecutableAllocator::isValid): swap the variables from embedded to generic values at runtime, on linux, if overcommit is enabled. (JSC::ExecutableAllocator::underMemoryPressure): use new variables for VM pool size and coalesce limit. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Simon Hausmann. [Qt] Extend the Platform Plugin to support full screen video handler https://bugs.webkit.org/show_bug.cgi?id=51249 Make MediaPlayerPrivateQt support a fullscreen player. No new tests because LayoutTests/media/media-fullscreen-inline.html already exists. However, this test failed for Qt (QtMediaPlayer) due to durationchange event getting fired twice. So, still skip it for Qt. * WebCore.pro: * platform/graphics/qt/MediaPlayerPrivateQt.cpp: (WebCore::MediaPlayerPrivateQt::MediaPlayerPrivateQt): (WebCore::MediaPlayerPrivateQt::removeVideoItem): (WebCore::MediaPlayerPrivateQt::restoreVideoItem): * platform/graphics/qt/MediaPlayerPrivateQt.h: (WebCore::MediaPlayerPrivateQt::supportsFullscreen): (WebCore::MediaPlayerPrivateQt::mediaPlayer): 2011-01-13 Yi Shen <yi.4.shen@nokia.com> Reviewed by Simon Hausmann. [Qt] Extend the Platform Plugin to support full screen video handler https://bugs.webkit.org/show_bug.cgi?id=51249 Add a new webkit platform plugin interface to support full screen video handler. * Api/qwebkitplatformplugin.h: (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler): (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler): * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::ChromeClientQt): (WebCore::ChromeClientQt::~ChromeClientQt): (WebCore::ChromeClientQt::fullScreenVideo): (WebCore::ChromeClientQt::supportsFullscreenForNode): (WebCore::ChromeClientQt::requiresFullscreenForVideoPlayback): (WebCore::ChromeClientQt::enterFullscreenForNode): (WebCore::ChromeClientQt::exitFullscreenForNode): * WebCoreSupport/ChromeClientQt.h: * WebCoreSupport/FullScreenVideoQt.cpp: Added. (WebCore::FullScreenVideoQt::FullScreenVideoQt): (WebCore::FullScreenVideoQt::~FullScreenVideoQt): (WebCore::FullScreenVideoQt::enterFullScreenForNode): (WebCore::FullScreenVideoQt::exitFullScreenForNode): (WebCore::FullScreenVideoQt::aboutToClose): (WebCore::FullScreenVideoQt::mediaPlayer): (WebCore::FullScreenVideoQt::mediaPlayerForNode): (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback): * WebCoreSupport/FullScreenVideoQt.h: Added. (WebCore::FullScreenVideoQt::isValid): * WebCoreSupport/QtPlatformPlugin.cpp: (WebCore::QtPlatformPlugin::createFullScreenVideoHandler): * WebCoreSupport/QtPlatformPlugin.h: * examples/platformplugin/WebPlugin.cpp: (FullScreenVideoWidget::FullScreenVideoWidget): (FullScreenVideoWidget::event): (FullScreenVideoWidget::keyPressEvent): (FullScreenVideoHandler::FullScreenVideoHandler): (FullScreenVideoHandler::~FullScreenVideoHandler): (FullScreenVideoHandler::requiresFullScreenForVideoPlayback): (FullScreenVideoHandler::enterFullScreen): (FullScreenVideoHandler::exitFullScreen): (WebPlugin::supportsExtension): (WebPlugin::createExtension): * examples/platformplugin/WebPlugin.h: (FullScreenVideoWidget::~FullScreenVideoWidget): * examples/platformplugin/platformplugin.pro: * examples/platformplugin/qwebkitplatformplugin.h: (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler): (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/8858548mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=52359 Reviewed by Dave Hyatt. Source/WebCore: Test: fast/ruby/text-emphasis.html * css/html.css: (rt): LayoutTests: * fast/ruby/text-emphasis-expected.txt: Added. * fast/ruby/text-emphasis.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hayato@chromium.org authored
Unreviewed, chromium test expectations. Flaky expectations for html5lib/webkit-resumer.html. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Unreviewed, rolling out r74881. http://trac.webkit.org/changeset/74881 https://bugs.webkit.org/show_bug.cgi?id=52357 The EFL builder has been red for days (Requested by abarth on #webkit). * Scripts/webkitpy/common/net/buildbot/buildbot.py: * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
Rubber-stamped by David Levin. * loader/FrameLoader.cpp: Remove accidentally committed debug code. (WebCore::FrameLoader::shouldClose): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Removing this test from the Skipped list caused the next test alphabetically to fail instead. * platform/mac/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-