1. 04 Nov, 2013 35 commits
    • ap@apple.com's avatar
      Implement generateKey for HMAC and AES-CBC · 7537b6dc
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=123669
      
      Reviewed by Dan Bernstein.
      
      Source/WebCore: 
      
      Tests: crypto/subtle/aes-cbc-generate-key.html
             crypto/subtle/hmac-generate-key.html
      
      * WebCore.xcodeproj/project.pbxproj: Added new files.
      
      * bindings/js/JSCryptoAlgorithmDictionary.cpp:
      (WebCore::createAesKeyGenParams): Added bindings for AesKeyGenParams.
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForGenerateKey): Handle
      algorithms that generate AES and HMAC keys.
      
      * bindings/js/JSSubtleCryptoCustom.cpp: (WebCore::JSSubtleCrypto::generateKey): Added.
      
      * crypto/CryptoAlgorithmAesKeyGenParams.h: Added.
      
      * crypto/CryptoKey.cpp: (WebCore::CryptoKey::randomData):
      * crypto/CryptoKey.h:
      * crypto/CryptoKeyMac.cpp: Added
      Expose a function that produces random data for symmetric crypto keys. Cross-platform
      implementation uses ARC4 code from WTF, while Mac uses a system function that
      provides a FIPS validated random number generator.
      
      * crypto/CryptoKeyAES.cpp: (WebCore::CryptoKeyAES::generate):
      * crypto/CryptoKeyAES.h:
      Added a function that creates AES keys.
      
      * crypto/SubtleCrypto.idl: Added generateKey.
      
      * crypto/algorithms/CryptoAlgorithmAES_CBC.cpp:
      (WebCore::CryptoAlgorithmAES_CBC::generateKey): Added.
      
      * crypto/algorithms/CryptoAlgorithmHMAC.cpp:
      (WebCore::CryptoAlgorithmHMAC::generateKey): Added.
      
      * crypto/keys/CryptoKeyHMAC.cpp: (WebCore::CryptoKeyHMAC::generate):
      * crypto/keys/CryptoKeyHMAC.h:
      Added a function that creates HMAC keys.
      
      * crypto/mac/CryptoAlgorithmAES_CBCMac.cpp: Removed generateKey stub, the implementation
      ended up in cross-platform file.
      
      * crypto/mac/CryptoAlgorithmHMACMac.cpp: Ditto.
      
      LayoutTests: 
      
      * crypto/subtle/aes-cbc-generate-key-expected.txt: Added.
      * crypto/subtle/aes-cbc-generate-key.html: Added.
      * crypto/subtle/hmac-generate-key-expected.txt: Added.
      * crypto/subtle/hmac-generate-key.html: Added.
      
      * crypto/subtle/sha-1-expected.txt: Now that crypto.webkitSubtle.generateKey exists,
      a different exception is raised.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7537b6dc
    • dbates@webkit.org's avatar
      Revert SetCGFontRenderingMode() build fix for Chromium Mac · 02e3c25a
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=123633
      
      Reviewed by Darin Adler.
      
      Reverts <http://trac.webkit.org/changeset/134380>, which
      was a Chromium Mac build fix for <http://trac.webkit.org/changeset/134348>
      (https://bugs.webkit.org/show_bug.cgi?id=101787). Chromium doesn't
      build against top-of-tree WebKit.
      
      * platform/graphics/mac/FontMac.mm:
      (WebCore::Font::drawGlyphs):
      * platform/mac/WebCoreSystemInterface.h:
      * platform/mac/WebCoreSystemInterface.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02e3c25a
    • commit-queue@webkit.org's avatar
      [sh4] Refactor jumps in baseline JIT to return label after the jump. · 45289a9b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=123734
      
      Patch by Julien Brianceau <jbriance@cisco.com> on 2013-11-04
      Reviewed by Michael Saboff.
      
      Current implementation of jumps in sh4 baseline JIT returns a label on the jump itself
      and not after it. This is not correct and leads to issues like infinite loop the DFG
      (https://bugs.webkit.org/show_bug.cgi?id=122597 for instance). This refactor fixes this
      and also simplifies the link and relink procedures for sh4 jumps.
      
      * assembler/MacroAssemblerSH4.h:
      (JSC::MacroAssemblerSH4::branchDouble):
      (JSC::MacroAssemblerSH4::branchTrue):
      (JSC::MacroAssemblerSH4::branchFalse):
      * assembler/SH4Assembler.h:
      (JSC::SH4Assembler::jmp):
      (JSC::SH4Assembler::extraInstrForBranch):
      (JSC::SH4Assembler::jne):
      (JSC::SH4Assembler::je):
      (JSC::SH4Assembler::bra):
      (JSC::SH4Assembler::linkJump):
      (JSC::SH4Assembler::relinkJump):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45289a9b
    • rego@igalia.com's avatar
      [GTK][WK1] Enable CSS Regions if feature flag is set to TRUE · f06b1519
      rego@igalia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=123739
      
      Reviewed by Martin Robinson.
      
      In WK1 CSS Regions were always disabled even if you set the feature flag
      ENABLE_CSS_REGIONS to TRUE. Enabling CSS Regions support in that case.
      
      * webkit/webkitwebview.cpp:
      (webkit_web_view_update_settings): Enable CSS Regions if feautre flag is
      set to TRUE.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f06b1519
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r158526. · 18e275da
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/158526
      https://bugs.webkit.org/show_bug.cgi?id=123744
      
      it broke the build (Requested by jessieberlin on #webkit).
      
      Source/WebCore:
      
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSCryptoAlgorithmDictionary.cpp:
      (WebCore::createAesCbcParams):
      (WebCore::createHmacParams):
      (WebCore::createHmacKeyParams):
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForGenerateKey):
      * bindings/js/JSSubtleCryptoCustom.cpp:
      * crypto/CryptoAlgorithmAesKeyGenParams.h: Removed.
      * crypto/CryptoKey.cpp:
      * crypto/CryptoKey.h:
      * crypto/CryptoKeyAES.cpp:
      * crypto/CryptoKeyAES.h:
      * crypto/CryptoKeyMac.cpp: Removed.
      * crypto/SubtleCrypto.idl:
      * crypto/algorithms/CryptoAlgorithmAES_CBC.cpp:
      * crypto/algorithms/CryptoAlgorithmHMAC.cpp:
      * crypto/keys/CryptoKeyHMAC.cpp:
      * crypto/keys/CryptoKeyHMAC.h:
      * crypto/mac/CryptoAlgorithmAES_CBCMac.cpp:
      (WebCore::CryptoAlgorithmAES_CBC::generateKey):
      * crypto/mac/CryptoAlgorithmHMACMac.cpp:
      (WebCore::CryptoAlgorithmHMAC::generateKey):
      
      LayoutTests:
      
      * crypto/subtle/aes-cbc-generate-key-expected.txt: Removed.
      * crypto/subtle/aes-cbc-generate-key.html: Removed.
      * crypto/subtle/hmac-generate-key-expected.txt: Removed.
      * crypto/subtle/hmac-generate-key.html: Removed.
      * crypto/subtle/sha-1-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18e275da
    • commit-queue@webkit.org's avatar
      [EFL] Change ATK version to 2.10.0 · 4cccc471
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=123727
      
      Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-11-04
      Reviewed by Mario Sanchez Prada.
      
      Provided new API to retrieve text at a given offset.
      
      * efl/jhbuild.modules:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cccc471
    • commit-queue@webkit.org's avatar
      [EFL] accessibility/textarea-line-for-index.html is failing · 969b01ad
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112015
      
      Patch by Robert Plociennik <r.plociennik@samsung.com> on 2013-11-04
      Reviewed by Mario Sanchez Prada.
      
      Tools:
      
      Provided implementation for AccessibilityUIElement::lineForIndex().
      
      * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
      (AccessibilityUIElement::lineForIndex): Implemented.
      * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
      (WTR::AccessibilityUIElement::lineForIndex): Implemented.
      
      LayoutTests:
      
      Removed failure expectations.
      
      * platform/efl-wk1/TestExpectations: The test is no longer failing.
      * platform/efl-wk2/TestExpectations: The test is no longer failing.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      969b01ad
    • commit-queue@webkit.org's avatar
      [EFL] accessibility/button-press-action.html · 03e44f48
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=111993
      
      Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-11-04
      Reviewed by Mario Sanchez Prada.
      
      Tools:
      
      Provided an implementation for AccessibilityUIElement::isPressActionSupported.
      
      * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
      (AccessibilityUIElement::isPressActionSupported):
      * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
      (WTR::AccessibilityUIElement::isPressActionSupported):
      
      LayoutTests:
      
      Removed failure expectations.
      
      * platform/efl-wk1/TestExpectations:
      * platform/efl-wk2/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03e44f48
    • commit-queue@webkit.org's avatar
      [Texmap] Remove redundant calls in CoordinatedGraphicsScene · ddfc3679
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=123737
      
      Patch by Przemyslaw Szymanski <p.szymanski3@samsung.com> on 2013-11-04
      Reviewed by Noam Rosenthal.
      
      Removing unused code left after few refactoring patches.
      
      No new tests. Covered by existing ones.
      
      * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
      (WebCore::CoordinatedGraphicsScene::paintToCurrentGLContext):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ddfc3679
    • akling@apple.com's avatar
      CSSPrimitiveValue color constructors should return PassRef. · 42bdd095
      akling@apple.com authored
      <https://webkit.org/b/123728>
      
      Make CSSPrimitiveValue::createColor() and the corresponding
      CSSValuePool helper functions return PassRef<CSSPrimitiveValue>.
      
      Also made CSSValuePool slightly less stupid when hitting the upper
      size limit on the color value cache: instead of throwing out cache
      and rebuilding it from scratch, just remove one value at random.
      
      Reviewed by Antti Koivisto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42bdd095
    • akling@apple.com's avatar
      Some more RenderChildIterator deployment. · 1626ee08
      akling@apple.com authored
      <https://webkit.org/b/123735>
      
      Convert another handful of loops to use childrenOfType<RenderFoo>
      iterators, mostly for skipping over uninteresting text renderers.
      
      Reviewed by Antti Koivisto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1626ee08
    • akling@apple.com's avatar
      LabelsNodeList always is always rooted at a LabelableElement. · 743185d2
      akling@apple.com authored
      <https://webkit.org/b/123730>
      
      Tighten up LabelsNodeList by enforcing that it's only rooted to
      a LabelableElement. Also marked the class FINAL and made its
      create() helper return PassRef.
      
      Reviewed by Antti Koivisto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      743185d2
    • akling@apple.com's avatar
      REGRESSION: RenderStyle is leaked when not creating renderer for display:none · 9bf15d00
      akling@apple.com authored
      <https://webkit.org/b/123726>
      
      Source/WebCore:
      
      Explicitly drop the RenderStyle reference in RenderElement::createFor
      if we decide to not create any renderer.
      
      Reviewed by Antti Koivisto.
      
      Test: fast/css/renderstyle-leak-with-display-none.html
      
      * rendering/RenderElement.cpp:
      (WebCore::RenderElement::createFor):
      
      LayoutTests:
      
      Reviewed by Antti Koivisto.
      
      * fast/css/renderstyle-leak-with-display-none-expected.txt: Added.
      * fast/css/renderstyle-leak-with-display-none.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9bf15d00
    • commit-queue@webkit.org's avatar
      [webcore/dom] Remove extra header includes from cpp files. · 7987a5a9
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=123720
      
      Patch by Santosh Mahto <santosh.ma@samsung.com> on 2013-11-04
      Reviewed by Andreas Kling.
      
      Removing redundant headers from dom related cpp files.
      
      * dom/Attr.cpp:
      * dom/CharacterData.cpp:
      * dom/ChildListMutationScope.cpp:
      * dom/ChildNodeList.cpp:
      * dom/ContainerNode.cpp:
      * dom/ContainerNodeAlgorithms.cpp:
      * dom/DOMNamedFlowCollection.cpp:
      * dom/DatasetDOMStringMap.cpp:
      * dom/Document.cpp:
      * dom/DocumentEventQueue.cpp:
      * dom/DocumentMarkerController.cpp:
      * dom/DocumentOrderedMap.cpp:
      * dom/DocumentStyleSheetCollection.cpp:
      * dom/Element.cpp:
      * dom/ElementRareData.cpp:
      * dom/Event.cpp:
      * dom/EventContext.cpp:
      * dom/EventDispatcher.cpp:
      * dom/EventTarget.cpp:
      * dom/ExceptionBase.cpp:
      * dom/FocusEvent.cpp:
      * dom/InlineStyleSheetOwner.cpp:
      * dom/KeyboardEvent.cpp:
      * dom/LiveNodeList.cpp:
      * dom/MessageEvent.cpp:
      * dom/MessagePort.cpp:
      * dom/MouseRelatedEvent.cpp:
      * dom/MutationEvent.cpp:
      * dom/MutationObserver.cpp:
      * dom/MutationObserverInterestGroup.cpp:
      * dom/MutationObserverRegistration.cpp:
      * dom/MutationRecord.cpp:
      * dom/NameNodeList.cpp:
      * dom/NamedFlowCollection.cpp:
      * dom/NamedNodeMap.cpp:
      * dom/Node.cpp:
      * dom/NodeIterator.cpp:
      * dom/NodeTraversal.cpp:
      * dom/PositionIterator.cpp:
      * dom/ProcessingInstruction.cpp:
      * dom/Range.cpp:
      * dom/RegisteredEventListener.cpp:
      * dom/ScopedEventQueue.cpp:
      * dom/ScriptElement.cpp:
      * dom/ScriptRunner.cpp:
      * dom/SelectorQuery.cpp:
      * dom/ShadowRoot.cpp:
      * dom/StyledElement.cpp:
      * dom/TagNodeList.cpp:
      * dom/Text.cpp:
      * dom/TextEvent.cpp:
      * dom/TouchEvent.cpp:
      * dom/TreeScope.cpp:
      * dom/TreeScopeAdopter.cpp:
      * dom/TreeWalker.cpp:
      * dom/UIEvent.cpp:
      * dom/UserActionElementSet.cpp:
      * dom/UserTypingGestureIndicator.cpp:
      * dom/VisitedLinkState.cpp:
      * dom/WebKitNamedFlow.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7987a5a9
    • akling@apple.com's avatar
      HTMLAllCollection is always rooted at a Document. · 8fb96aa1
      akling@apple.com authored
      <https://webkit.org/b/123724>
      
      Tighten up HTMLAllCollection by making the constructor take a
      Document& instead of a ContainerNode&. Drive-by application of
      FINAL and PassRef also happened.
      
      Reviewed by Antti Koivisto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8fb96aa1
    • akling@apple.com's avatar
      Make more CSSValue subclass constructors return PassRef. · f38fff3c
      akling@apple.com authored
      <https://webkit.org/b/123731>
      
      Make the constructor helpers for the following classes return
      PassRef instead of PassRefPtr:
      
          - CSSFontValue
          - CSSImageSetValue
          - CSSUnicodeRangeValue
          - WebKitCSSArrayFunctionValue
          - WebKitCSSFilterValue
          - WebKitCSSMatFunctionValue
          - WebKitCSSMixFunctionValue
          - WebKitCSSShaderValue
          - WebKitCSSTransformValue
      
      Reviewed by Antti Koivisto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f38fff3c
    • ossy@webkit.org's avatar
      Buildfix after r158182 for GCC 4.6 · 41afec6b
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=123442
      
      Patch by Jozsef Berta <jberta@inf.u-szeged.hu> on 2013-11-04
      Reviewed by Csaba Osztrogonác.
      
      Added explicit "friend class", because  GCC 4.6 doesn't support extended friend declaration (c++11)
      
      * dom/ScopedEventQueue.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41afec6b
    • rniwa@webkit.org's avatar
      Fix JSON generations on new flakiness dashboard · 1cbfb6c9
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=123723
      
      Reviewed by Andreas Kling.
      
      Add is_flaky column on results table so that this column can be used to find flaky tests on a given builder
      efficiently without having to through results for all tests in PHP. This column is updated in report.php
      when a new build is added. Because is_flaky depends on the preceding and succeeding results, we must update
      is_flaky flag on results for builds immediately before and after the new build as well.
      
      To see why, suppose we had two consecutive results [PASS] [PASS]. If we were to insert [FAIL] result between
      the two, those two results may also turn into flaky results if they were surrounded by [FAIL]. Similarly,
      if we had [PASS] [FAIL] and the second result was marked flaky, inserting new [FAIL] must unmark it.
      
      
      * init-database.sql: Added is_flaky column to results table with an index. Also added an index on
      build_revisions.time as many queries filter results by this quantity. Also set the work_mem to 50MB avoid
      disk thrashing while sorting results in various queries.
      
      * public/api/failing-tests.php: Handle builder ids as well as names. Call generate() with failure types.
      No longer generates *-failing.json since it's a subset of *-wrongexpectations.json to save time.
      
      * public/api/report.php: Rewritten. Calls update_flakiness_after_inserting_build to update is_flaky flags
      on the newly added results.
      (store_results): Added.
      (main): Added.
      
      * public/include/test-results.php:
      (ResultsJSONWriter):
      (ResultsJSONWriter::add_results_for_test): Renamed from add_results_for_test_if_matches.
      (ResultsJSONGenerator::generate): Takes the failure type. Instead of generating JSONs for all failure types
      at once, generate one JSON for the specified type. We generate the list of test ids based on the failure type
      and query results based on that. This dramatically cuts down the time spent in PHP.
      (ResultsJSONGenerator::latest_build): Added.
      (ResultsJSONGenerator::write_jsons): Takes single writer now.
      (update_flakiness_for_build): Added.
      (update_flakiness_after_inserting_build): Added.
      
      * public/index.html:
      (TestResultsView._populateBuilderPane): Emulate *-failing.json upon *-wrongexpectations.json.
      (TestResultsView.fetchFailingTestsForBuilder): Ditto.
      
      * public/main.css: Minor style tweaks.
      (.testResults): Extend the border that wraps the test results as needed.
      (.tooltip): Don't wrap text inside tooltips.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1cbfb6c9
    • akling@apple.com's avatar
      HTMLTableRowsCollection is always rooted at a HTMLTableElement. · 7c981584
      akling@apple.com authored
      <https://webkit.org/b/123721>
      
      Tighten up HTMLTableRowsCollection by making the create() helper
      take a HTMLTableElement& and adding a HTMLSelectElement& getter.
      
      Reviewed by Antti Koivisto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c981584
    • akling@apple.com's avatar
      HTMLNameCollection and friends are always rooted at a Document. · 3a82f2a9
      akling@apple.com authored
      <https://webkit.org/b/123722>
      
      Tighten WindowNameCollection and DocumentNameCollection by making
      their constructors take a Document&, and add a slightly better
      document() than the one we inherit from LiveNodeListBase.
      
      Also marked the classes FINAL and made create() helpers return
      PassRef instead of PassRefPtr.
      
      Reviewed by Antti Koivisto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a82f2a9
    • akling@apple.com's avatar
      Optimize baselines: svg/zoom · 65e1cea9
      akling@apple.com authored
      Unreviewed; run "webkit-patch optimize-baselines svg/zoom"
      
      * platform/gtk/svg/zoom/page/zoom-background-images-expected.txt: Removed.
      * platform/gtk/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt: Removed.
      * platform/gtk/svg/zoom/page/zoom-hixie-rendering-model-004-expected.txt: Removed.
      * platform/gtk/svg/zoom/page/zoom-mask-with-percentages-expected.txt: Removed.
      * platform/gtk/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt: Removed.
      * platform/gtk/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.txt: Removed.
      * platform/gtk/svg/zoom/page/zoom-svg-as-image-expected.png: Removed.
      * platform/gtk/svg/zoom/page/zoom-svg-float-border-padding-expected.txt: Removed.
      * platform/gtk/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt: Removed.
      * platform/gtk/svg/zoom/text/zoom-hixie-rendering-model-004-expected.txt: Removed.
      * platform/gtk/svg/zoom/text/zoom-svg-float-border-padding-expected.txt: Removed.
      * svg/zoom/page/zoom-background-images-expected.txt: Renamed from LayoutTests/platform/efl/svg/zoom/page/zoom-background-images-expected.txt.
      * svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt: Renamed from LayoutTests/platform/efl/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt.
      * svg/zoom/page/zoom-hixie-rendering-model-004-expected.txt: Renamed from LayoutTests/platform/efl/svg/zoom/page/zoom-hixie-rendering-model-004-expected.txt.
      * svg/zoom/page/zoom-mask-with-percentages-expected.txt: Renamed from LayoutTests/platform/efl/svg/zoom/page/zoom-mask-with-percentages-expected.txt.
      * svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt: Renamed from LayoutTests/platform/efl/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt.
      * svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.txt: Renamed from LayoutTests/platform/efl/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.txt.
      * svg/zoom/page/zoom-svg-as-image-expected.png: Renamed from LayoutTests/platform/efl/svg/zoom/page/zoom-svg-as-image-expected.png.
      * svg/zoom/page/zoom-svg-float-border-padding-expected.txt: Renamed from LayoutTests/platform/efl/svg/zoom/page/zoom-svg-float-border-padding-expected.txt.
      * svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt: Removed.
      * svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt: Renamed from LayoutTests/platform/efl/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt.
      * svg/zoom/text/zoom-hixie-rendering-model-004-expected.txt: Renamed from LayoutTests/platform/efl/svg/zoom/text/zoom-hixie-rendering-model-004-expected.txt.
      * svg/zoom/text/zoom-svg-float-border-padding-expected.txt: Renamed from LayoutTests/platform/efl/svg/zoom/text/zoom-svg-float-border-padding-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65e1cea9
    • akling@apple.com's avatar
      Add an ancestor renderer iterator. · f3028056
      akling@apple.com authored
      <https://webkit.org/b/123718>
      
      Add ancestor iterators for renderers, analogous to element ancestor
      iterators. They walk the chain of parent renderers, stopping at each
      ancestor of a certain type.
      
      Just like child renderer iterators, this requires isRendererOfType()
      to be implemented for the targeted renderer class.
      
      You use them like this:
      
      auto frameSets = ancestorsOfType<RenderFrameSet>(*this);
      for (auto frameSet = frameSets.begin(), end = frameSets.end(); frameSet != end; ++frameSet)
          frameSet->thisOrThat();
      
      To complete the patch, I put them to use in a couple of random places.
      
      Reviewed by Antti Koivisto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3028056
    • akling@apple.com's avatar
      Optimize baselines: fast/images · cd778aea
      akling@apple.com authored
      Unreviewed; run "webkit-patch optimize-baselines fast/images"
      
      * fast/images/crossfade-client-not-removed-crash-expected.txt:
      * fast/images/embed-image-expected.png: Renamed from LayoutTests/platform/efl/fast/images/embed-image-expected.png.
      * fast/images/exif-orientation-css-expected.txt: Renamed from LayoutTests/platform/efl/fast/images/exif-orientation-css-expected.txt.
      * fast/images/exif-orientation-expected.txt: Renamed from LayoutTests/platform/efl/fast/images/exif-orientation-expected.txt.
      * fast/images/icon-decoding-expected.txt: Renamed from LayoutTests/platform/efl/fast/images/icon-decoding-expected.txt.
      * fast/images/image-in-map-expected.png: Renamed from LayoutTests/platform/efl/fast/images/image-in-map-expected.png.
      * fast/images/image-in-map-expected.txt: Renamed from LayoutTests/platform/efl/fast/images/image-in-map-expected.txt.
      * fast/images/imagemap-focus-ring-zoom-expected.txt: Renamed from LayoutTests/platform/efl/fast/images/imagemap-focus-ring-zoom-expected.txt.
      * fast/images/support-broken-image-delegate-expected.txt: Renamed from LayoutTests/platform/gtk/fast/images/support-broken-image-delegate-expected.txt.
      * platform/efl-wk2/fast/images/imagemap-circle-focus-ring-expected.png: Renamed from LayoutTests/platform/efl/fast/images/imagemap-circle-focus-ring-expected.png.
      * platform/efl-wk2/fast/images/imagemap-focus-ring-outline-color-expected.png: Renamed from LayoutTests/platform/efl/fast/images/imagemap-focus-ring-outline-color-expected.png.
      * platform/efl-wk2/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png: Renamed from LayoutTests/platform/efl/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png.
      * platform/efl-wk2/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png: Renamed from LayoutTests/platform/efl/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png.
      * platform/efl-wk2/fast/images/imagemap-polygon-focus-ring-expected.png: Renamed from LayoutTests/platform/efl/fast/images/imagemap-polygon-focus-ring-expected.png.
      * platform/efl/fast/images/crossfade-client-not-removed-crash-expected.txt: Removed.
      * platform/gtk/fast/images/crossfade-client-not-removed-crash-expected.txt: Removed.
      * platform/gtk/fast/images/embed-image-expected.png: Removed.
      * platform/gtk/fast/images/exif-orientation-css-expected.txt: Removed.
      * platform/gtk/fast/images/icon-decoding-expected.txt: Removed.
      * platform/gtk/fast/images/image-in-map-expected.png: Removed.
      * platform/gtk/fast/images/image-in-map-expected.txt: Removed.
      * platform/gtk/fast/images/imagemap-focus-ring-zoom-expected.txt: Removed.
      * platform/mac/fast/images/crossfade-client-not-removed-crash-expected.txt: Removed.
      * platform/mac/fast/images/exif-orientation-css-expected.txt: Removed.
      * platform/mac/fast/images/exif-orientation-expected.txt: Removed.
      * platform/win-7sp0/fast/images/support-broken-image-delegate-expected.txt: Renamed from LayoutTests/platform/win/fast/images/support-broken-image-delegate-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd778aea
    • mihnea@adobe.com's avatar
      [CSSRegions] Use auto keyword to clean-up for loops · 2d332fa0
      mihnea@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=123699
      
      Reviewed by Anders Carlsson.
      
      Start using auto keyword for loops.
      Also, since region breaks (forced breaks) can be added only on boxes,
      i changed RenderFlowThread::addForcedRegionBreak to use a RenderBox* instead of RenderObject*.
      
      No change in functionality, no new tests.
      
      * dom/WebKitNamedFlow.cpp:
      (WebCore::WebKitNamedFlow::firstEmptyRegionIndex):
      * rendering/FlowThreadController.cpp:
      (WebCore::FlowThreadController::ensureRenderFlowThreadWithName):
      (WebCore::FlowThreadController::styleDidChange):
      (WebCore::FlowThreadController::layoutRenderNamedFlowThreads):
      (WebCore::FlowThreadController::updateFlowThreadsChainIfNecessary):
      (WebCore::FlowThreadController::updateFlowThreadsNeedingLayout):
      (WebCore::FlowThreadController::updateFlowThreadsNeedingTwoStepLayout):
      (WebCore::FlowThreadController::resetFlowThreadsWithAutoHeightRegions):
      (WebCore::FlowThreadController::updateFlowThreadsIntoConstrainedPhase):
      (WebCore::FlowThreadController::updateFlowThreadsIntoOverflowPhase):
      (WebCore::FlowThreadController::updateFlowThreadsIntoMeasureContentPhase):
      (WebCore::FlowThreadController::updateFlowThreadsIntoFinalPhase):
      (WebCore::FlowThreadController::updateRenderFlowThreadLayersIfNeeded):
      (WebCore::FlowThreadController::collectFixedPositionedLayers):
      (WebCore::FlowThreadController::isAutoLogicalHeightRegionsCountConsistent):
      * rendering/RenderFlowThread.cpp:
      (WebCore::RenderFlowThread::validateRegions):
      (WebCore::RenderFlowThread::hasCompositingRegionDescendant):
      (WebCore::RenderFlowThread::getLayerListForRegion):
      (WebCore::RenderFlowThread::updateLayerToRegionMappings):
      (WebCore::RenderFlowThread::updateLogicalWidth):
      (WebCore::RenderFlowThread::computeLogicalHeight):
      (WebCore::RenderFlowThread::repaintRectangleInRegions):
      (WebCore::RenderFlowThread::removeRenderBoxRegionInfo):
      (WebCore::RenderFlowThread::logicalWidthChangedInRegionsForBlock):
      (WebCore::RenderFlowThread::clearRenderObjectCustomStyle):
      (WebCore::RenderFlowThread::clearRenderBoxRegionInfoAndCustomStyle):
      (WebCore::RenderFlowThread::setRegionRangeForBox):
      (WebCore::RenderFlowThread::getRegionRangeForBox):
      (WebCore::RenderFlowThread::regionInRange):
      (WebCore::RenderFlowThread::checkRegionsWithStyling):
      (WebCore::RenderFlowThread::objectInFlowRegion):
      (WebCore::RenderFlowThread::isAutoLogicalHeightRegionsCountConsistent):
      (WebCore::RenderFlowThread::initializeRegionsComputedAutoHeight):
      (WebCore::RenderFlowThread::markAutoLogicalHeightRegionsForLayout):
      (WebCore::RenderFlowThread::markRegionsForOverflowLayoutIfNeeded):
      (WebCore::RenderFlowThread::updateRegionsFlowThreadPortionRect):
      (WebCore::RenderFlowThread::addForcedRegionBreak):
      (WebCore::RenderFlowThread::collectLayerFragments):
      (WebCore::RenderFlowThread::fragmentsBoundingBox):
      (WebCore::RenderFlowThread::addRegionsVisualEffectOverflow):
      (WebCore::RenderFlowThread::addRegionsVisualOverflowFromTheme):
      (WebCore::RenderFlowThread::addRegionsOverflowFromChild):
      (WebCore::RenderFlowThread::addRegionsLayoutOverflow):
      (WebCore::RenderFlowThread::clearRegionsOverflow):
      * rendering/RenderFlowThread.h:
      * rendering/RenderNamedFlowThread.cpp:
      (WebCore::RenderNamedFlowThread::nextRendererForNode):
      (WebCore::RenderNamedFlowThread::previousRendererForNode):
      (WebCore::RenderNamedFlowThread::dependsOn):
      (WebCore::addRegionToList):
      (WebCore::RenderNamedFlowThread::computeOversetStateForRegions):
      (WebCore::RenderNamedFlowThread::checkInvalidRegions):
      (WebCore::RenderNamedFlowThread::pushDependencies):
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::setRegionObjectsRegionStyle):
      (WebCore::RenderRegion::restoreRegionObjectsOriginalStyle):
      (WebCore::RenderRegion::computeChildrenStyleInRegion):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d332fa0
    • zandobersek@gmail.com's avatar
      PingLoader objects unnecessarily pass through OwnPtr · d0429609
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122942
      
      Reviewed by Darin Adler.
      
      There's no need to store new PingLoader objects into an OwnPtr just to leak them out a few lines later
      into an unused variable. New objects are created through a new helper method and then left unmanaged as
      they're guaranteed to destroy themselves when they receive a response of any kind.
      
      * loader/PingLoader.cpp:
      (WebCore::PingLoader::loadImage): Call the new createPingLoader method to spawn the PingLoader.
      (WebCore::PingLoader::sendPing): Ditto.
      (WebCore::PingLoader::sendViolationReport): Ditto.
      (WebCore::PingLoader::createPingLoader): A helper method that creates a new PingLoader object
      * loader/PingLoader.h: Declare the new PingLoader::createPingLoader method.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0429609
    • akling@apple.com's avatar
      HTMLOptionsCollection is always rooted at a HTMLSelectElement. · f954a071
      akling@apple.com authored
      <https://webkit.org/b/123719>
      
      Tighten up HTMLOptionsCollection by making the constructor take
      a HTMLSelectElement& and adding a HTMLSelectElement& getter instead
      of casting all over the place. Removed now-pointless assertions.
      
      Reviewed by Sam Weinig.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f954a071
    • fpizlo@apple.com's avatar
      Generated color wheel displays incorrectly (regressed in r155567) · 3f68f35a
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=123664
      
      Source/JavaScriptCore: 
      
      Reviewed by Andreas Kling.
      
      Interestingly, r155567 just "un-broke" the attempt to constant-fold ArithMod, but
      that constant folding was just wrong to begin with. There is no evidence that this
      constant folding rule is profitable. I'm removing it instead of trying to think
      about what it means for it to be correct.
      
      * dfg/DFGAbstractInterpreterInlines.h:
      (JSC::DFG::::executeEffects):
      
      LayoutTests: 
      
      Reviewed by Andreas Kling.
              
      * js/dfg-mod-1-expected.txt: Added.
      * js/dfg-mod-1.html: Added.
      * js/script-tests/dfg-mod-1.js: Added.
      (foo):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f68f35a
    • akling@apple.com's avatar
      Optimize baselines: fast/repaint · c108fc5c
      akling@apple.com authored
      Unreviewed; run "webkit-patch optimize-baselines fast/repaint"
      
      * fast/repaint/4774354-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/4774354-expected.txt.
      * fast/repaint/absolute-position-changed-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/absolute-position-changed-expected.png.
      * fast/repaint/block-selection-gap-stale-cache-2-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/block-selection-gap-stale-cache-2-expected.png.
      * fast/repaint/block-selection-gap-stale-cache-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/block-selection-gap-stale-cache-expected.png.
      * fast/repaint/box-shadow-inset-repaint-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/box-shadow-inset-repaint-expected.txt.
      * fast/repaint/button-spurious-layout-hint-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/button-spurious-layout-hint-expected.png.
      * fast/repaint/canvas-putImageData-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/canvas-putImageData-expected.png.
      * fast/repaint/clip-with-layout-delta-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/clip-with-layout-delta-expected.txt.
      * fast/repaint/content-into-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/content-into-overflow-expected.png.
      * fast/repaint/erase-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/erase-overflow-expected.png.
      * fast/repaint/fixed-after-scroll-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-after-scroll-expected.png.
      * fast/repaint/fixed-and-absolute-position-scrolled-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-and-absolute-position-scrolled-expected.png.
      * fast/repaint/fixed-position-transparency-with-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-position-transparency-with-overflow-expected.png.
      * fast/repaint/fixed-scale-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-scale-expected.png.
      * fast/repaint/fixed-scroll-simple-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-scroll-simple-expected.png.
      * fast/repaint/fixed-table-cell-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-table-cell-expected.png.
      * fast/repaint/fixed-table-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-table-overflow-expected.png.
      * fast/repaint/fixed-table-overflow-zindex-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-table-overflow-zindex-expected.png.
      * fast/repaint/fixed-tranformed-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/fixed-tranformed-expected.png.
      * fast/repaint/float-in-new-block-with-layout-delta-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/float-in-new-block-with-layout-delta-expected.png.
      * fast/repaint/float-overflow-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/float-overflow-expected.txt.
      * fast/repaint/float-overflow-right-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/float-overflow-right-expected.txt.
      * fast/repaint/inline-block-resize-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/inline-block-resize-expected.png.
      * fast/repaint/inline-horizontal-bt-overflow-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/inline-horizontal-bt-overflow-expected.txt.
      * fast/repaint/inline-vertical-lr-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/inline-vertical-lr-overflow-expected.png.
      * fast/repaint/inline-vertical-lr-overflow-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/inline-vertical-lr-overflow-expected.txt.
      * fast/repaint/inline-vertical-rl-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/inline-vertical-rl-overflow-expected.png.
      * fast/repaint/inline-vertical-rl-overflow-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/inline-vertical-rl-overflow-expected.txt.
      * fast/repaint/intermediate-layout-position-clip-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/intermediate-layout-position-clip-expected.png.
      * fast/repaint/japanese-rl-selection-clear-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-clear-expected.txt.
      * fast/repaint/japanese-rl-selection-repaint-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-repaint-expected.txt.
      * fast/repaint/layer-hide-when-needs-layout-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/layer-hide-when-needs-layout-expected.png.
      * fast/repaint/layer-visibility-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/layer-visibility-expected.png.
      * fast/repaint/line-in-scrolled-clipped-block-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/line-in-scrolled-clipped-block-expected.txt.
      * fast/repaint/moving-shadow-on-path-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/moving-shadow-on-path-expected.txt.
      * fast/repaint/overflow-auto-in-overflow-auto-scrolled-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/overflow-auto-in-overflow-auto-scrolled-expected.png.
      * fast/repaint/overflow-clip-subtree-layout-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/overflow-clip-subtree-layout-expected.png.
      * fast/repaint/overflow-into-content-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/overflow-into-content-expected.png.
      * fast/repaint/overflow-scroll-in-overflow-scroll-scrolled-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/overflow-scroll-in-overflow-scroll-scrolled-expected.png.
      * fast/repaint/reflection-repaint-test-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/reflection-repaint-test-expected.txt.
      * fast/repaint/repaint-across-writing-mode-boundary-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/repaint-across-writing-mode-boundary-expected.txt.
      * fast/repaint/repaint-during-scroll-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/repaint-during-scroll-expected.png.
      * fast/repaint/repaint-during-scroll-with-zoom-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/repaint-during-scroll-with-zoom-expected.txt.
      * fast/repaint/scroll-absolute-layer-with-reflection-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/scroll-absolute-layer-with-reflection-expected.png.
      * fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png.
      * fast/repaint/scroll-fixed-layer-with-reflection-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/scroll-fixed-layer-with-reflection-expected.png.
      * fast/repaint/scroll-fixed-reflected-layer-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/scroll-fixed-reflected-layer-expected.png.
      * fast/repaint/scroll-in-clipped-layer-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/scroll-in-clipped-layer-expected.png.
      * fast/repaint/scroll-in-fixed-layer-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/scroll-in-fixed-layer-expected.png.
      * fast/repaint/subtree-root-clip-2-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/subtree-root-clip-2-expected.png.
      * fast/repaint/subtree-root-clip-3-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/subtree-root-clip-3-expected.png.
      * fast/repaint/subtree-root-clip-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/subtree-root-clip-expected.png.
      * fast/repaint/table-cell-vertical-overflow-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/table-cell-vertical-overflow-expected.txt.
      * fast/repaint/table-col-background-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-col-background-expected.png.
      * fast/repaint/table-outer-border-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-outer-border-expected.png.
      * fast/repaint/table-overflow-auto-in-overflow-auto-scrolled-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-overflow-auto-in-overflow-auto-scrolled-expected.png.
      * fast/repaint/table-overflow-hidden-in-overflow-hidden-scrolled-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-overflow-hidden-in-overflow-hidden-scrolled-expected.png.
      * fast/repaint/table-overflow-scroll-in-overflow-scroll-scrolled-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-overflow-scroll-in-overflow-scroll-scrolled-expected.png.
      * fast/repaint/table-row-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-row-expected.png.
      * fast/repaint/table-section-overflow-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/table-section-overflow-expected.png.
      * fast/repaint/transform-layout-repaint-expected.txt: Renamed from LayoutTests/platform/efl/fast/repaint/transform-layout-repaint-expected.txt.
      * fast/repaint/view-background-from-body-1-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/view-background-from-body-1-expected.png.
      * fast/repaint/view-background-from-body-2-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/view-background-from-body-2-expected.png.
      * platform/efl-wk2/fast/repaint/selection-after-delete-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/selection-after-delete-expected.png.
      * platform/efl-wk2/fast/repaint/selection-after-remove-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/selection-after-remove-expected.png.
      * platform/efl-wk2/fast/repaint/selection-gap-overflow-scroll-2-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/selection-gap-overflow-scroll-2-expected.png.
      * platform/gtk/fast/repaint/4774354-expected.txt: Removed.
      * platform/gtk/fast/repaint/absolute-position-changed-expected.png: Removed.
      * platform/gtk/fast/repaint/block-selection-gap-stale-cache-2-expected.png: Removed.
      * platform/gtk/fast/repaint/block-selection-gap-stale-cache-expected.png: Removed.
      * platform/gtk/fast/repaint/box-shadow-inset-repaint-expected.txt: Removed.
      * platform/gtk/fast/repaint/button-spurious-layout-hint-expected.png: Removed.
      * platform/gtk/fast/repaint/canvas-putImageData-expected.png: Removed.
      * platform/gtk/fast/repaint/clip-with-layout-delta-expected.txt: Removed.
      * platform/gtk/fast/repaint/content-into-overflow-expected.png: Removed.
      * platform/gtk/fast/repaint/erase-overflow-expected.png: Removed.
      * platform/gtk/fast/repaint/fixed-after-scroll-expected.png: Removed.
      * platform/gtk/fast/repaint/fixed-and-absolute-position-scrolled-expected.png: Removed.
      * platform/gtk/fast/repaint/fixed-position-transparency-with-overflow-expected.png: Removed.
      * platform/gtk/fast/repaint/fixed-scale-expected.png: Removed.
      * platform/gtk/fast/repaint/fixed-scroll-simple-expected.png: Removed.
      * platform/gtk/fast/repaint/fixed-table-cell-expected.png: Removed.
      * platform/gtk/fast/repaint/fixed-table-overflow-expected.png: Removed.
      * platform/gtk/fast/repaint/fixed-table-overflow-zindex-expected.png: Removed.
      * platform/gtk/fast/repaint/fixed-tranformed-expected.png: Removed.
      * platform/gtk/fast/repaint/float-in-new-block-with-layout-delta-expected.png: Removed.
      * platform/gtk/fast/repaint/inline-block-resize-expected.png: Removed.
      * platform/gtk/fast/repaint/inline-horizontal-bt-overflow-expected.txt: Removed.
      * platform/gtk/fast/repaint/inline-vertical-lr-overflow-expected.png: Removed.
      * platform/gtk/fast/repaint/inline-vertical-lr-overflow-expected.txt: Removed.
      * platform/gtk/fast/repaint/inline-vertical-rl-overflow-expected.png: Removed.
      * platform/gtk/fast/repaint/inline-vertical-rl-overflow-expected.txt: Removed.
      * platform/gtk/fast/repaint/intermediate-layout-position-clip-expected.png: Removed.
      * platform/gtk/fast/repaint/japanese-rl-selection-clear-expected.txt: Removed.
      * platform/gtk/fast/repaint/japanese-rl-selection-repaint-expected.txt: Removed.
      * platform/gtk/fast/repaint/layer-hide-when-needs-layout-expected.png: Removed.
      * platform/gtk/fast/repaint/layer-visibility-expected.png: Removed.
      * platform/gtk/fast/repaint/line-in-scrolled-clipped-block-expected.txt: Removed.
      * platform/gtk/fast/repaint/moving-shadow-on-path-expected.txt: Removed.
      * platform/gtk/fast/repaint/overflow-auto-in-overflow-auto-scrolled-expected.png: Removed.
      * platform/gtk/fast/repaint/overflow-clip-subtree-layout-expected.png: Removed.
      * platform/gtk/fast/repaint/overflow-into-content-expected.png: Removed.
      * platform/gtk/fast/repaint/overflow-scroll-in-overflow-scroll-scrolled-expected.png: Removed.
      * platform/gtk/fast/repaint/reflection-repaint-test-expected.txt: Removed.
      * platform/gtk/fast/repaint/repaint-across-writing-mode-boundary-expected.txt: Removed.
      * platform/gtk/fast/repaint/repaint-during-scroll-expected.png: Removed.
      * platform/gtk/fast/repaint/repaint-during-scroll-with-zoom-expected.txt: Removed.
      * platform/gtk/fast/repaint/scroll-absolute-layer-with-reflection-expected.png: Removed.
      * platform/gtk/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png: Removed.
      * platform/gtk/fast/repaint/scroll-fixed-layer-with-reflection-expected.png: Removed.
      * platform/gtk/fast/repaint/scroll-fixed-reflected-layer-expected.png: Removed.
      * platform/gtk/fast/repaint/scroll-in-clipped-layer-expected.png: Removed.
      * platform/gtk/fast/repaint/scroll-in-fixed-layer-expected.png: Removed.
      * platform/gtk/fast/repaint/subtree-root-clip-2-expected.png: Removed.
      * platform/gtk/fast/repaint/subtree-root-clip-3-expected.png: Removed.
      * platform/gtk/fast/repaint/subtree-root-clip-expected.png: Removed.
      * platform/gtk/fast/repaint/table-cell-vertical-overflow-expected.txt: Removed.
      * platform/gtk/fast/repaint/table-col-background-expected.png: Removed.
      * platform/gtk/fast/repaint/table-outer-border-expected.png: Removed.
      * platform/gtk/fast/repaint/table-overflow-auto-in-overflow-auto-scrolled-expected.png: Removed.
      * platform/gtk/fast/repaint/table-overflow-hidden-in-overflow-hidden-scrolled-expected.png: Removed.
      * platform/gtk/fast/repaint/table-overflow-scroll-in-overflow-scroll-scrolled-expected.png: Removed.
      * platform/gtk/fast/repaint/table-row-expected.png: Removed.
      * platform/gtk/fast/repaint/table-section-overflow-expected.png: Removed.
      * platform/gtk/fast/repaint/transform-layout-repaint-expected.txt: Removed.
      * platform/gtk/fast/repaint/view-background-from-body-1-expected.png: Removed.
      * platform/gtk/fast/repaint/view-background-from-body-2-expected.png: Removed.
      * platform/mac-wk2/fast/repaint/table-cell-collapsed-border-scroll-expected.txt: Removed.
      * platform/mac/fast/repaint/box-shadow-inset-repaint-expected.txt: Removed.
      * platform/mac/fast/repaint/float-overflow-expected.txt: Removed.
      * platform/mac/fast/repaint/float-overflow-right-expected.txt: Removed.
      * platform/mac/fast/repaint/inline-horizontal-bt-overflow-expected.txt: Removed.
      * platform/mac/fast/repaint/inline-vertical-lr-overflow-expected.txt: Removed.
      * platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.txt: Removed.
      * platform/mac/fast/repaint/table-cell-vertical-overflow-expected.txt: Removed.
      * platform/win/fast/repaint/table-cell-collapsed-border-scroll-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c108fc5c
    • fpizlo@apple.com's avatar
      Source/JavaScriptCore: Unreviewed, it is no longer necessary to call DisablePrettyStackTrace. · 4ee0b2bb
      fpizlo@apple.com authored
      * llvm/library/LLVMExports.cpp:
      (initializeAndGetJSCLLVMAPI):
      
      WebKitLibraries: Update binary drops to a version that includes my pretty stack trace changes.
      
      * LLVMIncludesMountainLion.tar.bz2:
      * LLVMLibrariesMountainLion.tar.bz2:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4ee0b2bb
    • mitz@apple.com's avatar
      [Cocoa] Wrappers' -copyWithZone: should copy if the collection is mutable · 79890d18
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=123707
      
      Reviewed by Geoff Garen and Anders Carlsson.
      
      * Shared/Cocoa/WKNSArray.mm:
      (-[WKNSArray copyWithZone:]): If the array is mutable, make a copy.
      * Shared/Cocoa/WKNSDictionary.mm:
      (-[WKNSDictionary copyWithZone:]): If the dictionary is mutable, make a copy.
      * Shared/ImmutableArray.h:
      (WebKit::ImmutableArray::entries): Added this accessor.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79890d18
    • mitz@apple.com's avatar
      Reverted r158538. · 7b8d8d52
      mitz@apple.com authored
      * Shared/Cocoa/WKNSArray.mm:
      (-[WKNSArray copyWithZone:]):
      * Shared/Cocoa/WKNSDictionary.mm:
      (-[WKNSDictionary copyWithZone:]):
      * Shared/ImmutableArray.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7b8d8d52
    • akling@apple.com's avatar
      RenderTextFragment: Tighten first-letter logic. · d6a659dc
      akling@apple.com authored
      <https://webkit.org/b/123714>
      
      Reviewed by Antti Koivisto.
      
      * editing/TextIterator.cpp:
      (WebCore::firstRenderTextInFirstLetter):
      
          Use iterator helper to find first RenderText child.
      
      (WebCore::TextIterator::handleTextNodeFirstLetter):
      
          Tightening through type inference.
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::updateFirstLetterStyle):
      (WebCore::RenderBlock::createFirstLetterRenderer):
      * rendering/RenderTextFragment.h:
      
          The first letter renderer is always a RenderBoxModelObject,
          so make the code deal in that instead of RenderObject.
      
      * rendering/RenderChildIterator.h:
      (WebCore::RenderChildIteratorAdapter::first):
      (WebCore::RenderChildIteratorAdapter::last):
      
          Remove excess ampersands that were keeping this from building.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6a659dc
    • akling@apple.com's avatar
      Optimize baselines: fast/forms · 568ab419
      akling@apple.com authored
      Unreviewed; run "webkit-patch optimize-baselines fast/forms"
      
      * fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.txt:
      * fast/forms/fieldset-with-float-expected.txt: Renamed from LayoutTests/platform/efl/fast/forms/fieldset-with-float-expected.txt.
      * fast/forms/input-no-renderer-expected.txt: Renamed from LayoutTests/platform/efl/fast/forms/input-no-renderer-expected.txt.
      * fast/forms/label/labelable-elements-expected.txt: Renamed from LayoutTests/platform/gtk/fast/forms/label/labelable-elements-expected.txt.
      * fast/forms/range/slider-thumb-stylability-expected.png: Renamed from LayoutTests/platform/efl/fast/forms/range/slider-thumb-stylability-expected.png.
      * fast/forms/select-listbox-multiple-no-focusring-expected.txt: Renamed from LayoutTests/platform/efl/fast/forms/select-listbox-multiple-no-focusring-expected.txt.
      * fast/forms/select-overflow-scroll-expected.txt: Renamed from LayoutTests/platform/efl/fast/forms/select-overflow-scroll-expected.txt.
      * fast/forms/select-overflow-scroll-inherited-expected.txt: Renamed from LayoutTests/platform/efl/fast/forms/select-overflow-scroll-inherited-expected.txt.
      * fast/forms/textfield-overflow-by-value-update-expected.png: Renamed from LayoutTests/platform/efl/fast/forms/textfield-overflow-by-value-update-expected.png.
      * fast/forms/textfield-overflow-by-value-update-expected.txt: Renamed from LayoutTests/platform/efl/fast/forms/textfield-overflow-by-value-update-expected.txt.
      * platform/efl-wk2/fast/forms/validation-message-appearance-expected.png: Renamed from LayoutTests/platform/efl/fast/forms/validation-message-appearance-expected.png.
      * platform/gtk/fast/forms/fieldset-with-float-expected.txt: Removed.
      * platform/gtk/fast/forms/input-no-renderer-expected.txt: Removed.
      * platform/gtk/fast/forms/range/slider-thumb-stylability-expected.png: Removed.
      * platform/gtk/fast/forms/select-listbox-multiple-no-focusring-expected.txt: Removed.
      * platform/gtk/fast/forms/select-overflow-scroll-expected.txt: Removed.
      * platform/gtk/fast/forms/select-overflow-scroll-inherited-expected.txt: Removed.
      * platform/gtk/fast/forms/textfield-overflow-by-value-update-expected.png: Removed.
      * platform/mac/fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.txt: Removed.
      * platform/mac/fast/forms/label/labelable-elements-expected.txt: Removed.
      * platform/mac/fast/forms/textfield-overflow-by-value-update-expected.txt: Removed.
      * platform/win-7sp0/fast/forms/cursor-at-editable-content-boundary-expected.txt: Renamed from LayoutTests/platform/win/fast/forms/cursor-at-editable-content-boundary-expected.txt.
      * platform/win-7sp0/fast/forms/implicit-submission-expected.txt: Renamed from LayoutTests/platform/win/fast/forms/implicit-submission-expected.txt.
      * platform/win-7sp0/fast/forms/range/slider-mouse-events-expected.txt: Renamed from LayoutTests/platform/win/fast/forms/range/slider-mouse-events-expected.txt.
      * platform/win-7sp0/fast/forms/select-popup-pagekeys-expected.txt: Renamed from LayoutTests/platform/win/fast/forms/select-popup-pagekeys-expected.txt.
      * platform/win/fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      568ab419
    • akling@apple.com's avatar
      CSSPrimitiveValue identifier constructors should return PassRef. · bde9d873
      akling@apple.com authored
      <https://webkit.org/b/123712>
      
      Make CSSPrimitiveValue::createIdentifier() and the corresponding
      CSSValuePool helper return PassRef<CSSPrimitiveValue>.
      
      Reviewed by Antti Koivisto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bde9d873
    • akling@apple.com's avatar
      Use RenderChildIterator in two more loops. · 158f6cc8
      akling@apple.com authored
      <https://webkit.org/b/123713>
      
      Switch two more renderer child traversal loops to childrenOfType.
      
      Reviewed by Antti Koivisto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      158f6cc8
  2. 03 Nov, 2013 5 commits
    • akling@apple.com's avatar
      Optimize baselines: editing · 84d78fe7
      akling@apple.com authored
      Unreviewed; run "webkit-patch optimize-baselines editing"
      
      * editing/deleting/delete-3775172-fix-expected.png: Renamed from LayoutTests/platform/efl/editing/deleting/delete-3775172-fix-expected.png.
      * editing/deleting/delete-after-span-ws-001-expected.txt: Renamed from LayoutTests/platform/efl/editing/deleting/delete-after-span-ws-001-expected.txt.
      * editing/deleting/delete-after-span-ws-002-expected.txt: Renamed from LayoutTests/platform/efl/editing/deleting/delete-after-span-ws-002-expected.txt.
      * editing/deleting/delete-after-span-ws-003-expected.txt: Renamed from LayoutTests/platform/efl/editing/deleting/delete-after-span-ws-003-expected.txt.
      * editing/deleting/delete-at-start-or-end-expected.txt: Renamed from LayoutTests/platform/efl/editing/deleting/delete-at-start-or-end-expected.txt.
      * editing/deleting/delete-br-002-expected.txt: Renamed from LayoutTests/platform/mac/editing/deleting/delete-br-002-expected.txt.
      * editing/deleting/delete-br-004-expected.txt: Renamed from LayoutTests/platform/mac/editing/deleting/delete-br-004-expected.txt.
      * editing/deleting/delete-br-005-expected.txt: Renamed from LayoutTests/platform/mac/editing/deleting/delete-br-005-expected.txt.
      * editing/deleting/delete-br-006-expected.txt: Renamed from LayoutTests/platform/mac/editing/deleting/delete-br-006-expected.txt.
      * editing/deleting/delete-line-end-ws-001-expected.txt: Renamed from LayoutTests/platform/efl/editing/deleting/delete-line-end-ws-001-expected.txt.
      * editing/deleting/delete-line-end-ws-002-expected.txt: Renamed from LayoutTests/platform/efl/editing/deleting/delete-line-end-ws-002-expected.txt.
      * editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable-expected.txt:
      * editing/inserting/insert-3851164-fix-expected.png: Renamed from LayoutTests/platform/efl/editing/inserting/insert-3851164-fix-expected.png.
      * editing/selection/5195166-1-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/5195166-1-expected.txt.
      * editing/selection/editable-links-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/editable-links-expected.txt.
      * editing/selection/focus-body-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/focus-body-expected.txt.
      * editing/selection/select-all-001-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/select-all-001-expected.txt.
      * editing/selection/select-all-002-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/select-all-002-expected.txt.
      * editing/selection/select-all-003-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/select-all-003-expected.txt.
      * editing/selection/select-all-004-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/select-all-004-expected.txt.
      * editing/selection/unrendered-001-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/unrendered-001-expected.txt.
      * editing/selection/unrendered-002-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/unrendered-002-expected.txt.
      * editing/selection/unrendered-003-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/unrendered-003-expected.txt.
      * editing/selection/unrendered-004-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/unrendered-004-expected.txt.
      * editing/selection/unrendered-005-expected.txt: Renamed from LayoutTests/platform/efl/editing/selection/unrendered-005-expected.txt.
      * editing/undo/5378473-expected.txt: Renamed from LayoutTests/platform/efl/editing/undo/5378473-expected.txt.
      * editing/undo/undo-misspellings-expected.txt: Renamed from LayoutTests/platform/efl/editing/undo/undo-misspellings-expected.txt.
      * editing/unsupported-content/table-delete-001-expected.txt: Renamed from LayoutTests/platform/efl/editing/unsupported-content/table-delete-001-expected.txt.
      * editing/unsupported-content/table-delete-003-expected.png: Renamed from LayoutTests/platform/efl/editing/unsupported-content/table-delete-003-expected.png.
      * editing/unsupported-content/table-delete-003-expected.txt: Renamed from LayoutTests/platform/efl/editing/unsupported-content/table-delete-003-expected.txt.
      * platform/efl-wk2/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt: Renamed from LayoutTests/platform/efl/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt.
      * platform/efl/editing/caret/caret-color-expected.txt: Renamed from LayoutTests/editing/caret/caret-color-expected.txt.
      * platform/efl/editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable-expected.txt: Removed.
      * platform/gtk/editing/deleting/delete-3775172-fix-expected.png: Removed.
      * platform/gtk/editing/deleting/delete-after-span-ws-001-expected.txt: Removed.
      * platform/gtk/editing/deleting/delete-after-span-ws-002-expected.txt: Removed.
      * platform/gtk/editing/deleting/delete-after-span-ws-003-expected.txt: Removed.
      * platform/gtk/editing/deleting/delete-line-end-ws-001-expected.txt: Removed.
      * platform/gtk/editing/deleting/delete-line-end-ws-002-expected.txt: Removed.
      * platform/gtk/editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable-expected.txt: Removed.
      * platform/gtk/editing/inserting/insert-3851164-fix-expected.png: Removed.
      * platform/gtk/editing/selection/editable-links-expected.txt: Removed.
      * platform/gtk/editing/selection/focus-body-expected.txt: Removed.
      * platform/gtk/editing/selection/select-all-001-expected.txt: Removed.
      * platform/gtk/editing/selection/select-all-002-expected.txt: Removed.
      * platform/gtk/editing/selection/select-all-003-expected.txt: Removed.
      * platform/gtk/editing/selection/select-all-004-expected.txt: Removed.
      * platform/gtk/editing/selection/unrendered-001-expected.txt: Removed.
      * platform/gtk/editing/selection/unrendered-002-expected.txt: Removed.
      * platform/gtk/editing/selection/unrendered-003-expected.txt: Removed.
      * platform/gtk/editing/selection/unrendered-004-expected.txt: Removed.
      * platform/gtk/editing/selection/unrendered-005-expected.txt: Removed.
      * platform/mac/editing/deleting/delete-at-start-or-end-expected.txt: Removed.
      * platform/mac/editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable-expected.txt: Removed.
      * platform/mac/editing/inserting/insert-div-010-expected.txt: Renamed from LayoutTests/editing/inserting/insert-div-010-expected.txt.
      * platform/mac/editing/selection/5195166-1-expected.txt: Removed.
      * platform/mac/editing/style/unbold-in-bold-expected.txt: Renamed from LayoutTests/editing/style/unbold-in-bold-expected.txt.
      * platform/mac/editing/undo/5378473-expected.txt: Removed.
      * platform/mac/editing/undo/undo-misspellings-expected.txt: Removed.
      * platform/mac/editing/unsupported-content/table-delete-001-expected.txt: Removed.
      * platform/mac/editing/unsupported-content/table-delete-003-expected.png: Removed.
      * platform/mac/editing/unsupported-content/table-delete-003-expected.txt: Removed.
      * platform/win-7sp0/editing/selection/collapse-selection-in-bidi-expected.txt: Renamed from LayoutTests/platform/win/editing/selection/collapse-selection-in-bidi-expected.txt.
      * platform/win-7sp0/editing/selection/drag-text-delay-expected.txt: Renamed from LayoutTests/platform/win/editing/selection/drag-text-delay-expected.txt.
      * platform/win-7sp0/editing/selection/extend-selection-home-end-expected.txt: Renamed from LayoutTests/platform/win/editing/selection/extend-selection-home-end-expected.txt.
      * platform/win/editing/deleting/delete-br-002-expected.txt: Removed.
      * platform/win/editing/deleting/delete-br-004-expected.txt: Removed.
      * platform/win/editing/deleting/delete-br-005-expected.txt: Removed.
      * platform/win/editing/deleting/delete-br-006-expected.txt: Removed.
      * platform/win/editing/deleting/delete-br-009-expected.txt: Removed.
      * platform/win/editing/inserting/insert-3800346-fix-expected.txt: Removed.
      * platform/win/editing/selection/anchor-focus2-expected.txt: Removed.
      * platform/win/editing/selection/anchor-focus3-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84d78fe7
    • akling@apple.com's avatar
      Optimize baselines: tables · 02e28fe1
      akling@apple.com authored
      Unreviewed; run "webkit-patch optimize-baselines tables"
      
      * platform/gtk/tables/mozilla/bugs/adforce_imgis_com-expected.txt: Removed.
      * platform/gtk/tables/mozilla/bugs/bug102145-1-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug102145-2-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug102145-3-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug102145-4-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug10269-1-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug10296-2-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug103533-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug11321-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug12908-2-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug13105-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug14159-3-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug149275-2-expected.txt: Removed.
      * platform/gtk/tables/mozilla/bugs/bug1818-6-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug196870-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug222336-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug222467-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug23072-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug23151-expected.txt: Removed.
      * platform/gtk/tables/mozilla/bugs/bug23994-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug26553-expected.txt: Removed.
      * platform/gtk/tables/mozilla/bugs/bug269566-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug27038-3-expected.txt: Removed.
      * platform/gtk/tables/mozilla/bugs/bug275625-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug277062-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug2886-2-expected.txt: Removed.
      * platform/gtk/tables/mozilla/bugs/bug28933-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug3037-1-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug3037-2-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug32447-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug34538-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug56405-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug641-2-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug75250-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug8032-2-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug8361-expected.png: Removed.
      * platform/gtk/tables/mozilla/bugs/bug9024-expected.png: Removed.
      * platform/gtk/tables/mozilla/core/col_widths_fix_autoFixPer-expected.png: Removed.
      * platform/gtk/tables/mozilla/marvin/table_overflow_hidden_td-expected.txt: Removed.
      * platform/gtk/tables/mozilla_expected_failures/bugs/bug128876-expected.png: Removed.
      * platform/gtk/tables/mozilla_expected_failures/bugs/bug178855-expected.png: Removed.
      * platform/gtk/tables/mozilla_expected_failures/bugs/bug3517-expected.png: Removed.
      * platform/gtk/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow-expected.png: Removed.
      * platform/gtk/tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.txt: Removed.
      * platform/gtk/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt: Removed.
      * platform/gtk/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt: Removed.
      * platform/gtk/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell_sibling-expected.txt: Removed.
      * platform/gtk/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug120107-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug1271-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug12908-2-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug12910-2-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug131020-2-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug13169-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug137388-1-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug137388-2-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug137388-3-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug157890-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug1818-3-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug1818-6-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug196870-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug222336-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug222467-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug269566-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug277062-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug28933-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug29314-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug2954-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug50695-2-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug56201-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug8032-2-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug9024-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/bugs/bug92647-2-expected.txt: Removed.
      * platform/mac-mountainlion/tables/mozilla/core/col_widths_fix_autoFixPer-expected.txt: Removed.
      * platform/mac/tables/mozilla/bugs/bug27038-3-expected.txt: Removed.
      * platform/mac/tables/mozilla/core/row_span-expected.txt: Removed.
      * platform/mac/tables/mozilla_expected_failures/bugs/bug131020-3-expected.txt: Removed.
      * platform/win-future/tables/mozilla/core/bloomberg-expected.txt: Renamed from LayoutTests/tables/mozilla/core/bloomberg-expected.txt.
      * platform/win-future/tables/mozilla_expected_failures/collapsing_borders/bug41262-1-expected.txt: Renamed from LayoutTests/tables/mozilla_expected_failures/collapsing_borders/bug41262-1-expected.txt.
      * platform/win/tables/mozilla/bugs/bug133756-1-expected.txt: Removed.
      * platform/win/tables/mozilla/bugs/bug133756-2-expected.txt: Removed.
      * platform/win/tables/mozilla/bugs/bug220536-expected.txt: Removed.
      * platform/win/tables/mozilla/bugs/bug8858-expected.txt: Removed.
      * platform/win/tables/mozilla/core/row_span-expected.txt: Removed.
      * platform/win/tables/mozilla_expected_failures/bugs/bug131020-3-expected.txt: Removed.
      * platform/win/tables/mozilla_expected_failures/bugs/bug65372-expected.txt: Removed.
      * tables/mozilla/bugs/adforce_imgis_com-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/adforce_imgis_com-expected.txt.
      * tables/mozilla/bugs/bug102145-1-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug102145-1-expected.png.
      * tables/mozilla/bugs/bug102145-2-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug102145-2-expected.png.
      * tables/mozilla/bugs/bug102145-3-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug102145-3-expected.png.
      * tables/mozilla/bugs/bug102145-4-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug102145-4-expected.png.
      * tables/mozilla/bugs/bug10269-1-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug10269-1-expected.png.
      * tables/mozilla/bugs/bug10296-2-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug10296-2-expected.png.
      * tables/mozilla/bugs/bug103533-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug103533-expected.png.
      * tables/mozilla/bugs/bug11321-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug11321-expected.png.
      * tables/mozilla/bugs/bug12908-2-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug12908-2-expected.png.
      * tables/mozilla/bugs/bug13105-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug13105-expected.png.
      * tables/mozilla/bugs/bug133756-1-expected.txt: Renamed from LayoutTests/platform/mac/tables/mozilla/bugs/bug133756-1-expected.txt.
      * tables/mozilla/bugs/bug133756-2-expected.txt: Renamed from LayoutTests/platform/mac/tables/mozilla/bugs/bug133756-2-expected.txt.
      * tables/mozilla/bugs/bug14159-3-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug14159-3-expected.png.
      * tables/mozilla/bugs/bug149275-2-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug149275-2-expected.txt.
      * tables/mozilla/bugs/bug1818-6-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug1818-6-expected.png.
      * tables/mozilla/bugs/bug196870-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug196870-expected.png.
      * tables/mozilla/bugs/bug220536-expected.txt: Renamed from LayoutTests/platform/mac/tables/mozilla/bugs/bug220536-expected.txt.
      * tables/mozilla/bugs/bug222336-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug222336-expected.png.
      * tables/mozilla/bugs/bug222467-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug222467-expected.png.
      * tables/mozilla/bugs/bug23072-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug23072-expected.png.
      * tables/mozilla/bugs/bug23151-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug23151-expected.txt.
      * tables/mozilla/bugs/bug23994-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug23994-expected.png.
      * tables/mozilla/bugs/bug26553-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug26553-expected.txt.
      * tables/mozilla/bugs/bug269566-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug269566-expected.png.
      * tables/mozilla/bugs/bug27038-3-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug27038-3-expected.txt.
      * tables/mozilla/bugs/bug275625-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug275625-expected.png.
      * tables/mozilla/bugs/bug277062-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug277062-expected.png.
      * tables/mozilla/bugs/bug2886-2-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug2886-2-expected.txt.
      * tables/mozilla/bugs/bug28933-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug28933-expected.png.
      * tables/mozilla/bugs/bug3037-1-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug3037-1-expected.png.
      * tables/mozilla/bugs/bug3037-2-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug3037-2-expected.png.
      * tables/mozilla/bugs/bug32447-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug32447-expected.png.
      * tables/mozilla/bugs/bug34538-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug34538-expected.png.
      * tables/mozilla/bugs/bug56405-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug56405-expected.png.
      * tables/mozilla/bugs/bug641-2-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug641-2-expected.png.
      * tables/mozilla/bugs/bug75250-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug75250-expected.png.
      * tables/mozilla/bugs/bug8032-2-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug8032-2-expected.png.
      * tables/mozilla/bugs/bug8361-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug8361-expected.png.
      * tables/mozilla/bugs/bug8858-expected.txt: Renamed from LayoutTests/platform/mac/tables/mozilla/bugs/bug8858-expected.txt.
      * tables/mozilla/bugs/bug9024-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/bugs/bug9024-expected.png.
      * tables/mozilla/core/col_widths_fix_autoFixPer-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla/core/col_widths_fix_autoFixPer-expected.png.
      * tables/mozilla/core/row_span-expected.txt:
      * tables/mozilla/marvin/table_overflow_hidden_td-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla/marvin/table_overflow_hidden_td-expected.txt.
      * tables/mozilla_expected_failures/bugs/bug128876-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/bugs/bug128876-expected.png.
      * tables/mozilla_expected_failures/bugs/bug131020-3-expected.txt:
      * tables/mozilla_expected_failures/bugs/bug178855-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/bugs/bug178855-expected.png.
      * tables/mozilla_expected_failures/bugs/bug3517-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/bugs/bug3517-expected.png.
      * tables/mozilla_expected_failures/bugs/bug65372-expected.txt: Renamed from LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug65372-expected.txt.
      * tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow-expected.png: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow-expected.png.
      * tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.txt.
      * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt.
      * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt.
      * tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell_sibling-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell_sibling-expected.txt.
      * tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row-expected.txt: Renamed from LayoutTests/platform/efl/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02e28fe1
    • commit-queue@webkit.org's avatar
      Precision errors in Math.cbrt() on GTK, EFL · 0df37b7b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=123624
      
      Patch by Zan Dobersek <zdobersek@igalia.com> on 2013-11-03
      Reviewed by Csaba Osztrogonác.
      
      Calculate cube roots of 8 and -8, expecting 2 and -2, respectively. Cube roots of those two
      numbers don't contain precision errors on the GTK and EFL ports as is the case with 27 and -27.
      
      * js/math-expected.txt:
      * js/script-tests/math.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0df37b7b
    • akling@apple.com's avatar
      CSSShadowValue constructor should return PassRef. · 197948fe
      akling@apple.com authored
      <https://webkit.org/b/123711>
      
      Make CSSShadowValue::create() return a PassRef since it will never
      return null.
      
      Reviewed by Sam Weinig.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      197948fe
    • akling@apple.com's avatar
      CSSLineBoxContainValue constructor should return PassRef. · ad4f00ab
      akling@apple.com authored
      <https://webkit.org/b/123710>
      
      Make CSSLineBoxContainValue::create() return a PassRef since it
      will never return null.
      
      Reviewed by Sam Weinig.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad4f00ab