1. 20 Nov, 2013 35 commits
    • bjonesbe@adobe.com's avatar
      [css shapes] Parse new circle shape syntax · 625770e7
      bjonesbe@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124618
      
      Reviewed by Antti Koivisto.
      
      Source/WebCore:
      
      Implement parsing of the new cicle shape syntax. The implementation of
      the old syntax has been move aside as deprecated, and will be removed
      once the new syntax is stable.
      
      Updated existing parsing tests to cover this.
      
      * css/BasicShapeFunctions.cpp:
      (WebCore::valueForCenterCoordinate): Create a CSSPrimitiveValue from a
          BasicShapeCenterCoordinate.
      (WebCore::valueForBasicShape): Convert new basic shape and rename old
          one.
      (WebCore::convertToCenterCoordinate): Create a
          BasicShapeCenterCoordinate from a CSSPrimitiveValue.
      (WebCore::basicShapeForValue): Convert new shape value and rename old
          one.
      * css/CSSBasicShapes.cpp:
      (WebCore::buildCircleString): Build a new circle string.
      (WebCore::CSSBasicShapeCircle::cssText): Serialize the new circle
          shape.
      (WebCore::CSSBasicShapeCircle::equals): Compare new circle shapes.
      (WebCore::CSSBasicShapeCircle::serializeResolvingVariables):
      * css/CSSBasicShapes.h:
      (WebCore::CSSBasicShapeCircle::CSSBasicShapeCircle): Add class for new
          circle shape.
      (WebCore::CSSDeprecatedBasicShapeCircle::create): Renamed to move out
          of the way of the new circle implementation.
      (WebCore::CSSDeprecatedBasicShapeCircle::centerX): Ditto.
      (WebCore::CSSDeprecatedBasicShapeCircle::centerY): Ditto.
      (WebCore::CSSDeprecatedBasicShapeCircle::radius): Ditto.
      (WebCore::CSSDeprecatedBasicShapeCircle::setCenterX): Ditto.
      (WebCore::CSSDeprecatedBasicShapeCircle::setCenterY): Ditto.
      (WebCore::CSSDeprecatedBasicShapeCircle::setRadius): Ditto.
      (WebCore::CSSDeprecatedBasicShapeCircle::CSSDeprecatedBasicShapeCircle): Ditto.
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseShapeRadius): Parse the radius for the new
          circle syntax. Will also be used by the new ellipse syntax.
      (WebCore::CSSParser::parseBasicShapeCircle): Parse the new circle
          syntax.
      (WebCore::CSSParser::parseDeprecatedBasicShapeCircle): Rename to make
          way for the new implementation.
      (WebCore::isDeprecatedBasicShape): Check if we have a new circle or an
          old circle.
      (WebCore::CSSParser::parseBasicShape): Update to parse the new circle
          syntax.
      * css/CSSParser.h:
      * css/CSSValueKeywords.in: Add support for the new circle keywords.
      * rendering/shapes/Shape.cpp:
      (WebCore::Shape::createShape):
      * rendering/style/BasicShapes.cpp: Deprecate old circle and add stub
          for layout code.
      (WebCore::DeprecatedBasicShapeCircle::path): Rename to make way for
          the new implementation.
      (WebCore::DeprecatedBasicShapeCircle::blend): Rename to make way for
          the new implementation.
      (WebCore::BasicShapeCircle::path): Create path for new circle shape.
      (WebCore::BasicShapeCircle::blend): Interpolate the new circle shape.
      * rendering/style/BasicShapes.h:
      (WebCore::BasicShapeCenterCoordinate::BasicShapeCenterCoordinate):
          Represent an x or y coordinate for the center of a new circle,
          since it can be either a keyword along with an offset that cannot
          be resolved until layout time or an ordinary Length. This will
          also be used by the new ellipse implementation.
      (WebCore::BasicShapeCenterCoordinate::keyword):
      (WebCore::BasicShapeCenterCoordinate::length):
      (WebCore::BasicShapeCenterCoordinate::blend): Interpolate.
      (WebCore::BasicShapeRadius::BasicShapeRadius): Represent the radius of
          a new circle shape since it can either be a straightforward Length or
          a keyword that cannot be resolved until layout time.
      (WebCore::BasicShapeRadius::value):
      (WebCore::BasicShapeRadius::type):
      (WebCore::BasicShapeRadius::blend): Interpolate.
      (WebCore::BasicShapeCircle::centerX):
      (WebCore::BasicShapeCircle::centerY):
      (WebCore::BasicShapeCircle::radius):
      (WebCore::BasicShapeCircle::setCenterX):
      (WebCore::BasicShapeCircle::setCenterY):
      (WebCore::BasicShapeCircle::setRadius):
      (WebCore::BasicShapeCircle::BasicShapeCircle): New circle class.
      (WebCore::DeprecatedBasicShapeCircle::create): Rename to make room for
          new circle implementation.
      (WebCore::DeprecatedBasicShapeCircle::DeprecatedBasicShapeCircle): Ditto.
      
      LayoutTests:
      
      Test that the new circle shape syntax is properly parsed.
      
      * fast/shapes/parsing/parsing-shape-inside-expected.txt:
      * fast/shapes/parsing/parsing-shape-outside-expected.txt:
      * fast/shapes/parsing/parsing-test-utils.js:
      * fast/masking/parsing-clip-path-shape-expected.txt:
      * fast/masking/parsing-clip-path-shape.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      625770e7
    • andersca@apple.com's avatar
      PageLoadState should keep track of unreachable URLs · 14909b91
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124677
      
      Reviewed by Dan Bernstein.
      
      * UIProcess/PageLoadState.cpp:
      (WebKit::PageLoadState::reset):
      (WebKit::PageLoadState::didStartProvisionalLoad):
      (WebKit::PageLoadState::didFailProvisionalLoad):
      (WebKit::PageLoadState::setUnreachableURL):
      * UIProcess/PageLoadState.h:
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::loadAlternateHTMLString):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14909b91
    • hmuller@adobe.com's avatar
      [CSS Shapes] Add BoxShape and FloatRoundingRect classes · d815da18
      hmuller@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124368
      
      Reviewed by Dean Jackson.
      
      Added the BoxShape class. It's now used to represent shape-outside box
      values: [margin/border/padding/content]-box. BoxShape depends on a new
      FloatRoundedRect class, which is a float analog of the existing (int)
      RoundedRect class. The FloatRoundedRect class contains the same basic
      methods and accessors as BorderRect and adds a set of four methods,
      for example topLeftCorner(), that return a FloatRect that represents the
      bounds of one elliptical corner. I also added a method, xInterceptsAtY()
      that returns two X coordinates of the intersection between a horizontal
      line and the rounded rectangle.
      
      No new tests, this is just an internal refactoring.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * platform/graphics/FloatRoundedRect.cpp: Added.
      (WebCore::FloatRoundedRect::FloatRoundedRect):
      (WebCore::FloatRoundedRect::Radii::isZero):
      (WebCore::FloatRoundedRect::Radii::scale):
      (WebCore::FloatRoundedRect::Radii::expand):
      (WebCore::cornerRectIntercept):
      (WebCore::FloatRoundedRect::xInterceptsAtY):
      * platform/graphics/FloatRoundedRect.h: Added.
      (WebCore::FloatRoundedRect::Radii::Radii):
      (WebCore::FloatRoundedRect::Radii::setTopLeft):
      (WebCore::FloatRoundedRect::Radii::setTopRight):
      (WebCore::FloatRoundedRect::Radii::setBottomLeft):
      (WebCore::FloatRoundedRect::Radii::setBottomRight):
      (WebCore::FloatRoundedRect::Radii::topLeft):
      (WebCore::FloatRoundedRect::Radii::topRight):
      (WebCore::FloatRoundedRect::Radii::bottomLeft):
      (WebCore::FloatRoundedRect::Radii::bottomRight):
      (WebCore::FloatRoundedRect::Radii::expand):
      (WebCore::FloatRoundedRect::Radii::shrink):
      (WebCore::FloatRoundedRect::rect):
      (WebCore::FloatRoundedRect::radii):
      (WebCore::FloatRoundedRect::isRounded):
      (WebCore::FloatRoundedRect::isEmpty):
      (WebCore::FloatRoundedRect::setRect):
      (WebCore::FloatRoundedRect::setRadii):
      (WebCore::FloatRoundedRect::move):
      (WebCore::FloatRoundedRect::inflate):
      (WebCore::FloatRoundedRect::expandRadii):
      (WebCore::FloatRoundedRect::shrinkRadii):
      (WebCore::FloatRoundedRect::topLeftCorner):
      (WebCore::FloatRoundedRect::topRightCorner):
      (WebCore::FloatRoundedRect::bottomLeftCorner):
      (WebCore::FloatRoundedRect::bottomRightCorner):
      (WebCore::operator==):
      * rendering/shapes/BoxShape.cpp: Added.
      (WebCore::BoxShape::BoxShape):
      (WebCore::BoxShape::getExcludedIntervals):
      (WebCore::BoxShape::getIncludedIntervals):
      (WebCore::BoxShape::firstIncludedIntervalLogicalTop):
      * rendering/shapes/BoxShape.h: Added.
      * rendering/shapes/Shape.cpp:
      (WebCore::createBoxShape):
      (WebCore::Shape::createShape):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159583 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d815da18
    • timothy_horton@apple.com's avatar
      Remote Layer Tree: 100% repro crasher on the IPC thread when creating lots of layers · 83c770bb
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124643
      
      Reviewed by Anders Carlsson.
      
      * Platform/CoreIPC/mac/ConnectionMac.cpp:
      (CoreIPC::Connection::sendOutgoingMessage):
      Dynamically allocate storage for the message if needed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83c770bb
    • timothy_horton@apple.com's avatar
      machMessageSize uses sizeof(mach_msg_ool_ports_descriptor_t) for out-of-line *memory* · 71a38466
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124644
      
      Reviewed by Anders Carlsson.
      
      * Platform/CoreIPC/mac/ConnectionMac.cpp:
      (CoreIPC::machMessageSize):
      mach_msg_ool_descriptor_t is the correct type, given that
      out-of-line memory descriptors use the mach_msg_ool_descriptor_t
      member of the mach_msg_descriptor_t union.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71a38466
    • dino@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=124637 · 1ad6d420
      dino@apple.com authored
      Unreviewed. Adding HTMLTemplateElement to global constructor
      test, but this time for more platforms. I'm not sure if
      GTK and EFL need this too.
      
      * platform/mac-mountainlion/js/dom/global-constructors-attributes-expected.txt:
      * platform/mac/js/dom/global-constructors-attributes-expected.txt:
      * platform/win/js/dom/global-constructors-attributes-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ad6d420
    • antti@apple.com's avatar
      Simple line layout should support floats · 01a04124
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124666
      
      Reviewed by Dave Hyatt.
      
      Source/WebCore: 
      
      Tests: fast/text/simple-lines-float-compare.html
             fast/text/simple-lines-float.html
      
      * rendering/line/LineWidth.h:
      (WebCore::LineWidth::logicalLeftOffset):
              
          Expose the left offset so we don't need to recompute it.
      
      * rendering/SimpleLineLayout.cpp:
      (WebCore::SimpleLineLayout::canUseFor):
      (WebCore::SimpleLineLayout::computeLineLeft):
              
          Include the left offset from floats.
      
      (WebCore::SimpleLineLayout::createTextRuns):
              
          Keep the flow height updated during the loop as LineWidth reads the current position from there.
      
      * rendering/SimpleLineLayoutResolver.h:
      (WebCore::SimpleLineLayout::RunResolver::Run::rect):
      (WebCore::SimpleLineLayout::RunResolver::Run::baseline):
      (WebCore::SimpleLineLayout::RunResolver::RunResolver):
      (WebCore::SimpleLineLayout::RunResolver::lineIndexForHeight):
              
          We now bake the border and the padding to the line left offset. No need to add it during resolve.
      
      LayoutTests: 
      
      * fast/text/simple-lines-float-compare-expected.html: Added.
      * fast/text/simple-lines-float-compare.html: Added.
      * fast/text/simple-lines-float-expected.html: Added.
      * fast/text/simple-lines-float.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01a04124
    • ap@apple.com's avatar
      Use std::function callbacks in CryptoAlgorithm instead of JS promises · c1767f0a
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124673
      
      Reviewed by Anders Carlsson.
      
      To implement key wrapping/unwrapping, we'll need to chain existing operations.
      It's much easier to do with C++ callbacks than with functions fulfilling JS
      promises directly.
      
      Also, this will decouple CryptoAlgorithm from JS, which is nice.
      
      SubtleCrypto IDL says that all functions return Promise<any>, but in reality,
      there is very little polymorphism, the only function whose return type depends
      on algorithm is generateKey (it can create a Key or a KeyPair).
      
      * bindings/js/JSDOMPromise.cpp:
      (WebCore::PromiseWrapper::PromiseWrapper):
      (WebCore::PromiseWrapper::operator=):
      * bindings/js/JSDOMPromise.h:
      Made it copyable, as each crypto function wraps the promise in success and failure
      functional objects now.
      
      * bindings/js/JSSubtleCryptoCustom.cpp:
      (WebCore::JSSubtleCrypto::encrypt):
      (WebCore::JSSubtleCrypto::decrypt):
      (WebCore::JSSubtleCrypto::sign):
      (WebCore::JSSubtleCrypto::verify):
      (WebCore::JSSubtleCrypto::digest):
      (WebCore::JSSubtleCrypto::generateKey):
      (WebCore::JSSubtleCrypto::importKey):
      (WebCore::JSSubtleCrypto::exportKey):
      * crypto/CryptoAlgorithm.cpp:
      (WebCore::CryptoAlgorithm::encrypt):
      (WebCore::CryptoAlgorithm::decrypt):
      (WebCore::CryptoAlgorithm::sign):
      (WebCore::CryptoAlgorithm::verify):
      (WebCore::CryptoAlgorithm::digest):
      (WebCore::CryptoAlgorithm::generateKey):
      (WebCore::CryptoAlgorithm::deriveKey):
      (WebCore::CryptoAlgorithm::deriveBits):
      (WebCore::CryptoAlgorithm::importKey):
      * crypto/CryptoAlgorithm.h:
      * crypto/CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp:
      (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::sign):
      (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::verify):
      * crypto/algorithms/CryptoAlgorithmAES_CBC.cpp:
      (WebCore::CryptoAlgorithmAES_CBC::generateKey):
      (WebCore::CryptoAlgorithmAES_CBC::importKey):
      * crypto/algorithms/CryptoAlgorithmAES_CBC.h:
      * crypto/algorithms/CryptoAlgorithmHMAC.cpp:
      (WebCore::CryptoAlgorithmHMAC::generateKey):
      (WebCore::CryptoAlgorithmHMAC::importKey):
      * crypto/algorithms/CryptoAlgorithmHMAC.h:
      * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp:
      (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::generateKey):
      (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::importKey):
      * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h:
      * crypto/algorithms/CryptoAlgorithmSHA1.cpp:
      (WebCore::CryptoAlgorithmSHA1::digest):
      * crypto/algorithms/CryptoAlgorithmSHA1.h:
      * crypto/algorithms/CryptoAlgorithmSHA224.cpp:
      (WebCore::CryptoAlgorithmSHA224::digest):
      * crypto/algorithms/CryptoAlgorithmSHA224.h:
      * crypto/algorithms/CryptoAlgorithmSHA256.cpp:
      (WebCore::CryptoAlgorithmSHA256::digest):
      * crypto/algorithms/CryptoAlgorithmSHA256.h:
      * crypto/algorithms/CryptoAlgorithmSHA384.cpp:
      (WebCore::CryptoAlgorithmSHA384::digest):
      * crypto/algorithms/CryptoAlgorithmSHA384.h:
      * crypto/algorithms/CryptoAlgorithmSHA512.cpp:
      (WebCore::CryptoAlgorithmSHA512::digest):
      * crypto/algorithms/CryptoAlgorithmSHA512.h:
      * crypto/keys/CryptoKeyRSA.h:
      * crypto/mac/CryptoAlgorithmAES_CBCMac.cpp:
      (WebCore::transformAES_CBC):
      (WebCore::CryptoAlgorithmAES_CBC::encrypt):
      (WebCore::CryptoAlgorithmAES_CBC::decrypt):
      * crypto/mac/CryptoAlgorithmHMACMac.cpp:
      (WebCore::CryptoAlgorithmHMAC::sign):
      (WebCore::CryptoAlgorithmHMAC::verify):
      * crypto/mac/CryptoKeyRSAMac.cpp:
      (WebCore::CryptoKeyRSA::generatePair):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c1767f0a
    • msaboff@apple.com's avatar
      ARMv7: Crash due to use after free of AssemblerBuffer · fccf9a61
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124611
      
      Reviewed by Geoffrey Garen.
      
      Changed JITFinalizer constructor to take a MacroAssemblerCodePtr instead of a Label.
      In finalizeFunction(), we use that value instead of calculating it from the label.
      
      * assembler/MacroAssembler.cpp:
      * dfg/DFGJITFinalizer.cpp:
      (JSC::DFG::JITFinalizer::JITFinalizer):
      (JSC::DFG::JITFinalizer::finalizeFunction):
      * dfg/DFGJITFinalizer.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fccf9a61
    • mrowe@apple.com's avatar
      Remove some obsolete logic from WebKit.app. · 9000861b
      mrowe@apple.com authored
      Reviewed by Alexey Proskuryakov.
      
      * WebKitLauncher/WebKitNightlyEnabler.m:
      (poseAsWebKitApp): Remove a pre-10.6 codepath.
      (enableWebKitNightlyBehaviour): Remove a 10.4-specific codepath.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9000861b
    • robert@webkit.org's avatar
      REGRESSION(r127163): Respect clearance set on ancestors when placing floats · 97037ef5
      robert@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=119979
      
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      Refactor the way self-collapsing blocks with clearance are positioned so that they
      get the correct logical-top position during margin-collapsing.
      
      Test: fast/block/margin-collapse/self-collapsing-block-with-float-descendants.html
      
      * rendering/RenderBlockFlow.cpp:
      (WebCore::RenderBlockFlow::clearFloats):
      (WebCore::RenderBlockFlow::marginOffsetForSelfCollapsingBlock):
      (WebCore::RenderBlockFlow::collapseMargins):
      (WebCore::RenderBlockFlow::clearFloatsIfNeeded):
      (WebCore::RenderBlockFlow::handleAfterSideOfBlock):
      * rendering/RenderBlockFlow.h:
      
      LayoutTests:
      
      * fast/block/float/clear-negative-margin-top-expected.html:
      * fast/block/float/clear-negative-margin-top.html:
      * fast/block/margin-collapse/self-collapsing-block-with-float-descendants-expected.html: Added.
      * fast/block/margin-collapse/self-collapsing-block-with-float-descendants.html: Added.
      * platform/mac/fast/block/float/024-expected.txt:
      * platform/mac/fast/block/margin-collapse/025-expected.txt:
      * platform/mac/fast/block/margin-collapse/block-inside-inline/025-expected.txt:
      * platform/mac/fast/block/margin-collapse/empty-clear-blocks-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97037ef5
    • dino@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=124637 · d7004194
      dino@apple.com authored
      Unreviewed. Adding HTMLTemplateElement to global constructor
      test after r159550.
      
      * js/dom/global-constructors-attributes-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7004194
    • dino@apple.com's avatar
      Unreviewed. Trying to fix tests added in r159545. · 31e8933b
      dino@apple.com authored
      * js/regress/global-var-const-infer-fire-from-opt.html:
      * js/regress/global-var-const-infer.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31e8933b
    • vjaquez@igalia.com's avatar
      [GTK] Remove Chromium as user agent and claim to be Safari in OS X · 4a62b28f
      vjaquez@igalia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124229
      
      Reviewed by Martin Robinson.
      
      http://www.duolingo.com/ doesn't get render correctly because it uses
      Chrome/Chromium specific variables, added after it was forked. Because
      of this, it is necessary to remove the Chrome/Chromium identification
      in the user agent. Also, from now on, by default, The GTK+ port will
      claim to be Safari in OS X to avoid loading wrong resources.
      
      * platform/gtk/UserAgentGtk.cpp:
      (WebCore::standardUserAgent):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4a62b28f
    • commit-queue@webkit.org's avatar
      Fix CPU(ARM_TRADITIONAL) build after r159545. · b545d40a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124649
      
      Patch by Julien Brianceau <jbriance@cisco.com> on 2013-11-20
      Reviewed by Michael Saboff.
      
      Add missing memoryFence, load8 and store8 implementations in macro assembler.
      
      * assembler/ARMAssembler.h:
      (JSC::ARMAssembler::dmbSY):
      * assembler/MacroAssemblerARM.h:
      (JSC::MacroAssemblerARM::load8):
      (JSC::MacroAssemblerARM::store8):
      (JSC::MacroAssemblerARM::memoryFence):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b545d40a
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r159551. · a8be4198
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/159551
      https://bugs.webkit.org/show_bug.cgi?id=124669
      
      made many tests asserts (Requested by anttik on #webkit).
      
      * html/HTMLDetailsElement.h:
      * html/HTMLMediaElement.cpp:
      (HTMLMediaElement::selectNextSourceChild):
      * html/HTMLMetaElement.h:
      * html/HTMLObjectElement.cpp:
      (WebCore::HTMLObjectElement::shouldAllowQuickTimeClassIdQuirk):
      * html/HTMLOptionElement.cpp:
      (WebCore::HTMLOptionElement::isDisabledFormControl):
      * html/HTMLPlugInImageElement.cpp:
      (WebCore::HTMLPlugInImageElement::updateWidgetCallback):
      * html/HTMLSummaryElement.cpp:
      (WebCore::HTMLSummaryElement::detailsElement):
      * html/HTMLSummaryElement.h:
      * html/HTMLTableCaptionElement.h:
      * html/HTMLTableElement.cpp:
      (WebCore::HTMLTableElement::caption):
      (WebCore::HTMLTableElement::tHead):
      (WebCore::HTMLTableElement::tFoot):
      (WebCore::HTMLTableElement::lastBody):
      * html/HTMLTableRowElement.cpp:
      (WebCore::HTMLTableRowElement::rowIndex):
      * html/HTMLTableSectionElement.h:
      * html/HTMLTagNames.in:
      * html/MediaDocument.cpp:
      (WebCore::MediaDocumentParser::createDocumentStructure):
      * html/shadow/DetailsMarkerControl.cpp:
      (WebCore::DetailsMarkerControl::summaryElement):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::handleFallbackContent):
      * loader/ImageLoader.cpp:
      (WebCore::ImageLoader::dispatchPendingBeforeLoadEvent):
      * page/DragController.cpp:
      (WebCore::DragController::canProcessDrag):
      * page/Frame.cpp:
      (WebCore::Frame::searchForLabelsBeforeElement):
      * page/SpatialNavigation.cpp:
      (WebCore::frameOwnerElement):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8be4198
    • zoltan@webkit.org's avatar
      Move LineWidth.{h,cpp} into rendering/line · 6278fcae
      zoltan@webkit.org authored
      <https://webkit.org/b/124448>
      
      Reviewed by David Hyatt.
      
      In r159354 I introduced line directory. Now it's time to move the helper classes of RenderBlockLineLayout into 'line' subdirectory.
      
      No new tests, no behavior change.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * rendering/line/LineWidth.cpp: Renamed from Source/WebCore/rendering/LineWidth.cpp.
      (WebCore::LineWidth::LineWidth):
      (WebCore::LineWidth::fitsOnLine):
      (WebCore::LineWidth::fitsOnLineIncludingExtraWidth):
      (WebCore::LineWidth::fitsOnLineExcludingTrailingWhitespace):
      (WebCore::LineWidth::updateAvailableWidth):
      (WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded):
      (WebCore::LineWidth::commit):
      (WebCore::LineWidth::applyOverhang):
      (WebCore::LineWidth::fitBelowFloats):
      (WebCore::LineWidth::setTrailingWhitespaceWidth):
      (WebCore::LineWidth::updateCurrentShapeSegment):
      (WebCore::LineWidth::computeAvailableWidthFromLeftAndRight):
      (WebCore::LineWidth::fitsOnLineExcludingTrailingCollapsedWhitespace):
      * rendering/line/LineWidth.h: Renamed from Source/WebCore/rendering/LineWidth.h.
      (WebCore::LineWidth::currentWidth):
      (WebCore::LineWidth::uncommittedWidth):
      (WebCore::LineWidth::committedWidth):
      (WebCore::LineWidth::availableWidth):
      (WebCore::LineWidth::addUncommittedWidth):
      (WebCore::LineWidth::shouldIndentText):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6278fcae
    • beidson@apple.com's avatar
      Alphabetization followup to r159567 · a480b931
      beidson@apple.com authored
      Reviewed by style-bot  :(
      
      * Modules/indexeddb/IDBDatabaseBackend.h:
      * Modules/indexeddb/IDBIndex.h:
      * Modules/indexeddb/IDBObjectStore.h:
      * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
      * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.h:
      * inspector/InspectorIndexedDBAgent.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a480b931
    • beidson@apple.com's avatar
      Rename IDBMetadata.h to IDBDatabaseMetadata.h · f756dd49
      beidson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124668
      
      Reviewed by Dean Jackson.
      
      * GNUmakefile.list.am:
      * WebCore.xcodeproj/project.pbxproj:
      
      * Modules/indexeddb/IDBDatabase.h:
      * Modules/indexeddb/IDBDatabaseBackend.h:
      
      * Modules/indexeddb/IDBDatabaseMetadata.h: Renamed from Source/WebCore/Modules/indexeddb/IDBMetadata.h.
      (WebCore::IDBIndexMetadata::IDBIndexMetadata):
      (WebCore::IDBObjectStoreMetadata::IDBObjectStoreMetadata):
      (WebCore::IDBDatabaseMetadata::IDBDatabaseMetadata):
      
      * Modules/indexeddb/IDBIndex.h:
      * Modules/indexeddb/IDBObjectStore.h:
      * Modules/indexeddb/IDBServerConnection.h:
      * Modules/indexeddb/IDBTransaction.h:
      * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
      * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.h:
      * Modules/indexeddb/leveldb/IDBIndexWriterLevelDB.h:
      * inspector/InspectorIndexedDBAgent.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f756dd49
    • rniwa@webkit.org's avatar
      Remove bogus assertions in updateNameForTreeScope and updateNameForDocument · 5c7dd46b
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124639
      
      Reviewed by Darin Adler.
      
      Removed assertions. We can't assert that the element in a tree scope or a document
      since these two functions are called from removedFrom.
      
      * dom/Element.cpp:
      (WebCore::Element::updateNameForTreeScope):
      (WebCore::Element::updateNameForDocument):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c7dd46b
    • m.pakula@samsung.com's avatar
      Unreviewed EFL gardening · b0d9b390
      m.pakula@samsung.com authored
      * platform/efl/TestExpectations: Add new test expectations for failing tests.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0d9b390
    • commit-queue@webkit.org's avatar
      [armv7][arm64] Speculative build fix after r159545. · 840b6eb6
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124646
      
      Patch by Julien Brianceau <jbriance@cisco.com> on 2013-11-20
      Reviewed by Filip Pizlo.
      
      * assembler/ARMv7Assembler.h:
      * assembler/MacroAssemblerARM64.h:
      (JSC::MacroAssemblerARM64::memoryFence):
      * assembler/MacroAssemblerARMv7.h:
      (JSC::MacroAssemblerARMv7::memoryFence):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      840b6eb6
    • beidson@apple.com's avatar
      Cleanup getOrEstablishIDBDatabaseMetadata and stub it out in WK2 · 08b907cf
      beidson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124635
      
      Reviewed by Tim Horton.
      
      Source/WebCore:
      
      getOrEstablishIDBDatabaseMetadata() should not have to take a database name parameter because the
      server connection should already know what database name it represents.
      
      * Modules/indexeddb/IDBDatabaseBackend.cpp:
      (WebCore::IDBDatabaseBackend::openInternalAsync):
      
      * Modules/indexeddb/IDBServerConnection.h:
      * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.cpp:
      (WebCore::IDBServerConnectionLevelDB::IDBServerConnectionLevelDB):
      (WebCore::IDBServerConnectionLevelDB::getOrEstablishIDBDatabaseMetadata):
      * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
      
      * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:
      (WebCore::IDBFactoryBackendLevelDB::deleteDatabase):
      (WebCore::IDBFactoryBackendLevelDB::open):
      
      Source/WebKit2:
      
      Stub out the message for getOrEstablishIDBDatabaseMetadata in the DatabaseProcess.
      
      * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp:
      (WebKit::DatabaseProcessIDBConnection::establishConnection):
      (WebKit::DatabaseProcessIDBConnection::getOrEstablishIDBDatabaseMetadata):
      * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
      * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in:
      
      * Shared/SecurityOriginData.cpp:
      (WebKit::SecurityOriginData::fromSecurityOrigin):
      * Shared/SecurityOriginData.h:
      
      * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
      (WebKit::WebIDBServerConnection::WebIDBServerConnection):
      (WebKit::WebIDBServerConnection::deleteDatabase):
      (WebKit::WebIDBServerConnection::getOrEstablishIDBDatabaseMetadata):
      * WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08b907cf
    • commit-queue@webkit.org's avatar
      Moved stray urls from svn.py and statusserver.py into common.config.urls · 2dc8621c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124650
      
      Patch by Dániel Bátyai <Batyai.Daniel@stud.u-szeged.hu> on 2013-11-20
      Reviewed by Ryosuke Niwa.
      
      * Scripts/webkitpy/common/checkout/scm/svn.py:
      (SVNRepository):
      * Scripts/webkitpy/common/config/urls.py:
      * Scripts/webkitpy/common/net/statusserver.py:
      (StatusServer.__init__):
      * Scripts/webkitpy/performance_tests/perftestsrunner.py:
      (_generate_results_dict):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2dc8621c
    • commit-queue@webkit.org's avatar
      [EFL] <video> and <audio> should be accessible. · e3932719
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124494
      
      Patch by Andrzej Badowski <a.badowski@samsung.com> on 2013-11-20
      Reviewed by Gyuyoung Kim.
      
      Source/WebCore:
      
      Adding descriptions of media-element controls.
      
      * platform/efl/LocalizedStringsEfl.cpp:
      (WebCore::localizedMediaControlElementString):
      
      LayoutTests:
      
      Added new accessibility baseline for accessibility/media-elemen.html.
      
      * platform/efl-wk1/TestExpectations: test is no longer failing.
      * platform/efl-wk2/TestExpectations: test is no longer failing.
      * platform/efl/accessibility/media-element-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e3932719
    • antti@apple.com's avatar
      Don't paint simple text runs outside the paint rect · 344a2cb5
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124651
      
      Reviewed by Anders Carlsson.
              
      This speeds up partial paints for long text paragraphs. 
      Also add the same optimization for hit testing.
      
      * rendering/SimpleLineLayoutFunctions.cpp:
      (WebCore::SimpleLineLayout::paintFlow):
              
          Iterate over the run range that needs painting.
      
      (WebCore::SimpleLineLayout::hitTestFlow):
              
          Iterate over the line range that needs painting.
      
      * rendering/SimpleLineLayoutResolver.h:
      (WebCore::SimpleLineLayout::Range::Range):
      (WebCore::SimpleLineLayout::Range::begin):
      (WebCore::SimpleLineLayout::Range::end):
              
          Add Range type.
      
      (WebCore::SimpleLineLayout::RunResolver::Iterator::Iterator):
      (WebCore::SimpleLineLayout::RunResolver::Iterator::operator++):
      (WebCore::SimpleLineLayout::RunResolver::Iterator::advance):
      (WebCore::SimpleLineLayout::RunResolver::Iterator::advanceLines):
              
          Optimize case where runCount==lineCount. In this case we can just directly jump
          to the right run/line.
      
      (WebCore::SimpleLineLayout::RunResolver::begin):
      (WebCore::SimpleLineLayout::RunResolver::end):
      (WebCore::SimpleLineLayout::RunResolver::lineIndexForHeight):
      (WebCore::SimpleLineLayout::RunResolver::rangeForRect):
              
          Get the range corresponding to a rect. This currently cares about y coordinates only.
      
      (WebCore::SimpleLineLayout::LineResolver::Iterator::operator++):
      (WebCore::SimpleLineLayout::LineResolver::Iterator::operator*):
      (WebCore::SimpleLineLayout::LineResolver::rangeForRect):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      344a2cb5
    • graouts@apple.com's avatar
      Cannot animate "points" attribute for <svg:polygon> · 8fe8b409
      graouts@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=21371
      
      Reviewed by Antti Koivisto.
      
      Source/WebCore:
      
      Ensure we use animated list of points for SVG <polygon> and <polyline> elements
      when we build the path used to draw them, otherwise the animated changes won't
      be rendered and the base value will be used.
      
      Tests: svg/animations/polygon-set.svg
             svg/animations/polyline-set.svg
      
      * rendering/svg/SVGPathData.cpp:
      (WebCore::updatePathFromPolygonElement):
      (WebCore::updatePathFromPolylineElement):
      
      LayoutTests:
      
      New tests covering the actual application of the animated value
      for the "points" attribute of the SVG <polygon> and <polyline> elements.
      
      * svg/animations/polygon-set-expected.svg: Added.
      * svg/animations/polygon-set.svg: Added.
      * svg/animations/polyline-set-expected.svg: Added.
      * svg/animations/polyline-set.svg: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8fe8b409
    • zandobersek@gmail.com's avatar
      Configurability test of prototype's properties in... · dec117c7
      zandobersek@gmail.com authored
      Configurability test of prototype's properties in fast/dom/webidl-operations-on-node-prototype.html is wrong
      https://bugs.webkit.org/show_bug.cgi?id=124602
      
      Reviewed by Darin Adler.
      
      The test case landed in r159100 checks, among other tests, for configurability of properties on the Node's
      interface prototype object. The test deletes the tested property from the prototype object and checks that
      the property is undefined. This works for the Node's prototype object but is not technically correct since
      there might be a property with the same identifier that's located upwards on the prototype chain.
      
      Rather than testing that the property on the prototype object is undefined after it is deleted, a failure
      should be reported if the value of the property remains the same even after it's deleted from the object.
      
      * fast/dom/webidl-operations-on-node-prototype.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dec117c7
    • commit-queue@webkit.org's avatar
      ANGLE doesn't build with bison 3.0 · 48d3566a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124642
      
      Patch by Sergio Correia <sergio.correia@openbossa.org> on 2013-11-20
      Reviewed by Gyuyoung Kim.
      
      This is a reedition of r154109, now that ANGLE source has been updated
      in r159533.
      
      * src/compiler/glslang.y: Use %lex-param to set YYLEX_PARAM and stop
      using the deprecated YYID macro.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48d3566a
    • carlosgc@webkit.org's avatar
      [GTK] Do not use deprecated callbacks in WebKitPolicyClient · 8083dd53
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124648
      
      Reviewed by Philippe Normand.
      
      Fixes compile warnings for uninitialized callbacks.
      
      * UIProcess/API/gtk/WebKitPolicyClient.cpp:
      (decidePolicyForNavigationAction): Add originatingFrame parameter.
      (decidePolicyForNewWindowAction): Renamed for consistency.
      (decidePolicyForResponse): Add canShowMIMEType parameter.
      (attachPolicyClientToView): Add new callbacks.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8083dd53
    • carlosgc@webkit.org's avatar
      Unreviewed. Fix GTK build. · f946a35f
      carlosgc@webkit.org authored
      * GNUmakefile.am: Remove duplicated entries.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f946a35f
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r159496. · 8df68c78
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/159496
      https://bugs.webkit.org/show_bug.cgi?id=124641
      
      It caused warning and build break with cmake lower than 2.8.8
      (Requested by ryuan on #webkit).
      
      .:
      
      * Source/cmake/OptionsEfl.cmake:
      
      Tools:
      
      * MiniBrowser/efl/CMakeLists.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8df68c78
    • abucur@adobe.com's avatar
      [CSSRegions] Move region styling code into RenderNamedFlowFragment · 7f2c82db
      abucur@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122957
      
      Reviewed by Mihnea Ovidenie.
      
      The patch moves all the region styling functionality outside of RenderRegion
      to RenderNamedFlowFragment and outside of RenderFlowThread to RenderNamedFlowThread.
      This generates a couple of undesired casts that will be removed in later patches
      when everything CSS Regions specific will be located inside RenderNamedFlowThread
      and RenderNamedFlowFragment (e.g. the move of the isValid flag, the auto-height
      code etc.).
      
      The painting function was also moved from RenderRegion to RenderNamedFlowFragment. It
      was only used by the CSS Regions code. The new multi-column implementation has its own
      painting mechanism.
      
      Tests: No changed functionality, just refactorings.
      
      * rendering/RenderFlowThread.cpp:
      (WebCore::RenderFlowThread::RenderFlowThread):
      (WebCore::RenderFlowThread::removeFlowChildInfo):
      (WebCore::RenderFlowThread::clearRenderBoxRegionInfoAndCustomStyle):
      * rendering/RenderFlowThread.h:
      * rendering/RenderInline.cpp:
      (WebCore::RenderInline::updateAlwaysCreateLineBoxes):
      * rendering/RenderNamedFlowFragment.cpp:
      (WebCore::RenderNamedFlowFragment::RenderNamedFlowFragment):
      (WebCore::RenderNamedFlowFragment::styleDidChange):
      (WebCore::RenderNamedFlowFragment::checkRegionStyle):
      (WebCore::RenderNamedFlowFragment::computeStyleInRegion):
      (WebCore::RenderNamedFlowFragment::computeChildrenStyleInRegion):
      (WebCore::RenderNamedFlowFragment::setObjectStyleInRegion):
      (WebCore::RenderNamedFlowFragment::clearObjectStyleInRegion):
      (WebCore::RenderNamedFlowFragment::setRegionObjectsRegionStyle):
      (WebCore::RenderNamedFlowFragment::restoreRegionObjectsOriginalStyle):
      (WebCore::shouldPaintRegionContentsInPhase):
      (WebCore::RenderNamedFlowFragment::paintObject):
      * rendering/RenderNamedFlowFragment.h:
      * rendering/RenderNamedFlowThread.cpp:
      (WebCore::RenderNamedFlowThread::RenderNamedFlowThread):
      (WebCore::RenderNamedFlowThread::checkRegionsWithStyling):
      (WebCore::RenderNamedFlowThread::clearRenderObjectCustomStyle):
      (WebCore::RenderNamedFlowThread::removeFlowChildInfo):
      * rendering/RenderNamedFlowThread.h:
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::RenderRegion):
      (WebCore::RenderRegion::styleDidChange):
      (WebCore::RenderRegion::attachRegion):
      * rendering/RenderRegion.h:
      * rendering/RenderTreeAsText.cpp:
      (WebCore::writeRenderRegionList):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f2c82db
    • rgabor@webkit.org's avatar
      [EFL] libseccomp-2.0.0 doesn't support ARM architecture · dcde2e27
      rgabor@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124412
      
      Reviewed by Gyuyoung Kim.
      
      Update libseccomp to a newer 2.1.0 version.
      
      * efl/jhbuild.modules:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dcde2e27
    • gyuyoung.kim@samsung.com's avatar
      Generate toHTMLFooElement() to clean up static_cast<> · c25dca09
      gyuyoung.kim@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124571
      
      Reviewed by Darin Adler.
      
      Though there are a lot of clean up commits before, there are still
      use of static_cast<HTMLFooElement*>. To clean up them, we need to generate
      toHTMLDetails|Meta|Summary|TableSection|TableCaptionElement().
      
      Additionally, other static_cast<> are removed as well.
      
      No new tests, no behavior changes.
      
      * html/HTMLDetailsElement.h:
      * html/HTMLMediaElement.cpp:
      (HTMLMediaElement::selectNextSourceChild):
      * html/HTMLMetaElement.h:
      * html/HTMLObjectElement.cpp:
      (WebCore::HTMLObjectElement::shouldAllowQuickTimeClassIdQuirk):
      * html/HTMLOptionElement.cpp:
      (WebCore::HTMLOptionElement::isDisabledFormControl):
      * html/HTMLPlugInImageElement.cpp:
      (WebCore::HTMLPlugInImageElement::updateWidgetCallback):
      * html/HTMLSummaryElement.cpp:
      (WebCore::HTMLSummaryElement::detailsElement):
      * html/HTMLSummaryElement.h:
      * html/HTMLTableCaptionElement.h:
      * html/HTMLTableElement.cpp:
      (WebCore::HTMLTableElement::caption):
      (WebCore::HTMLTableElement::tHead):
      (WebCore::HTMLTableElement::tFoot):
      (WebCore::HTMLTableElement::lastBody):
      * html/HTMLTableRowElement.cpp:
      (WebCore::HTMLTableRowElement::rowIndex):
      * html/HTMLTableSectionElement.h:
      * html/HTMLTagNames.in:
      * html/MediaDocument.cpp:
      (WebCore::MediaDocumentParser::createDocumentStructure):
      * html/shadow/DetailsMarkerControl.cpp:
      (WebCore::DetailsMarkerControl::summaryElement):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::handleFallbackContent):
      * loader/ImageLoader.cpp:
      (WebCore::ImageLoader::dispatchPendingBeforeLoadEvent):
      * page/DragController.cpp:
      (WebCore::DragController::canProcessDrag):
      * page/Frame.cpp:
      (WebCore::Frame::searchForLabelsBeforeElement):
      * page/SpatialNavigation.cpp:
      (WebCore::frameOwnerElement):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c25dca09
  2. 19 Nov, 2013 5 commits