1. 29 Oct, 2012 3 commits
  2. 28 Oct, 2012 1 commit
    • tkent@chromium.org's avatar
      [Chromium] Test expectation update · a5728982
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100128
      
      Rebaseline for http://trac.webkit.org/changeset/132718 and crrev.com/164515.
      
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-lion/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-lion/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-mac-lion/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-mac/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5728982
  3. 26 Oct, 2012 10 commits
    • tkent@chromium.org's avatar
      [Chromium] Test expectation update. · 18711a15
      tkent@chromium.org authored
      Rebaseline for recent forms changes.
      
      * platform/chromium-linux/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-mac-lion/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18711a15
    • tony@chromium.org's avatar
      [chromium] Unreviewed, remove one more test that consistently passes according... · bcb3dc0c
      tony@chromium.org authored
      [chromium] Unreviewed, remove one more test that consistently passes according to the flakiness dashboard.
      
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bcb3dc0c
    • tony@chromium.org's avatar
      [chromium] Unreviewed, remove tests that consistently pass. · 250858b8
      tony@chromium.org authored
      * platform/chromium-mac-mountainlion/TestExpectations: Some tests still need 10.8 baselines. Add them to this file.
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      250858b8
    • simon.fraser@apple.com's avatar
      compositing/tiling/huge-layer* flakey · e11e963f
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=48454
      
      Reviewed by Dan Bernstein.
      
      In r131009 I fixed layerTreeAsText() to not be flakey with tiled layers, by ensuring that
      we flush layer state before dumping the layer tree. That makes these tests non-flakey. I was
      also able to remove all the setTimeouts() from these tests.
      
      The 'usingTiledLayer' property is only dumped on Mac, so made cross-platform results without
      this flag, and added Mac-specific results with it.
      
      Unskipped some tests on non-Mac platforms that should now pass.
      
      * compositing/tiling/backface-preserve-3d-tiled-expected.txt:
      * compositing/tiling/crash-reparent-tiled-layer-expected.txt:
      * compositing/tiling/huge-layer-add-remove-child-expected.txt:
      * compositing/tiling/huge-layer-add-remove-child.html: Added.
      * compositing/tiling/huge-layer-add-remove-child.html-disabled: Removed.
      * compositing/tiling/huge-layer-expected.txt:
      * compositing/tiling/huge-layer-img-expected.txt:
      * compositing/tiling/huge-layer-img.html: Renamed from LayoutTests/compositing/tiling/huge-layer-img.html-disabled.
      * compositing/tiling/huge-layer-resize-expected.txt:
      * compositing/tiling/huge-layer-with-layer-children-expected.txt:
      * compositing/tiling/huge-layer-with-layer-children-resize-expected.txt:
      * compositing/tiling/huge-layer-with-layer-children-resize.html: Added.
      * compositing/tiling/huge-layer-with-layer-children-resize.html-disabled: Removed.
      * compositing/tiling/huge-layer-with-layer-children.html: Renamed from LayoutTests/compositing/tiling/huge-layer-with-layer-children.html-disabled.
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/mac/compositing/tiling/backface-preserve-3d-tiled-expected.txt: Copied from LayoutTests/compositing/tiling/backface-preserve-3d-tiled-expected.txt.
      * platform/mac/compositing/tiling/crash-reparent-tiled-layer-expected.txt: Copied from LayoutTests/compositing/tiling/crash-reparent-tiled-layer-expected.txt.
      * platform/mac/compositing/tiling/huge-layer-add-remove-child-expected.txt: Copied from LayoutTests/compositing/tiling/huge-layer-add-remove-child-expected.txt.
      * platform/mac/compositing/tiling/huge-layer-expected.txt: Copied from LayoutTests/compositing/tiling/huge-layer-expected.txt.
      * platform/mac/compositing/tiling/huge-layer-img-expected.txt: Copied from LayoutTests/compositing/tiling/huge-layer-img-expected.txt.
      * platform/mac/compositing/tiling/huge-layer-resize-expected.txt: Copied from LayoutTests/compositing/tiling/huge-layer-resize-expected.txt.
      * platform/mac/compositing/tiling/huge-layer-with-layer-children-expected.txt: Copied from LayoutTests/compositing/tiling/huge-layer-with-layer-children-expected.txt.
      * platform/mac/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt: Copied from LayoutTests/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt.
      * platform/qt-5.0-wk2/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e11e963f
    • thakis@chromium.org's avatar
      [chromium] Enable fast/images/exif-orientation.html · 679d2e98
      thakis@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100534
      
      Unreviewed, TestExpecations change.
      
      The baselines for this test landed yesterday.
      
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      679d2e98
    • tkent@chromium.org's avatar
      [Chromium] Test expectation update. · c4a0552c
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100471
      
      * platform/chromium/TestExpectations:
      We should do rebaseline for time-suggestion-picker-*.html too.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4a0552c
    • tkent@chromium.org's avatar
      Disable ENABLE_INPUT_TYPE_WEEK on Chromium/Android · e8ab7bcf
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100457
      
      Reviewed by Kentaro Hara.
      
      Source/WebKit/chromium:
      
      It was enabled accidentally. Week input is not implemented in
      Android.
      
      * features.gypi: Remove ENABLE_INPUT_TYPE_WEEK=1 in the common block,
      add ENABLE_INPUT_TYPE_WEEK=0 in Android block, and add
      ENABLE_INPUT_TYPE_WEEK=1 in non-Android block.
      
      LayoutTests:
      
      * platform/chromium/TestExpectations:
      Tests in fast/forms/week/ may fail on Android.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e8ab7bcf
    • pfeldman@chromium.org's avatar
      Not reviewed: chromiuim expectations updated. · 5e352dc3
      pfeldman@chromium.org authored
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e352dc3
    • pfeldman@chromium.org's avatar
      Not reviewed: chromiuim expectations updated. · 632f5c8f
      pfeldman@chromium.org authored
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      632f5c8f
    • tkent@chromium.org's avatar
      [Chromium-Win] Support shortTimeFormat · ca169be7
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100471
      
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      No new tests. Covered by fast/forms/time-multiple-fields/ and
      WebKit/chromium/tests/LocaleWinTest.
      
      * platform/text/LocaleWin.cpp:
      (WebCore::LocaleWin::shortTimeFormat):
      Gets a format by LOCALE_SSHORTTIME. If it fails, remove "<delimiter>ss"
      from the format by LOCALE_STIMEFORMAT.
      * platform/text/LocaleWin.h:
      (LocaleWin): Declare m_timeFormatWithoutSeconds.
      
      Source/WebKit/chromium:
      
      * tests/LocaleWinTest.cpp:
      (TEST_F): Update test expectations for the behavior change.
      
      LayoutTests:
      
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png:
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements-expected.png:
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png:
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca169be7
  4. 25 Oct, 2012 8 commits
  5. 24 Oct, 2012 18 commits
    • dbarton@mathscribe.com's avatar
      MathML tests trigger font cache assertions in debug bots · f5637808
      dbarton@mathscribe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100268
      
      Reviewed by Eric Seidel.
      
      Source/WebCore:
      
      Add a FontCachePurgePreventer to fix this.
      
      Tested by existing tests.
      
      * rendering/mathml/RenderMathMLOperator.cpp:
      (WebCore::RenderMathMLOperator::updateFromElement):
      
      LayoutTests:
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132424 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5637808
    • leviw@chromium.org's avatar
      Unreviewed gardening. Chromium revision 163873 also made · 89befbf7
      leviw@chromium.org authored
      platform/chromium/virtual/gpu/fast/canvas/canvas-incremental-repaint.html slow.
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132418 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      89befbf7
    • tony@chromium.org's avatar
      [chromium] Unreviewed, land pixel results on Win/Mac for a new repaint test. · 01e70fb8
      tony@chromium.org authored
      * platform/chromium-mac/css3/flexbox/repaint-during-resize-no-flex-expected.png: Added.
      * platform/chromium-win/css3/flexbox/repaint-during-resize-no-flex-expected.png: Renamed from LayoutTests/platform/chromium-linux/css3/flexbox/repaint-during-resize-no-flex-expected.png.
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132413 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01e70fb8
    • leviw@chromium.org's avatar
      Unreviewed gardening. Marking the software compositing version of · 53d9ab95
      leviw@chromium.org authored
      compositing/tiling/backface-preserve-3d-tiled.html as failing as well.
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      53d9ab95
    • leviw@chromium.org's avatar
      Unreviewed gardening. Marking 2 more mathml tests as flaky crashers on debug. · 8999d7f4
      leviw@chromium.org authored
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8999d7f4
    • leviw@chromium.org's avatar
      Unreviewed gardening. Updating slow expectations for two tests following a Chromium · 73346510
      leviw@chromium.org authored
      change. See https://bugs.webkit.org/show_bug.cgi?id=100287
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132400 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73346510
    • tony@chromium.org's avatar
      Setting width of a flexitem causes the adjacent flex item to be displayed poorly. · 3df826a7
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99925
      
      Reviewed by Ojan Vafai.
      
      Source/WebCore:
      
      Make sure that we always repaint when moving a child. This is similar to what RenderDeprecatedFlexibleBox does.
      
      Test: css3/flexbox/repaint-during-resize-no-flex.html
      
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::RenderFlexibleBox::setFlowAwareLocationForChild): Move logic for repaining into the helper method
      for setting the location of a child.
      (WebCore::RenderFlexibleBox::layoutColumnReverse): Remove code for repaint since it's now in setFlowAwareLocationForChild.
      (WebCore::RenderFlexibleBox::adjustAlignmentForChild): Remove code for repaint since it's now in setFlowAwareLocationForChild.
      
      LayoutTests:
      
      Add a repaint test.  The render tree should be cross platform, but due to
      slight color differences in the grey overlay, the png can't be shared.
      
      * css3/flexbox/repaint-during-resize-no-flex-expected.txt: Added.
      * css3/flexbox/repaint-during-resize-no-flex.html: Added.
      * platform/chromium-linux/css3/flexbox/repaint-during-resize-no-flex-expected.png: Added.
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132395 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3df826a7
    • simon.fraser@apple.com's avatar
      Fix CALayer hiearchy when combining tiling with preserve-3d · 8137f28a
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100205
      
      Reviewed by Dean Jackson.
      
      Source/WebCore:
      
      When an element has "transform-style: preserve-3d", its GraphicsLayerCA has a
      m_structuralLayer which is a CATransformLayer. The primary CALayer which contains rendered
      content becomes a sublayer of the CATransformLayer. If the element has backface-visibility:hidden,
      it is the primary layer that is set to be single-sided.
      
      In r131940 we started to use TileCaches in place of CATiledLayer. TileCaches work via
      "customSublayers" returned from the PlatformCALayer, where the custom sublayer is
      the tile cache container layer. However, the custom sublayers were being added as
      children of the structural (CATransformLayer) layer, not of the primary (CALayer) layer,
      thus they were not affected by the doubleSided property.
      
      This change cleans up the confusing code in GraphicsLayerCA::updateSublayerList()
      by maintaining two vectors of PlatformCALayers, one for sublayers of the structural
      layer, and one for sublayers of the primary layer. It adds custom sublayers to
      the latter list, so now the tile cache container layer becomes a sublayer of
      the primary layer, so is affected by that layer's doubleSided property.
      
      Test: compositing/tiling/backface-preserve-3d-tiled.html
      
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::updateSublayerList):
      
      LayoutTests:
      
      Pixel test that tests backface-visibility on a tile cache layer. Mark the test as
      failing on Chromium.
      
      * compositing/tiling/backface-preserve-3d-tiled-expected.png: Added.
      * compositing/tiling/backface-preserve-3d-tiled-expected.txt: Added.
      * compositing/tiling/backface-preserve-3d-tiled.html: Added.
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132394 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8137f28a
    • leviw@chromium.org's avatar
      Unreviewed gardening. Marking fast/media/w3c/test_media_queries.html as slow on · 8cc43145
      leviw@chromium.org authored
      Chromium debug bots following r132352. It may still timeout...
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132378 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8cc43145
    • fmalita@chromium.org's avatar
      [Chromium] SVG repaint issues · 4898bdae
      fmalita@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99874
      
      Reviewed by Levi Weintraub.
      
      Source/WebCore:
      
      RenderSVGRoot::paintReplaced() converts the container offsets to a relative transform,
      but in doing so it ends up accumulating subpixel rounding deltas twice: first for
      adjustedPaintOffset and second in localToParentTransform(). If coordinates are on
      half-pixel boundaries, the 2x rounding delta yields a full pixel drift and we end up
      painting at the wrong location.
      
      This can be avoided by using localToBorderBoxTransform() directly, which (unlike
      localToParentTransform()) doesn't perform rounding.
      
      No new tests: existing pixel results cover this change after rebaseline.
      
      * rendering/svg/RenderSVGRoot.cpp:
      (WebCore::RenderSVGRoot::paintReplaced):
      
      LayoutTests:
      
      * platform/chromium-linux/svg/zoom/page/zoom-svg-float-border-padding-expected.png:
      * platform/chromium-linux/svg/zoom/text/zoom-svg-float-border-padding-expected.png:
      * platform/chromium-win/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-absolute-expected.png:
      * platform/chromium-win/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-expected.png:
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132377 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4898bdae
    • danakj@chromium.org's avatar
      Layout tests to verify scaled composited layers have crisp text · d7e4233c
      danakj@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96940
      
      Reviewed by Adrienne Walker.
      
      Chromium bug: crbug.com/149943
      
      * compositing/text-on-scaled-layer-expected.html: Added.
      * compositing/text-on-scaled-layer.html: Added.
      * compositing/text-on-scaled-surface-expected.html: Added.
      * compositing/text-on-scaled-surface.html: Added.
      * platform/chromium/TestExpectations:
      * platform/mac/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7e4233c
    • leviw@chromium.org's avatar
      Unreveiewed gardening. Fixing linter, marking 2 mathml tests as flaky crashers on debug, · f854a0ca
      leviw@chromium.org authored
      and adding passing Lion expectations for a third mathml test.
      
      * platform/chromium/TestExpectations:
      * platform/chromium-mac-lion/mathml/presentation/fenced-expected.png: Modified.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f854a0ca
    • dbarton@mathscribe.com's avatar
      [MathML] Timeouts on linux after r132264 · 10e1c2ec
      dbarton@mathscribe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100202
      
      Reviewed by Eric Seidel.
      
      Source/WebCore:
      
      When building a stretched operator, such as a large parenthesis or bracket, we need to
      check that the extension glyph's height is > 0, to avoid an infinite loop. The 0 height
      can occur if the glyph is missing on the host system.
      
      Tested by existing tests.
      
      * rendering/mathml/RenderMathMLOperator.cpp:
      (WebCore::RenderMathMLOperator::updateFromElement):
      
      LayoutTests:
      
      The failing tests no longer timeout.
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10e1c2ec
    • eric.carlson@apple.com's avatar
      Allow ports to override text track rendering style · 68e8da75
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97800
      <rdar://problem/12044964>
      
      Reviewed by Maciej Stachowiak.
      
      Source/WebCore:
      
      * WebCore.exp.in: Export new WebkitSystemInterface functions.
      * WebCore.xcodeproj/project.pbxproj: Add CaptionUserPreferences.h, CaptionUserPreferencesMac.mm,
          and CaptionUserPreferencesMac.h.
      
      * css/mediaControls.css: Rearrange the caption CSS so it is possible to style the cue window,
          background, and text independently.
      
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::HTMLMediaElement): Initialize m_disableCaptions with theme->userPrefersCaptions().
      (WebCore::HTMLMediaElement::attach): Register for caption preferences change callbacks.
      (WebCore::HTMLMediaElement::detach): Unregister for caption preferences change callbacks.
      (WebCore::HTMLMediaElement::userPrefersCaptions): Return theme->userPrefersCaptions().
      (WebCore::HTMLMediaElement::userIsInterestedInThisTrackKind): Consider userPrefersCaptions().
      (WebCore::HTMLMediaElement::setClosedCaptionsVisible): Move the code that marks all tracks as
          un-configured to markCaptionAndSubtitleTracksAsUnconfigured so it can be reused.
      (WebCore::HTMLMediaElement::captionPreferencesChanged): New, force a reevaluation of all text tracks.
      (WebCore::HTMLMediaElement::markCaptionAndSubtitleTracksAsUnconfigured): New, code moved from
          setClosedCaptionsVisible
      * html/HTMLMediaElement.h: Inherit from CaptionPreferencesChangedListener.
      
      * html/shadow/MediaControlElements.cpp:
      (WebCore::MediaControlTextTrackContainerElement::updateSizes): Get rid of unnecessary member
          variable. Get caption font scale from theme instead of hard coding.
      * html/shadow/MediaControlElements.h:
      
      * html/track/TextTrack.cpp:
      (WebCore::TextTrack::TextTrack): Change attributes from String to AtomicString.
      (WebCore::TextTrack::isValidKindKeyword): Ditto.
      (WebCore::TextTrack::setKind): Ditto.
      (WebCore::TextTrack::setMode): Ditto.
      (WebCore::TextTrack::mode): Ditto.
      * html/track/TextTrack.h:
      (WebCore::TextTrack::create): Ditto.
      (WebCore::TextTrack::kind): Ditto.
      (WebCore::TextTrack::label): Ditto.
      (WebCore::TextTrack::setLabel): Ditto.
      (WebCore::TextTrack::language): Ditto.
      (WebCore::TextTrack::setLanguage): Ditto.
      
      * html/track/TextTrackCue.cpp:
      (WebCore::TextTrackCueBox::TextTrackCueBox): Set the shadow pseudo id.
      (WebCore::TextTrackCueBox::textTrackCueBoxShadowPseudoId): New, class method to return the
          shadow pseudo id so it can be used elsewhere.
      (WebCore::TextTrackCueBox::shadowPseudoId): Call textTrackCueBoxShadowPseudoId.
      (WebCore::TextTrackCue::pastNodesShadowPseudoId): New, class method to return the
          shadow pseudo id so it can be used elsewhere.
      (WebCore::TextTrackCue::futureNodesShadowPseudoId): Ditto.
      (WebCore::TextTrackCue::updateDisplayTree):
      * html/track/TextTrackCue.h:
      
      * page/CaptionUserPreferences.h: Added.
      * page/CaptionUserPreferencesMac.h: Added.
      * page/CaptionUserPreferencesMac.mm: Added.
      (WebCore::userCaptionPreferencesChangedNotificationCallback):
      (WebCore::CaptionUserPreferencesMac::CaptionUserPreferencesMac):
      (WebCore::CaptionUserPreferencesMac::~CaptionUserPreferencesMac):
      (WebCore::CaptionUserPreferencesMac::userHasCaptionPreferences): New, passthrough to WKSI function.
      (WebCore::CaptionUserPreferencesMac::userPrefersCaptions): Ditto.
      (WebCore::CaptionUserPreferencesMac::captionsWindowColor): Return Color with user's caption window color preference.
      (WebCore::CaptionUserPreferencesMac::captionsBackgroundColor): Return Color with user's caption
          background color preference.
      (WebCore::CaptionUserPreferencesMac::captionsTextColor): Return Color with user's caption text color preference.
      (WebCore::CaptionUserPreferencesMac::captionsEdgeColorForTextColor): Return Color for text edge effect.
      (WebCore::CaptionUserPreferencesMac::cssPropertyWithTextEdgeColor): Return String with CSS to set a text-shadow
          or webkit-text-stroke property.
      (WebCore::CaptionUserPreferencesMac::cssColorProperty): Return a String with css to set a property
          with a color value.
      (WebCore::CaptionUserPreferencesMac::captionsTextEdgeStyle): Return a String with css to style caption
          text with the user's preferred text edge stye.
      (WebCore::CaptionUserPreferencesMac::captionsDefaultFont): Return a String with css to style caption
          text with the user's preferred font.
      (WebCore::CaptionUserPreferencesMac::captionsStyleSheetOverride): Return a String with css to style captions
          with the user's preferred style.
      (WebCore::CaptionUserPreferencesMac::captionFontSizeScale): Return the user's preferred caption font scale.
      (WebCore::CaptionUserPreferencesMac::captionPreferencesChanged): Notify listeners of caption preference change.
      (WebCore::CaptionUserPreferencesMac::registerForCaptionPreferencesChangedCallbacks): Add a caption preferences
          changes listener.
      (WebCore::CaptionUserPreferencesMac::unregisterForCaptionPreferencesChangedCallbacks): Remove a caption preferences
          changes listener.
      (WebCore::CaptionUserPreferencesMac::updateCaptionStyleSheetOveride): New, if theme has a captions style sheet override,
          inject it into the current page group, otherwise remove injected sheet.
      
      * page/PageGroup.cpp:
      (WebCore::PageGroup::captionPreferences):
      (WebCore::PageGroup::registerForCaptionPreferencesChangedCallbacks): New, passthrough to platform specific function
          of the same name.
      (WebCore::PageGroup::unregisterForCaptionPreferencesChangedCallbacks): Ditto.
      (WebCore::PageGroup::userPrefersCaptions): Ditto.
      (WebCore::PageGroup::userHasCaptionPreferences): Ditto.
      (WebCore::PageGroup::captionFontSizeScale): Ditto.
      * page/PageGroup.h:
      
      * platform/mac/WebCoreSystemInterface.h: Updated.
      * platform/mac/WebCoreSystemInterface.mm: Ditto.
      
      Source/WebKit/mac:
      
      * WebCoreSupport/WebSystemInterface.mm:
      (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
      
      Source/WebKit2:
      
      * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
      (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
      
      WebKitLibraries:
      
      Update WKSI header with SPI for getting the user caption appearance preferences.
      
      * WebKitSystemInterface.h:
      
      LayoutTests:
      
      * media/track/track-cue-rendering-expected.txt: Update results for caption css changes.
      * media/track/track-cue-rendering.html:
      * platform/chromium/TestExpectations: Skip tests that need to be rebaselined.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68e8da75
    • tkent@chromium.org's avatar
      [Chromium] Test expectation update · 23d1c4e8
      tkent@chromium.org authored
      * platform/chromium-win/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23d1c4e8
    • tkent@chromium.org's avatar
      [Chromium] Test expectation update · a60dc3ab
      tkent@chromium.org authored
      * platform/chromium/TestExpectations:
       - exif-orientation-css.html is ImageOnlyFailure.
       - Still need rebaseline for calendar-picker-appearance-step.html on Windows?
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a60dc3ab
    • tkent@chromium.org's avatar
      [Chromium] Rebaseline for r132310. · 6a6fdd92
      tkent@chromium.org authored
      * platform/chromium/TestExpectations:
      * platform/chromium-linux-x86/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png: Removed.
      * platform/chromium-linux-x86/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png: Removed.
      * platform/chromium-linux/fast/forms/date-multiple-fields/date-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-linux/fast/forms/date-multiple-fields/date-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-linux/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-linux/fast/forms/date-multiple-fields/date-multiple-fields-appearance-style-expected.png:
      * platform/chromium-linux/fast/forms/month-multiple-fields/month-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-linux/fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-linux/fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-linux/fast/forms/month-multiple-fields/month-multiple-fields-appearance-style-expected.png:
      * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png:
      * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png:
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-mac-lion/fast/forms/date-multiple-fields/date-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-lion/fast/forms/date-multiple-fields/date-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-mac-lion/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-mac-lion/fast/forms/date-multiple-fields/date-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-lion/fast/forms/month-multiple-fields/month-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-lion/fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-mac-lion/fast/forms/month-multiple-fields/month-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-lion/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-lion/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-lion/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-lion/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-lion/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/date-multiple-fields/date-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/date-multiple-fields/date-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/date-multiple-fields/date-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/month-multiple-fields/month-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/month-multiple-fields/month-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-mac/fast/forms/date-multiple-fields/date-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-mac/fast/forms/date-multiple-fields/date-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac/fast/forms/month-multiple-fields/month-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac/fast/forms/month-multiple-fields/month-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-win-xp/fast/forms/date-multiple-fields/date-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-win-xp/fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-win-xp/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png: Removed.
      * platform/chromium-win-xp/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png: Removed.
      * platform/chromium-win/fast/forms/date-multiple-fields/date-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-win/fast/forms/date-multiple-fields/date-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-win/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-win/fast/forms/date-multiple-fields/date-multiple-fields-appearance-style-expected.png:
      * platform/chromium-win/fast/forms/month-multiple-fields/month-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-win/fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-win/fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-win/fast/forms/month-multiple-fields/month-multiple-fields-appearance-style-expected.png:
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png:
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png:
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a6fdd92
    • dbarton@mathscribe.com's avatar
      Unreviewed gardening. Some linux MathML tests are timing out - see webkit.org/b/100202. · f0f7ca92
      dbarton@mathscribe.com authored
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0f7ca92