1. 02 Dec, 2010 25 commits
    • philn@webkit.org's avatar
      2010-12-02 Philippe Normand <pnormand@igalia.com> · 7cb244e3
      philn@webkit.org authored
              Unreviewed, unskip passing media tests on GTK.
      
              * platform/gtk/Skipped: Unskip fullscreen video tests, now passing.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7cb244e3
    • ossy@webkit.org's avatar
      Unreviewed. Add Qt specific expected files after r73063. · 8208ccac
      ossy@webkit.org authored
      Make scrolling work properly with writing modes
      https://bugs.webkit.org/show_bug.cgi?id=46645
      
      * platform/qt/fast/dom/horizontal-scrollbar-in-rtl-expected.txt: Copied from LayoutTests/fast/dom/horizontal-scrollbar-in-rtl-expected.txt.
      * platform/qt/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Copied from LayoutTests/fast/dom/vertical-scrollbar-in-rtl-expected.txt.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8208ccac
    • abecsi@webkit.org's avatar
      2010-12-02 Andras Becsi <abecsi@webkit.org> · 6b683987
      abecsi@webkit.org authored
              Unreviewed build fix.
      
              [Qt][V8] Fix linking of generated sources.
      
              No new tests needed.
      
              * WebCore.pro: add missing V8ImageDataCustom.cpp.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6b683987
    • aroben@apple.com's avatar
      Remove a test that we were only skipping to see if it would fix other tests · 41bfcb2d
      aroben@apple.com authored
      It didn't.
      
      * platform/mac-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41bfcb2d
    • aroben@apple.com's avatar
      Add some new tests to the mac-wk2 Skipped file · 671648d5
      aroben@apple.com authored
      All of the tests depend on EventSender.keyDown.
      
      * platform/mac-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      671648d5
    • zimmermann@webkit.org's avatar
      2010-12-02 Nikolas Zimmermann <nzimmermann@rim.com> · 15de2b89
      zimmermann@webkit.org authored
              Reviewed by Adam Roben.
      
              Split DECLARE_ANIMATED_PROPERTY* in DECLARE/DEFINE parts for SVGAnimatedString/SVGAnimatedEnumeration
              https://bugs.webkit.org/show_bug.cgi?id=50383
      
              Continuing the work on bug 42025: Introduce DECLARE_ANIMATED_(STRING|ENUMERATION) / DEFINE_ANIMATED_(STRING|ENUMERATION).
              The animated property declaration lives in the header, the definition in the cpp file, to avoid the dependency on SVGNames.h in all headers.
      
              No functional changes, thus no new tests.
      
              * svg/SVGAElement.cpp:
              * svg/SVGAElement.h:
              (WebCore::SVGAElement::isValid):
              (WebCore::SVGAElement::target):
              * svg/SVGAltGlyphElement.cpp:
              * svg/SVGAltGlyphElement.h:
              * svg/SVGAnimatedEnumeration.h:
              * svg/SVGAnimatedString.h:
              * svg/SVGClipPathElement.cpp:
              * svg/SVGClipPathElement.h:
              * svg/SVGComponentTransferFunctionElement.cpp:
              * svg/SVGComponentTransferFunctionElement.h:
              * svg/SVGCursorElement.cpp:
              * svg/SVGCursorElement.h:
              * svg/SVGFEBlendElement.cpp:
              * svg/SVGFEBlendElement.h:
              * svg/SVGFEColorMatrixElement.cpp:
              * svg/SVGFEColorMatrixElement.h:
              * svg/SVGFEComponentTransferElement.cpp:
              * svg/SVGFEComponentTransferElement.h:
              * svg/SVGFECompositeElement.cpp:
              * svg/SVGFECompositeElement.h:
              * svg/SVGFEConvolveMatrixElement.cpp:
              * svg/SVGFEConvolveMatrixElement.h:
              * svg/SVGFEDiffuseLightingElement.cpp:
              * svg/SVGFEDiffuseLightingElement.h:
              * svg/SVGFEDisplacementMapElement.cpp:
              * svg/SVGFEDisplacementMapElement.h:
              * svg/SVGFEGaussianBlurElement.cpp:
              * svg/SVGFEGaussianBlurElement.h:
              * svg/SVGFEImageElement.cpp:
              * svg/SVGFEImageElement.h:
              * svg/SVGFELightElement.cpp:
              * svg/SVGFEMergeNodeElement.cpp:
              * svg/SVGFEMergeNodeElement.h:
              * svg/SVGFEMorphologyElement.cpp:
              * svg/SVGFEMorphologyElement.h:
              * svg/SVGFEOffsetElement.cpp:
              * svg/SVGFEOffsetElement.h:
              * svg/SVGFESpecularLightingElement.cpp:
              * svg/SVGFESpecularLightingElement.h:
              * svg/SVGFETileElement.cpp:
              * svg/SVGFETileElement.h:
              * svg/SVGFETurbulenceElement.cpp:
              * svg/SVGFETurbulenceElement.h:
              * svg/SVGFilterElement.cpp:
              * svg/SVGFilterElement.h:
              * svg/SVGFilterPrimitiveStandardAttributes.cpp:
              * svg/SVGFilterPrimitiveStandardAttributes.h:
              * svg/SVGForeignObjectElement.cpp:
              * svg/SVGForeignObjectElement.h:
              * svg/SVGGradientElement.cpp:
              * svg/SVGGradientElement.h:
              * svg/SVGImageElement.cpp:
              * svg/SVGImageElement.h:
              * svg/SVGMPathElement.cpp:
              * svg/SVGMPathElement.h:
              * svg/SVGMarkerElement.cpp:
              * svg/SVGMarkerElement.h:
              * svg/SVGMaskElement.cpp:
              * svg/SVGMaskElement.h:
              * svg/SVGPatternElement.cpp:
              * svg/SVGPatternElement.h:
              * svg/SVGScriptElement.cpp:
              * svg/SVGScriptElement.h:
              * svg/SVGStyledElement.cpp:
              * svg/SVGStyledElement.h:
              (WebCore::SVGStyledElement::hasRelativeLengths):
              (WebCore::SVGStyledElement::supportsMarkers):
              (WebCore::SVGStyledElement::style):
              (WebCore::SVGStyledElement::updateRelativeLengthsInformation):
              (WebCore::SVGStyledElement::selfHasRelativeLengths):
              (WebCore::SVGStyledElement::isStyled):
              * svg/SVGTRefElement.cpp:
              * svg/SVGTRefElement.h:
              * svg/SVGTextContentElement.cpp:
              * svg/SVGTextContentElement.h:
              * svg/SVGTextPathElement.cpp:
              * svg/SVGTextPathElement.h:
              * svg/SVGUseElement.cpp:
              * svg/SVGUseElement.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15de2b89
    • paroga@webkit.org's avatar
      2010-12-02 Patrick Gansterer <paroga@webkit.org> · 1c9f42f9
      paroga@webkit.org authored
              Reviewed by Andreas Kling.
      
              [WX] Remove "current path" of GraphicsContext
              https://bugs.webkit.org/show_bug.cgi?id=50286
      
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/wx/GraphicsContextWx.cpp:
              (WebCore::GraphicsContext::GraphicsContext):
              (WebCore::GraphicsContext::fillPath):
              (WebCore::GraphicsContext::strokePath):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c9f42f9
    • mrobinson@webkit.org's avatar
      2010-11-24 Martin Robinson <mrobinson@igalia.com> · 08f22b78
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] Text input controls do not react properly to CSS styling
              https://bugs.webkit.org/show_bug.cgi?id=40855
      
              Update tests which have changed after fixes to text field layout.
      
              * platform/gtk/fast/css/input-search-padding-expected.txt:
              * platform/gtk/fast/css/text-input-with-webkit-border-radius-expected.txt:
              * platform/gtk/fast/forms/basic-inputs-expected.txt:
              * platform/gtk/fast/forms/basic-textareas-expected.txt:
              * platform/gtk/fast/forms/box-shadow-override-expected.txt:
              * platform/gtk/fast/forms/control-restrict-line-height-expected.txt:
              * platform/gtk/fast/forms/encoding-test-expected.txt:
              * platform/gtk/fast/forms/fieldset-align-expected.txt:
              * platform/gtk/fast/forms/floating-textfield-relayout-expected.txt:
              * platform/gtk/fast/forms/form-element-geometry-expected.txt:
              * platform/gtk/fast/forms/input-align-expected.txt:
              * platform/gtk/fast/forms/input-appearance-default-bkcolor-expected.txt:
              * platform/gtk/fast/forms/input-appearance-disabled-expected.txt:
              * platform/gtk/fast/forms/input-appearance-focus-expected.txt:
              * platform/gtk/fast/forms/input-appearance-height-expected.txt:
              * platform/gtk/fast/forms/input-appearance-preventDefault-expected.txt:
              * platform/gtk/fast/forms/input-appearance-readonly-expected.txt:
              * platform/gtk/fast/forms/input-appearance-selection-expected.txt:
              * platform/gtk/fast/forms/input-appearance-visibility-expected.txt:
              * platform/gtk/fast/forms/input-appearance-width-expected.txt:
              * platform/gtk/fast/forms/input-baseline-expected.txt:
              * platform/gtk/fast/forms/input-disabled-color-expected.txt:
              * platform/gtk/fast/forms/input-double-click-selection-gap-bug-expected.txt:
              * platform/gtk/fast/forms/input-field-text-truncated-expected.txt:
              * platform/gtk/fast/forms/input-paste-undo-expected.txt:
              * platform/gtk/fast/forms/input-placeholder-focus-twice-expected.txt:
              * platform/gtk/fast/forms/input-readonly-autoscroll-expected.txt:
              * platform/gtk/fast/forms/input-readonly-dimmed-expected.txt:
              * platform/gtk/fast/forms/input-readonly-empty-expected.txt:
              * platform/gtk/fast/forms/input-spaces-expected.txt:
              * platform/gtk/fast/forms/input-table-expected.txt:
              * platform/gtk/fast/forms/input-text-click-inside-expected.txt:
              * platform/gtk/fast/forms/input-text-click-outside-expected.txt:
              * platform/gtk/fast/forms/input-text-double-click-expected.txt:
              * platform/gtk/fast/forms/input-text-drag-down-expected.txt:
              * platform/gtk/fast/forms/input-text-option-delete-expected.txt:
              * platform/gtk/fast/forms/input-text-scroll-left-on-blur-expected.txt:
              * platform/gtk/fast/forms/input-text-self-emptying-click-expected.txt:
              * platform/gtk/fast/forms/input-text-word-wrap-expected.txt:
              * platform/gtk/fast/forms/input-type-change2-expected.txt:
              * platform/gtk/fast/forms/input-type-text-min-width-expected.txt:
              * platform/gtk/fast/forms/input-value-expected.txt:
              * platform/gtk/fast/forms/input-width-expected.txt:
              * platform/gtk/fast/forms/isindex-placeholder-expected.txt:
              * platform/gtk/fast/forms/minWidthPercent-expected.txt:
              * platform/gtk/fast/forms/password-placeholder-expected.txt:
              * platform/gtk/fast/forms/password-placeholder-text-security-expected.txt:
              * platform/gtk/fast/forms/placeholder-pseudo-style-expected.txt:
              * platform/gtk/fast/forms/placeholder-set-attribute-expected.txt:
              * platform/gtk/fast/forms/placeholder-set-value-expected.txt:
              * platform/gtk/fast/forms/placeholder-stripped-expected.txt:
              * platform/gtk/fast/forms/plaintext-mode-2-expected.txt:
              * platform/gtk/fast/forms/search-cancel-button-style-sharing-expected.txt:
              * platform/gtk/fast/forms/search-display-none-cancel-button-expected.txt:
              * platform/gtk/fast/forms/search-placeholder-value-changed-expected.txt:
              * platform/gtk/fast/forms/search-rtl-expected.txt:
              * platform/gtk/fast/forms/search-styled-expected.txt:
              * platform/gtk/fast/forms/search-transformed-expected.txt:
              * platform/gtk/fast/forms/search-zoomed-expected.txt:
              * platform/gtk/fast/forms/searchfield-heights-expected.txt:
              * platform/gtk/fast/forms/tabbing-input-iframe-expected.txt:
              * platform/gtk/fast/forms/text-control-intrinsic-widths-expected.txt:
              * platform/gtk/fast/forms/text-style-color-expected.txt:
              * platform/gtk/fast/forms/textAreaLineHeight-expected.txt:
              * platform/gtk/fast/forms/textarea-align-expected.txt:
              * platform/gtk/fast/forms/textarea-placeholder-pseudo-style-expected.txt:
              * platform/gtk/fast/forms/textarea-placeholder-set-attribute-expected.txt:
              * platform/gtk/fast/forms/textarea-placeholder-set-value-expected.txt:
              * platform/gtk/fast/forms/textarea-scroll-height-expected.txt:
              * platform/gtk/fast/forms/textarea-scrollbar-expected.txt:
              * platform/gtk/fast/forms/textarea-scrolled-type-expected.txt:
              * platform/gtk/fast/forms/textarea-setinnerhtml-expected.txt:
              * platform/gtk/fast/forms/textarea-width-expected.txt:
              * platform/gtk/fast/forms/textfield-focus-ring-expected.txt:
              * platform/gtk/fast/forms/textfield-overflow-expected.txt:
              * platform/gtk/fast/forms/visual-hebrew-text-field-expected.txt:
              * platform/gtk/fast/frames/take-focus-from-iframe-expected.txt:
      2010-10-26  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Xan Lopez.
      
              [GTK] Text input controls do not react properly to CSS styling
              https://bugs.webkit.org/show_bug.cgi?id=40855
      
              Improve text input control rendering. Instead of using the GTK+ border
              attributes of the control modify the padding, they modify the border.
              Make this same choice for search inputs and text area inputs.
      
              * platform/gtk/RenderThemeGtk.cpp:
              (WebCore::setTextInputBorders): Added this helper which sets text input control
              borders based on GTK+ theme settings.
              (WebCore::RenderThemeGtk::adjustTextFieldStyle): Use the setTextInputBorders helper.
              (WebCore::RenderThemeGtk::adjustTextAreaStyle): Ditto.
              (WebCore::RenderThemeGtk::adjustSearchFieldStyle): Ditto.
              * platform/gtk/RenderThemeGtk.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08f22b78
    • vitalyr@chromium.org's avatar
      2010-12-02 Vitaly Repeshko <vitalyr@chromium.org> · 21a9a0c0
      vitalyr@chromium.org authored
              Unreviewed.
      
              [chromium] Updating test expectations.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21a9a0c0
    • commit-queue@webkit.org's avatar
      2010-12-02 Norbert Leser <norbert.leser@nokia.com> · f10db9cd
      commit-queue@webkit.org authored
              Reviewed by Laszlo Gombos.
      
              [Qt] [Symbian] Reintroduce compiler optimizations for JSC
              https://bugs.webkit.org/show_bug.cgi?id=50270
      
              Add compiler optimization (symbian ARM target) which was lost after split from WebCore.
              Tested via Sunspider and V8 - both of which show significant performance improvement.
      
              * JavaScriptCore.pro:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73126 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f10db9cd
    • commit-queue@webkit.org's avatar
      2010-12-02 Andreas Kling <kling@webkit.org> · bab1a23d
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] GraphicsContext::strokeRect() taints the context's lineWidth
              https://bugs.webkit.org/show_bug.cgi?id=50269
      
              * fast/canvas/canvas-lineWidth-intact-after-strokeRect-expected.txt: Added.
              * fast/canvas/canvas-lineWidth-intact-after-strokeRect.html: Added.
              * fast/canvas/script-tests/canvas-lineWidth-intact-after-strokeRect.js: Added.
      2010-12-02  Andreas Kling  <kling@webkit.org>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] GraphicsContext::strokeRect() taints the context's lineWidth
              https://bugs.webkit.org/show_bug.cgi?id=50269
      
              Test: fast/canvas/canvas-lineWidth-intact-after-strokeRect.html
      
              * platform/graphics/qt/GraphicsContextQt.cpp:
              (WebCore::GraphicsContext::strokeRect): Restore the context's
              original stroke thickness after painting.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bab1a23d
    • abecsi@webkit.org's avatar
      2010-12-02 Peter Varga <pvarga@inf.u-szeged.hu> · 59e1c412
      abecsi@webkit.org authored
              Reviewed by Gavin Barraclough.
      
              Move regex parsing and fallback handling to runtime/RegExp.cpp
              https://bugs.webkit.org/show_bug.cgi?id=50015
      
              * runtime/RegExp.cpp:
              (JSC::RegExp::RegExp):
              (JSC::RegExp::create):
              (JSC::RegExp::compile):
              (JSC::RegExp::match):
              (JSC::RegExp::printTraceData):
              * runtime/RegExp.h:
              (JSC::RegExp::pattern):
              * yarr/RegexInterpreter.cpp:
              * yarr/RegexInterpreter.h:
              * yarr/RegexJIT.cpp:
              (JSC::Yarr::RegexGenerator::compile):
              (JSC::Yarr::jitCompileRegex):
              * yarr/RegexJIT.h:
              (JSC::Yarr::RegexCodeBlock::RegexCodeBlock):
              (JSC::Yarr::RegexCodeBlock::setFallBack):
              (JSC::Yarr::RegexCodeBlock::isFallBack):
              (JSC::Yarr::executeRegex):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59e1c412
    • reni@webkit.org's avatar
      [Qt] GraphicsContext::clip(path) should clip using winding fill · 99090c67
      reni@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=49912
      
      Patch by Renata Hodovan <reni@webkit.org> on 2010-12-02
      Reviewed by Andreas Kling.
      
      GraphicsContext::clip(path) now uses winding fill and this function is called by
      GraphicsContext::canvasClip(path).
      
      No new test is needed.
      
      * platform/graphics/qt/GraphicsContextQt.cpp:
      (WebCore::GraphicsContext::clip):
      (WebCore::GraphicsContext::canvasClip):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99090c67
    • apavlov@chromium.org's avatar
      2010-12-02 Alexander Pavlov <apavlov@chromium.org> · 7aabd4c4
      apavlov@chromium.org authored
              Unreviewed, build fix.
      
               * http/tests/inspector/inspect-iframe-from-different-domain.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7aabd4c4
    • apavlov@chromium.org's avatar
      2010-12-01 Alexander Pavlov <apavlov@chromium.org> · 0c63b63d
      apavlov@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: Remove obsolete CSS backend API from InspectorDOMAgent
              https://bugs.webkit.org/show_bug.cgi?id=50318
      
              WebCore:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.order:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * inspector/Inspector.idl:
              * inspector/InspectorCSSAgent.h:
              * inspector/InspectorCSSStore.cpp: Removed.
              * inspector/InspectorCSSStore.h: Removed.
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::InspectorController):
              (WebCore::InspectorController::connectFrontend):
              (WebCore::InspectorController::didCommitLoad):
              * inspector/InspectorController.h:
              * inspector/InspectorDOMAgent.cpp:
              (WebCore::InspectorDOMAgent::InspectorDOMAgent):
              (WebCore::InspectorDOMAgent::unbind):
              * inspector/InspectorDOMAgent.h:
              (WebCore::InspectorDOMAgent::create):
      
              LayoutTests:
              * inspector/styles-iframe.html:
              * inspector/styles-source-lines.html:
              * inspector/styles-source-offsets-expected.txt:
              * inspector/styles-source-offsets.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c63b63d
    • ossy@webkit.org's avatar
      Unreviewed trivial buildfix after r73117. · 4c3cb621
      ossy@webkit.org authored
      * page/FrameView.cpp:
      (WebCore::FrameView::calculateScrollbarModesForLayout):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73120 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c3cb621
    • commit-queue@webkit.org's avatar
      2010-12-02 Yuqiang Xian <yuqiang.xian@intel.com> · 21d2b850
      commit-queue@webkit.org authored
              Reviewed by Pavel Feldman.
      
              [V8] Speed up data property access for ImageData.
              https://bugs.webkit.org/show_bug.cgi?id=49999
      
              We create a normal V8 object which has a PixelArray as the backing storage,
              and set the "data" property of the ImageData object to it.
              This way "data" becomes a pure JS property and we don't need to call through
              the C++ bindings for ImageData "data" access.
              This eliminates big overhead in switching between JavaScript and native
              contexts and performing object bindings.
      
              No new tests. Relying on existing Canvas tests.
      
              * WebCore.gypi:
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/custom/V8CanvasPixelArrayCustom.cpp:
              (WebCore::toV8):
              * bindings/v8/custom/V8ImageDataCustom.cpp: Added.
              (WebCore::toV8):
              * html/ImageData.idl:
              * html/canvas/CanvasPixelArray.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21d2b850
    • tkent@chromium.org's avatar
      2010-12-02 Kent Tamura <tkent@chromium.org> · 8f1f9fd1
      tkent@chromium.org authored
              Unreviewed. Run sort-Xcode-project-file.
      
              * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f1f9fd1
    • commit-queue@webkit.org's avatar
      2010-12-02 Mike Lawther <mikelawther@chromium.org> · acba7646
      commit-queue@webkit.org authored
              Reviewed by David Hyatt.
      
              Clean up of iframe scrollbar mode code
              https://bugs.webkit.org/show_bug.cgi?id=47797
      
              Pull setChildNeedsLayout/setNeedsLayout calls out of scrollbar mode
              calculation method and put back into main layout function.
              Early exit from the scrollbar calc when scrollbars are turned off.
      
              * page/FrameView.cpp:
              (WebCore::FrameView::calculateScrollbarModesForLayout):
              (WebCore::FrameView::layout):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      acba7646
    • commit-queue@webkit.org's avatar
      2010-12-02 Hironori Bono <hbono@chromium.org> · c31e5501
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              [Chromium] Fix possible crashes in FontFallbackFont::determinePitch().
              https://bugs.webkit.org/show_bug.cgi?id=25770
      
              When all of "Arial", "Courier New", and "Times New Roman" fonts are corrupted,
              FontCache::getLastResortFallbackFont() returns 0 and it causes this crash. To
              avoid this crash, this change falls back to system fonts (Windows ensures they
              are sane) as Win Safari does. Unfortunately, I don't have any ideas how I can
              write a layout test for this issue because this crash happens on a PC some of
              its system fonts are corrupted.
      
              * platform/graphics/chromium/FontCacheChromiumWin.cpp:
              (WebCore::fontDataFromDescriptionAndLogFont):
              (WebCore::FontCache::getLastResortFallbackFont):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c31e5501
    • sergio@webkit.org's avatar
      2010-12-02 Sergio Villar Senin <svillar@igalia.com> · b80f0ed4
      sergio@webkit.org authored
              Unreviewed: Added myself to list of Committers.
      
              * Scripts/webkitpy/common/config/committers.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b80f0ed4
    • dglazkov@chromium.org's avatar
      2010-12-02 Dimitri Glazkov <dglazkov@chromium.org> · 5db261d5
      dglazkov@chromium.org authored
              Reviewed by Kent Tamura.
      
              Provide means to store shadow DOM nodes on Element
              https://bugs.webkit.org/show_bug.cgi?id=48697
      
              Adds shadow DOM awareness to the standard Node attach/detach,
              document and tree insertion and removal cycle.
      
              No new tests, because the code is not yet used.
      
              * dom/Element.cpp:
              (WebCore::Element::insertedIntoDocument): Added logic to cascade down to shadow DOM, if present.
              (WebCore::Element::removedFromDocument): Ditto.
              (WebCore::Element::insertedIntoTree): Ditto.
              (WebCore::Element::removedFromTree): Ditto.
              (WebCore::Element::attach): Ditto.
              (WebCore::Element::detach): Ditto.
              (WebCore::Element::recalcStyle):
              (WebCore::Element::shadowRoot): Added.
              (WebCore::Element::setShadowRoot): Added.
              (WebCore::Element::clearShadowRoot): Added.
              * dom/Element.h: Added decls.
              * dom/ElementRareData.h: Added a member to hold a RefPtr to the shadow DOM root for the element.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5db261d5
    • dbates@webkit.org's avatar
      2010-12-02 Daniel Bates <dbates@rim.com> · accfb491
      dbates@webkit.org authored
              Add autotools generated files to svn:ignore so that these
              files do not show up in an svn stat.
      
              * .: Modified property svn:ignore.
              * autotools: Added property svn:ignore.
      
      2010-12-02  Daniel Bates  <dbates@rim.com>
      
              Ignore WebKit/gtk/docs/GNUmakefile.in and WebKit/gtk/po/*.pot so that
              these files do not appear in an svn stat. This change makes SVN
              consistent with the current Git ignore behavior for these files.
      
              * docs: Added property svn:ignore.
              * po: Added property svn:ignore.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      accfb491
    • abarth@webkit.org's avatar
      2010-12-02 Adam Barth <abarth@webkit.org> · bc0164a0
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              Gray-scale JPEG images with a color profile are stretched horizonally
              https://bugs.webkit.org/show_bug.cgi?id=49950
      
              Turns out gray-scale JPEGs with color profiles have the same issue as
              PNGs.  As with PNGs, we suppress now suppress the color profile for
              gray-scale JPEGs.  Most importantly, this patch adds a test.
      
              Test: fast/images/gray-scale-jpeg-with-color-profile.html
      
              * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
              (WebCore::JPEGImageReader::decode):
      2010-12-02  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Gray-scale JPEG images with a color profile are stretched horizonally
              https://bugs.webkit.org/show_bug.cgi?id=49950
      
              Test that we properly render gray-scale JPEGs with embedded color
              profiles.
      
              * fast/images/gray-scale-jpeg-with-color-profile.html: Added.
              * fast/images/resources/flowchart.jpg: Added.
              * platform/mac/fast/images/gray-scale-jpeg-with-color-profile-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc0164a0
    • dbates@webkit.org's avatar
      2010-12-01 Daniel Bates <dbates@rim.com> · f2d6ca1e
      dbates@webkit.org authored
              Remove file LayoutTests/platform/gtk/Skipped.rej which was
              inadvertently committed in changeset 72675 <http://trac.webkit.org/changeset/72675>.
      
              * platform/gtk/Skipped.rej: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73111 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2d6ca1e
  2. 01 Dec, 2010 15 commits