1. 19 Feb, 2012 14 commits
    • jamesr@google.com's avatar
      Unreviewed, rolling out r108195. · 2e42674d
      jamesr@google.com authored
      http://trac.webkit.org/changeset/108195
      https://bugs.webkit.org/show_bug.cgi?id=77700
      
      Lots of failing ASSERT()s on v8 bots, requested by kling on
      #webkit
      
      Source/WebCore:
      
      * bindings/js/JSCSSValueCustom.cpp:
      (WebCore::toJS):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeader):
      
      LayoutTests:
      
      * fast/css/css-value-wrapper-sameness-expected.txt: Removed.
      * fast/css/css-value-wrapper-sameness.html: Removed.
      * fast/dom/StyleSheet/gc-inline-style-cssvalues-expected.txt: Added.
      * fast/dom/StyleSheet/gc-inline-style-cssvalues.html: Added.
      * fast/dom/domListEnumeration-expected.txt:
      * fast/dom/gc-9-expected.txt:
      * fast/dom/gc-9.html:
      * fast/dom/script-tests/domListEnumeration.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108200 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e42674d
    • haraken@chromium.org's avatar
      Rename [CheckAccessToNode] to [CheckSecurityForNode] · 1a12b083
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78991
      
      Reviewed by Adam Barth.
      
      For naming consistency with [CheckSecurity], this patch renames
      [CheckAccessToNode] to [CheckSecurityForNode].
      
      No tests. No change in behavior.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateNormalAttrGetter):
      (GenerateFunctionCallback):
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore):
      * html/HTMLEmbedElement.idl:
      * html/HTMLFrameElement.idl:
      * html/HTMLIFrameElement.idl:
      * html/HTMLObjectElement.idl:
      * page/DOMWindow.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108199 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a12b083
    • jamesr@google.com's avatar
      Sort WebCore XCode project files with sort-Xcode-project-files script. Unreviewed. · 18c63460
      jamesr@google.com authored
      * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18c63460
    • robert@webkit.org's avatar
      Update expectations for test results changed by r108185 · cab34be3
      robert@webkit.org authored
      The bots only check text results.
      
      Unreviewed.
      
      * platform/gtk/test_expectations.txt:
      * platform/mac/test_expectations.txt:
      * platform/qt/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cab34be3
    • kling@webkit.org's avatar
      Make CSSValue wrapper getters return unique objects every time. · 19aa1729
      kling@webkit.org authored
      <http://webkit.org/b/77700>
      
      Reviewed by Antti Koivisto.
      
      Source/WebCore: 
      
      Change the behavior of CSSValue getters to return unique JS wrappers every
      time they are called. This means we no longer have to deal with the risk
      of leaking custom properties between unrelated documents, and are free to
      implement global value sharing across WebCore.
      
      This patch will be followed by one making CSSValuePool globally shared,
      it's done in two steps to monitor the impact of this change.
      
      * bindings/js/JSCSSValueCustom.cpp:
      (WebCore::toJS):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeader):
      (IsCSSValueType):
      
      LayoutTests: 
      
      * fast/css/css-value-wrapper-sameness-expected.txt: Added.
      * fast/css/css-value-wrapper-sameness.html: Added.
      * fast/dom/StyleSheet/gc-inline-style-cssvalues-expected.txt: Removed.
      * fast/dom/StyleSheet/gc-inline-style-cssvalues.html: Removed.
      * fast/dom/domListEnumeration-expected.txt:
      * fast/dom/gc-9-expected.txt:
      * fast/dom/gc-9.html:
      * fast/dom/script-tests/domListEnumeration.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108195 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19aa1729
    • inferno@chromium.org's avatar
      Crash in RenderBlock::splitAnonymousBlocksAroundChild. · 8cdedf3b
      inferno@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78994
      
      Reviewed by Eric Seidel.
      
      Source/WebCore:
      
      Generalize splitTablePartsAroundChild to handle splitting
      in nested tables.
      Table->Table Section->Table Row->Table Cell->Table->Table Section->Table Row
      
      Test: fast/table/table-split-inside-table.html
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::splitTablePartsAroundChild):
      
      LayoutTests:
      
      * fast/table/table-split-inside-table-expected.txt: Added.
      * fast/table/table-split-inside-table.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108194 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8cdedf3b
    • kov@webkit.org's avatar
      Unreviewed. Remove gsettings schema from EXTRA_DIST. · 034884fe
      kov@webkit.org authored
      * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108193 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      034884fe
    • commit-queue@webkit.org's avatar
      [EFL] Use modifier keys to execute pre-rendering. · 5c038ce0
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77933
      
      Patch by JungJik Lee <jungjik.lee@samsung.com> on 2012-02-19
      Reviewed by Chang Shu.
      
      Use modifier key to execute pre-rendering instead of using reserved function keys.
      
      * EWebLauncher/main.c:
      (on_key_down):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108192 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c038ce0
    • commit-queue@webkit.org's avatar
      [GTK] Fix build on platforms where UChar is wchar_t · 79b61655
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78996
      
      Patch by Kalev Lember <kalevlember@gmail.com> on 2012-02-19
      Reviewed by Martin Robinson.
      
      The ICU backend defines UChar as wchar_t for platforms where wchar_t is
      16 bits wide, e.g. win32.
      
      * platform/graphics/pango/FontPango.cpp:
      (WebCore::utf16ToUtf8): Use reinterpret_cast instead of static_cast.
      * platform/gtk/GtkPopupMenu.cpp:
      (WebCore::GtkPopupMenu::typeAheadFind): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79b61655
    • kov@webkit.org's avatar
      [GTK] Remove unused GSettings stuff · 6a3695b2
      kov@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78995
      
      Reviewed by Martin Robinson.
      
      .:
      
      * configure.ac: remove gsettings schema file creation.
      
      Source/WebKit/gtk:
      
      * GNUmakefile.am: remove GSettings-related stuff.
      * WebCoreSupport/InspectorClientGtk.cpp:
      (WebKit): Remove unused code.
      * org.webkitgtk.gschema.xml.in: Removed.
      * webkit/webkitwebinspector.cpp:
      (webkit_web_inspector_execute_script): remove gsettings-related helper.
      * webkit/webkitwebinspectorprivate.h: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108190 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a3695b2
    • rniwa@webkit.org's avatar
      Perf-o-matic should show both WebKit and Chromium revisions · 03e59868
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78955
      
      Reviewed by Andreas Kling.
      
      Include Chromium revision numbers in runs responses when available.
      
      * Websites/webkit-perf.appspot.com/js/config.js:
      (urlForChangeset):
      (urlForChangesetList):
      * Websites/webkit-perf.appspot.com/runs_handler.py:
      (RunsHandler.post):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03e59868
    • carlosgc@webkit.org's avatar
      Unreviewed. Fix make distcheck issues. · 439d83fb
      carlosgc@webkit.org authored
      Source/JavaScriptCore:
      
      * GNUmakefile.list.am: Add missing files.
      
      Source/WebCore:
      
      * GNUmakefile.list.am: Add missing header.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      439d83fb
    • robert@webkit.org's avatar
      Chromium results for r108185 · 65ae6f95
      robert@webkit.org authored
      Unreviewed gardening.
      
      * platform/chromium-linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.png.
      * platform/chromium-linux/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.png.
      * platform/chromium-linux/fast/css/relative-positioned-block-nested-with-inline-parent-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-expected.png.
      * platform/chromium-linux/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.png.
      * platform/chromium-linux/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.png.
      * platform/chromium-linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.png.
      * platform/chromium-linux/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.png.
      * platform/chromium-linux/fast/css/relative-positioned-block-with-inline-ancestor-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-expected.png.
      * platform/chromium-linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.png.
      * platform/chromium-linux/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.png.
      * platform/chromium-linux/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.png: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.png.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.txt: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.txt: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-nested-with-inline-parent-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-nested-with-inline-parent-expected.txt: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.txt: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.txt: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.txt: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.txt: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-ancestor-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-ancestor-expected.txt: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.txt: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.txt: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.txt: Added.
      * platform/chromium-mac-snowleopard/fast/encoding/utf-16-big-endian-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/fast/encoding/utf-16-big-endian-expected.png.
      * platform/chromium-mac-snowleopard/fast/encoding/utf-16-little-endian-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/fast/encoding/utf-16-little-endian-expected.png.
      * platform/chromium-mac-snowleopard/fast/inline/continuation-outlines-with-layers-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/inline/continuation-outlines-with-layers-expected.png.
      * platform/chromium-mac-snowleopard/fast/repaint/transform-absolute-in-positioned-container-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/repaint/transform-absolute-in-positioned-container-expected.txt: Added.
      * platform/chromium-mac/fast/encoding/utf-16-big-endian-expected.png: Removed.
      * platform/chromium-mac/fast/encoding/utf-16-little-endian-expected.png: Removed.
      * platform/chromium-win/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.png: Added.
      * platform/chromium-win/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.txt.
      * platform/chromium-win/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.png: Added.
      * platform/chromium-win/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.txt.
      * platform/chromium-win/fast/css/relative-positioned-block-nested-with-inline-parent-expected.png: Added.
      * platform/chromium-win/fast/css/relative-positioned-block-nested-with-inline-parent-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-expected.txt.
      * platform/chromium-win/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.png: Added.
      * platform/chromium-win/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.txt.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.png: Added.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.txt.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.png: Added.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.txt.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.png: Added.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.txt.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-ancestor-expected.png: Added.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-ancestor-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-expected.txt.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.png: Added.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.txt.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.png: Added.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.txt.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.png: Added.
      * platform/chromium-win/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.txt: Renamed from LayoutTests/platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.txt.
      * platform/chromium-win/fast/encoding/utf-16-big-endian-expected.png:
      * platform/chromium-win/fast/encoding/utf-16-little-endian-expected.png:
      * platform/chromium-win/fast/inline/continuation-outlines-with-layers-expected.png:
      * platform/chromium-win/fast/repaint/transform-absolute-in-positioned-container-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108186 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65ae6f95
    • robert@webkit.org's avatar
      CSS 2.1 failure: inline-box-002.htm fails · 6722a652
      robert@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=69210
      
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      Tests: css2.1/20110323/dynamic-top-change-005.htm
             css2.1/20110323/dynamic-top-change-005a.htm
             css2.1/20110323/dynamic-top-change-005b.htm
             css2.1/20110323/inline-box-002.htm
             fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed.html
             fast/css/relative-positioned-block-nested-with-inline-parent-dynamic.html
             fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic.html
             fast/css/relative-positioned-block-nested-with-inline-parent.html
             fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic.html
             fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed.html
             fast/css/relative-positioned-block-with-inline-ancestor-dynamic.html
             fast/css/relative-positioned-block-with-inline-ancestor.html
             fast/css/relative-positioned-block-with-inline-parent-dynamic-removed.html
             fast/css/relative-positioned-block-with-inline-parent-dynamic.html
             fast/css/relative-positioned-block-with-inline-parent-keeps-style.html
             fast/css/relative-positioned-block-with-inline-parent.html
      
      A block within an inline is affected by relative positioning on the inline box. Give
      the anonymous block containing the block a layer and make it relative positioned. Then
      calculate the offset of the anonymous block's layer by accumulating the offsets from its
      inline continuation and the inline continuation's inline parents.
      If the position of an inline changes from or to relative positioned then ensure that any
      descendant blocks update their position and layer accordingly.
      
      * rendering/RenderBoxModelObject.cpp:
      (): add an enum RelPosAxis
      (WebCore::accumulateRelativePositionOffsets):
      Total up the offsets of all relatively positioned inlines that are de-facto parents of the relatively
      positioned anonymous block's child block.
      
      (WebCore):
      (WebCore::RenderBoxModelObject::relativePositionOffsetX):
      Use accumulateRelativePositionOffsets when calculating the relative position offset of a relatively positioned anonymous block.
      
      (WebCore::RenderBoxModelObject::relativePositionOffsetY): ditto
      
      * rendering/RenderInline.cpp:
      (WebCore::hasRelPositionedInlineAncestor):
      Detects if the anonymous block contains a block that is the de-facto descendant of a relatively positioned inline.
      
      (WebCore::updateStyleOfAnonymousBlockContinuations):
      Update the style's positioning for each anonymous block containing a block that is descendant from the inline whose style has changed.
      
      (WebCore::RenderInline::styleDidChange):
      If an inline changes to or from relative positioning ensure that any descendant blocks change to or from relative positioning
      as well, unless they still have a relatively positioned ancestor after the current ancestor loses its relative positioning.
      
      (WebCore::RenderInline::addChildIgnoringContinuation):
      If the anonymous block contains a block that is effectively descended from a relatively positioned inline, make it relatively
      positioned so the block will respect its inline ancestor's relative positioning.
      
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::propagateStyleToAnonymousChildren):
      Preserve style position in anonymous block continuations when the parent block propagates a style change.
      
      LayoutTests:
      
      * css2.1/20110323/dynamic-top-change-005-expected.html: Added.
      * css2.1/20110323/dynamic-top-change-005.htm: Added.
      * css2.1/20110323/dynamic-top-change-005a-expected.html: Added.
      * css2.1/20110323/dynamic-top-change-005a.htm: Added.
      * css2.1/20110323/dynamic-top-change-005b-expected.html: Added.
      * css2.1/20110323/dynamic-top-change-005b.htm: Added.
      * css2.1/20110323/inline-box-002-expected.html: Added.
      * css2.1/20110323/inline-box-002.htm: Added.
      * fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed.html: Added.
      * fast/css/relative-positioned-block-nested-with-inline-parent-dynamic.html: Added.
      * fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic.html: Added.
      * fast/css/relative-positioned-block-nested-with-inline-parent.html: Added.
      * fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic.html: Added.
      * fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed.html: Added.
      * fast/css/relative-positioned-block-with-inline-ancestor-dynamic.html: Added.
      * fast/css/relative-positioned-block-with-inline-ancestor.html: Added.
      * fast/css/relative-positioned-block-with-inline-parent-dynamic-removed.html: Added.
      * fast/css/relative-positioned-block-with-inline-parent-dynamic.html: Added.
      * fast/css/relative-positioned-block-with-inline-parent-expected.html: Added.
      * fast/css/relative-positioned-block-with-inline-parent-keeps-style.html: Added.
      * fast/css/relative-positioned-block-with-inline-parent.html: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.png: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-expected.txt: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.png: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed-expected.txt: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-expected.png: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-expected.txt: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.png: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic-expected.txt: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.png: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic-expected.txt: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.png: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-expected.txt: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.png: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed-expected.txt: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-expected.png: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-ancestor-expected.txt: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.png: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-parent-dynamic-expected.txt: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.png: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed-expected.txt: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.png: Added.
      * platform/chromium-linux-x86/fast/css/relative-positioned-block-with-inline-parent-keeps-style-expected.txt: Added.
      * platform/chromium-linux/fast/encoding/utf-16-big-endian-expected.png:
      * platform/chromium-linux/fast/encoding/utf-16-little-endian-expected.png:
      * platform/chromium-linux/fast/inline/continuation-outlines-with-layers-2-expected.txt:
      * platform/chromium-linux/fast/inline/continuation-outlines-with-layers-expected.png:
      * platform/chromium-linux/fast/repaint/transform-absolute-in-positioned-container-expected.png:
      * platform/chromium-win/fast/encoding/utf-16-big-endian-expected.txt:
      * platform/chromium-win/fast/encoding/utf-16-little-endian-expected.txt:
      * platform/chromium-win/fast/inline/continuation-outlines-with-layers-expected.txt:
      * platform/chromium-win/fast/repaint/transform-absolute-in-positioned-container-expected.txt:
      * platform/chromium/test_expectations.txt: Suppress existing tests until results rebaselined.
      * platform/gtk/test_expectations.txt: ditto
      * platform/mac/test_expectations.txt: ditto
      * platform/qt/test_expectations.txt: ditto
      * platform/win/Skipped: ditto
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108185 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6722a652
  2. 18 Feb, 2012 26 commits