[Qt] Pixel tests need rebaseline
https://bugs.webkit.org/show_bug.cgi?id=99323

Unreviewed pixel rebase.

Part 4.
Rebaseline pixel results in first part of fast (backgrounds, block, borders,
box-shadow, css). All of these tests producing correct results, only the expectations
were outdated. Most of the differenes was not detectable by looking at the expected
and actual results, only ImageDiff sees the difference.

* platform/qt/fast/backgrounds/background-inherit-color-bug-expected.png:
* platform/qt/fast/backgrounds/background-position-parsing-expected.png:
* platform/qt/fast/backgrounds/body-generated-image-propagated-to-root-expected.png:
* platform/qt/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png:
* platform/qt/fast/backgrounds/repeat/negative-offset-repeat-expected.png:
* platform/qt/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
* platform/qt/fast/backgrounds/size/backgroundSize15-expected.png:
* platform/qt/fast/backgrounds/size/backgroundSize16-expected.png:
* platform/qt/fast/backgrounds/size/contain-and-cover-expected.png: Added.
* platform/qt/fast/backgrounds/size/contain-and-cover-zoomed-expected.png:
* platform/qt/fast/block/basic/adding-near-anonymous-block-expected.png:
* platform/qt/fast/block/basic/truncation-rtl-expected.png:
* platform/qt/fast/block/float/002-expected.png:
* platform/qt/fast/block/float/020-expected.png:
* platform/qt/fast/block/float/centered-float-avoidance-complexity-expected.png:
* platform/qt/fast/block/float/float-in-float-painting-expected.png:
* platform/qt/fast/block/float/intruding-painted-twice-expected.png:
* platform/qt/fast/block/float/nopaint-after-layer-destruction-expected.png:
* platform/qt/fast/block/float/nopaint-after-layer-destruction2-expected.png:
* platform/qt/fast/block/float/table-relayout-expected.png:
* platform/qt/fast/block/float/vertical-move-relayout-expected.png:
* platform/qt/fast/block/margin-collapse/055-expected.png:
* platform/qt/fast/block/positioning/absolute-in-inline-ltr-3-expected.png:
* platform/qt/fast/block/positioning/absolute-in-inline-short-ltr-expected.png:
* platform/qt/fast/block/positioning/absolute-in-inline-short-rtl-expected.png:
* platform/qt/fast/block/positioning/auto/007-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/007-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/007-expected.png:
* platform/qt/fast/borders/border-image-01-expected.png:
* platform/qt/fast/borders/border-image-border-radius-expected.png:
* platform/qt/fast/borders/border-image-longhand-expected.png:
* platform/qt/fast/borders/border-image-massive-scale-expected.png:
* platform/qt/fast/borders/border-image-outset-expected.png:
* platform/qt/fast/borders/border-image-outset-in-shorthand-expected.png:
* platform/qt/fast/borders/border-image-repeat-expected.png:
* platform/qt/fast/borders/border-image-rotate-transform-expected.png:
* platform/qt/fast/borders/border-image-scale-transform-expected.png:
* platform/qt/fast/borders/border-image-scaled-expected.png:
* platform/qt/fast/borders/border-image-scrambled-expected.png:
* platform/qt/fast/borders/border-image-side-reduction-expected.png:
* platform/qt/fast/borders/border-image-source-expected.png:
* platform/qt/fast/borders/border-mixed-alpha-expected.png:
* platform/qt/fast/borders/border-radius-complex-inner-expected.png:
* platform/qt/fast/borders/border-radius-different-width-001-expected.png:
* platform/qt/fast/borders/rtl-border-01-expected.png:
* platform/qt/fast/borders/rtl-border-02-expected.png:
* platform/qt/fast/borders/rtl-border-03-expected.png:
* platform/qt/fast/borders/rtl-border-04-expected.png:
* platform/qt/fast/box-shadow/spread-expected.png:
* platform/qt/fast/canvas/arc360-expected.png:
* platform/qt/fast/canvas/canvas-before-css-expected.png:
* platform/qt/fast/canvas/canvas-composite-expected.png:
* platform/qt/fast/canvas/canvas-text-alignment-expected.png:
* platform/qt/fast/canvas/canvas-text-baseline-expected.png:
* platform/qt/fast/canvas/canvasDrawingIntoSelf-expected.png:
* platform/qt/fast/canvas/check-stale-putImageData-expected.png: Added.
* platform/qt/fast/canvas/drawImage-expected.png:
* platform/qt/fast/canvas/drawImage-with-globalAlpha-expected.png:
* platform/qt/fast/canvas/fill-stroke-clip-reset-path-expected.png:
* platform/qt/fast/canvas/fillrect-gradient-zero-stops-expected.png:
* platform/qt/fast/canvas/fillrect_gradient-expected.png:
* platform/qt/fast/canvas/image-object-in-canvas-expected.png:
* platform/qt/fast/canvas/patternfill-repeat-expected.png:
* platform/qt/fast/canvas/quadraticCurveTo-expected.png:
* platform/qt/fast/canvas/shadow-offset-1-expected.png:
* platform/qt/fast/canvas/shadow-offset-2-expected.png:
* platform/qt/fast/canvas/shadow-offset-3-expected.png:
* platform/qt/fast/canvas/shadow-offset-4-expected.png:
* platform/qt/fast/canvas/shadow-offset-5-expected.png:
* platform/qt/fast/canvas/shadow-offset-6-expected.png:
* platform/qt/fast/canvas/shadow-offset-7-expected.png:
* platform/qt/fast/canvas/zero-size-fill-rect-expected.png:
* platform/qt/fast/css/absolute-child-with-percent-height-inside-relative-parent-expected.png:
* platform/qt/fast/css/acid2-expected.png:
* platform/qt/fast/css/clip-zooming-expected.png:
* platform/qt/fast/css/css1_forward_compatible_parsing-expected.png:
* platform/qt/fast/css/css2-system-fonts-expected.png:
* platform/qt/fast/css/empty-pseudo-class-expected.png:
* platform/qt/fast/css/find-next-layer-expected.png:
* platform/qt/fast/css/first-child-pseudo-class-expected.png:
* platform/qt/fast/css/first-letter-capitalized-expected.png:
* platform/qt/fast/css/first-letter-detach-expected.png:
* platform/qt/fast/css/first-letter-hover-expected.png:
* platform/qt/fast/css/first-line-text-decoration-expected.png:
* platform/qt/fast/css/first-line-text-decoration-inherited-from-parent-expected.png:
* platform/qt/fast/css/first-of-type-pseudo-class-expected.png:
* platform/qt/fast/css/focus-ring-multiline-expected.png:
* platform/qt/fast/css/font-face-opentype-expected.png:
* platform/qt/fast/css/font-face-synthetic-bold-italic-expected.png:
* platform/qt/fast/css/font-face-weight-matching-expected.png:
* platform/qt/fast/css/font-shorthand-weight-only-expected.png:
* platform/qt/fast/css/hover-subselector-expected.png:
* platform/qt/fast/css/hsl-color-expected.png:
* platform/qt/fast/css/last-child-pseudo-class-expected.png:
* platform/qt/fast/css/last-of-type-pseudo-class-expected.png:
* platform/qt/fast/css/line-height-font-order-expected.png:
* platform/qt/fast/css/margin-top-bottom-dynamic-expected.png:
* platform/qt/fast/css/min-width-with-spanned-cell-expected.png: Added.
* platform/qt/fast/css/min-width-with-spanned-cell-fixed-expected.png: Added.
* platform/qt/fast/css/nth-child-dynamic-expected.png:
* platform/qt/fast/css/only-child-pseudo-class-expected.png:
* platform/qt/fast/css/only-of-type-pseudo-class-expected.png:
* platform/qt/fast/css/outline-auto-empty-rects-expected.png:
* platform/qt/fast/css/outline-auto-location-expected.png:
* platform/qt/fast/css/percent-top-value-with-relative-position-expected.png:
* platform/qt/fast/css/text-rendering-expected.png:
* platform/qt/fast/css/universal-hover-quirk-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: inspector/styles/styles-history.html is failing Text on Windows and Linux
https://bugs.webkit.org/show_bug.cgi?id=99519

Reviewed by Alexander Pavlov.

Source/WebCore:

Extracted _styleContentSet callback in a class method to make it sniffable by tests.

* inspector/front-end/StylesSourceMapping.js:
(WebInspector.StyleFile.prototype._commitIncrementalEdit):
(WebInspector.StyleFile.prototype._styleContentSet):

LayoutTests:

* inspector/styles/styles-history.html:
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Rename EflViewportHandler to PageViewportControllerClientEfl
https://bugs.webkit.org/show_bug.cgi?id=99101

Patch by Yael Aharon <yael.aharon@intel.com> on 2012-10-19
Reviewed by Gyuyoung Kim.

Rename EFlViewportHandler to PageViewportControllerClientEfl.
Also, make it inherit from PageViewportControllerClient. The actual implementation
of PageViewportControllerClient for Efl port will come in a separate patch.

* CMakeLists.txt:
* PlatformEfl.cmake:
* UIProcess/API/efl/EflViewportHandler.cpp: Removed.
* UIProcess/API/efl/EflViewportHandler.h: Removed.
* UIProcess/API/efl/PageViewportControllerClientEfl.cpp: Copied from Source/WebKit2/UIProcess/API/efl/EflViewportHandler.cpp.
(WebKit::PageViewportControllerClientEfl::PageViewportControllerClientEfl):
(WebKit::PageViewportControllerClientEfl::~PageViewportControllerClientEfl):
(WebKit::PageViewportControllerClientEfl::drawingArea):
(WebKit::PageViewportControllerClientEfl::setRendererActive):
(WebKit::PageViewportControllerClientEfl::display):
(WebKit::PageViewportControllerClientEfl::updateViewportSize):
(WebKit::PageViewportControllerClientEfl::setVisibleContentsRect):
(WebKit::PageViewportControllerClientEfl::didChangeContentsSize):
(WebKit):
(WebKit::PageViewportControllerClientEfl::setViewportPosition):
(WebKit::PageViewportControllerClientEfl::setContentsScale):
(WebKit::PageViewportControllerClientEfl::didResumeContent):
(WebKit::PageViewportControllerClientEfl::didChangeVisibleContents):
(WebKit::PageViewportControllerClientEfl::didChangeViewportAttributes):
(WebKit::PageViewportControllerClientEfl::setController):
* UIProcess/API/efl/PageViewportControllerClientEfl.h: Copied from Source/WebKit2/UIProcess/API/efl/EflViewportHandler.h.
(WebKit::PageViewportControllerClientEfl::create):
(PageViewportControllerClientEfl):
* UIProcess/API/efl/ewk_view.cpp:
(Ewk_View_Private_Data):
(_ewk_view_initialize):
(ewk_view_scale_set):
* UIProcess/PageViewportController.cpp:
* UIProcess/PageViewportController.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131896 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed buildfix, use C-style comment instead of C++

* wtf/Platform.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Use Localizer::monthFormat to construct input[type=month] UI
https://bugs.webkit.org/show_bug.cgi?id=99818

Reviewed by Kentaro Hara.

Source/WebCore:

Use an LDML format returned by Localizer::monthFormat for
input[type=month] UI.

Because the format may contain symbolic month names and symbolic
stand-alone month names, we need to add:
 - Symbolic/numeric detection in DateTimeEditBuilder
 - Normal/stand-alone detection in DateTimeEditBuilder
 - Symbolic edit field for months

Test: fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n.html,
      fast/forms/month-multiple-fields/month-multiple-fields-keyboard-events.html

* html/MonthInputType.cpp:
(WebCore::MonthInputType::setupLayoutParameters):
Use Localizer::monthFormat.

* html/shadow/DateTimeEditElement.cpp:
(WebCore::DateTimeEditBuilder::visitField):
- If the number of continuous field character is greater than 2, use
DateTimeSymbolicMonthFieldElement.
- Supports stand-alone month field.

* html/shadow/DateTimeFieldElements.h:
(DateTimeSymbolicMonthFieldElement): Added. A subclass of DateTimeSymbolicFieldElement.
* html/shadow/DateTimeFieldElements.cpp:
(WebCore::DateTimeSymbolicMonthFieldElement::DateTimeSymbolicMonthFieldElement):
Added.
(WebCore::DateTimeSymbolicMonthFieldElement::create): Added.
(WebCore::DateTimeSymbolicMonthFieldElement::populateDateTimeFieldsState):
We need to add 1 because the internal integer representation is 0-based
and DateTimeFieldsState uses 1-based month.
(WebCore::DateTimeSymbolicMonthFieldElement::setValueAsDate):
DateComponents::month is 0-based.
(WebCore::DateTimeSymbolicMonthFieldElement::setValueAsDateTimeFieldsState):
We need to subtract 1 because the internal integer representation is 0-based
and DateTimeFieldsState uses 1-based month.

* html/shadow/DateTimeSymbolicFieldElement.h:
(WebCore::DateTimeSymbolicFieldElement::symbolsSize):
Added for DateTimeSymbolicMonthFieldElement::setValueAsDateTimeFieldsState.

LayoutTests:

* fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n-expected.txt: Added.
* fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n.html: Added.
* fast/forms/month-multiple-fields/month-multiple-fields-keyboard-events-expected.txt:
* fast/forms/month-multiple-fields/month-multiple-fields-keyboard-events.html:
Updated because symbolic month fields don't support digit-key input.
* 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-l10n-expected.png: Added.
* platform/chromium-mac/fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-classes-expected.png:
* platform/chromium-mac/fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-elements-expected.png:
* platform/chromium-mac/fast/forms/month-multiple-fields/month-multiple-fields-appearance-style-expected.png:
* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Pixel tests need rebaseline
https://bugs.webkit.org/show_bug.cgi?id=99323

Unreviewed pixel rebaseline.

Part 5.
Rebaseline pixel results the rest of the fast directory.
All of these tests producing correct results, only the expectations
were outdated. Most of the differenes was not detectable by looking
at the expected and actual results, only ImageDiff sees the difference.

* platform/qt/fast/dom/Element/class-attribute-whitespace-expected.png:
* platform/qt/fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.png:
* platform/qt/fast/dom/children-nodes-expected.png:
* platform/qt/fast/dom/clone-node-dynamic-style-expected.png:
* platform/qt/fast/dynamic/create-renderer-for-whitespace-only-text-expected.png:
* platform/qt/fast/dynamic/float-in-trailing-whitespace-after-last-line-break-expected.png:
* platform/qt/fast/dynamic/insert-before-table-part-in-continuation-expected.png:
* platform/qt/fast/dynamic/selection-highlight-adjust-expected.png:
* platform/qt/fast/dynamic/staticY-marking-parents-regression-expected.png:
* platform/qt/fast/dynamic/window-resize-scrollbars-test-expected.png:
* platform/qt/fast/events/pointer-events-2-expected.png:
* platform/qt/fast/forms/listbox-scrollbar-incremental-load-expected.png:
* platform/qt/fast/forms/select-change-listbox-size-expected.png:
* platform/qt/fast/images/color-jpeg-with-color-profile-expected.png:
* platform/qt/fast/images/imagemap-focus-ring-zero-outline-width-expected.png:
* platform/qt/fast/inline/br-text-decoration-expected.png:
* platform/qt/fast/inline/continuation-outlines-expected.png:
* platform/qt/fast/inline/inline-borders-with-bidi-override-expected.png:
* platform/qt/fast/inline/inline-box-background-expected.png:
* platform/qt/fast/inline/inline-box-background-long-image-expected.png:
* platform/qt/fast/inline/inline-box-background-repeat-x-expected.png:
* platform/qt/fast/inline/inline-box-background-repeat-y-expected.png:
* platform/qt/fast/layers/normal-flow-hit-test-expected.png:
* platform/qt/fast/layers/opacity-outline-expected.png:
* platform/qt/fast/layers/scroll-rect-to-visible-expected.png:
* platform/qt/fast/line-grid/line-grid-contains-value-expected.png:
* platform/qt/fast/line-grid/line-grid-inside-columns-expected.png:
* platform/qt/fast/line-grid/line-grid-into-columns-expected.png:
* platform/qt/fast/lists/003-expected.png:
* platform/qt/fast/lists/003-vertical-expected.png:
* platform/qt/fast/lists/marker-before-empty-inline-expected.png:
* platform/qt/fast/lists/marker-image-error-expected.png:
* platform/qt/fast/lists/markers-in-selection-expected.png:
* platform/qt/fast/lists/ordered-list-with-no-ol-tag-expected.png:
* platform/qt/fast/lists/scrolled-marker-paint-expected.png:
* platform/qt/fast/multicol/column-rules-expected.png:
* platform/qt/fast/multicol/column-rules-stacking-expected.png:
* platform/qt/fast/multicol/columns-shorthand-parsing-expected.png:
* platform/qt/fast/multicol/float-multicol-expected.png:
* platform/qt/fast/multicol/nested-columns-expected.png:
* platform/qt/fast/multicol/overflow-across-columns-percent-height-expected.png:
* platform/qt/fast/multicol/positioned-with-constrained-height-expected.png:
* platform/qt/fast/multicol/span/anonymous-style-inheritance-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-child-generated-content-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-child-property-removal-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-columns-child-expected.png:
* platform/qt/fast/multicol/span/span-as-immediate-columns-child-removal-expected.png:
* platform/qt/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.png:
* platform/qt/fast/multicol/span/span-as-nested-columns-child-expected.png:
* platform/qt/fast/multicol/span/span-margin-collapsing-expected.png:
* platform/qt/fast/multicol/vertical-lr/column-rules-expected.png:
* platform/qt/fast/multicol/vertical-lr/float-paginate-complex-expected.png:
* platform/qt/fast/multicol/vertical-lr/nested-columns-expected.png:
* platform/qt/fast/multicol/vertical-rl/column-rules-expected.png:
* platform/qt/fast/multicol/vertical-rl/float-paginate-complex-expected.png:
* platform/qt/fast/multicol/vertical-rl/nested-columns-expected.png:
* platform/qt/fast/overflow/hit-test-overflow-controls-expected.png:
* platform/qt/fast/overflow/image-selection-highlight-expected.png:
* platform/qt/fast/overflow/overflow-focus-ring-expected.png:
* platform/qt/fast/overflow/overflow-rtl-inline-scrollbar-expected.png:
* platform/qt/fast/overflow/paged-x-div-expected.png:
* platform/qt/fast/overflow/paged-x-on-root-expected.png:
* platform/qt/fast/overflow/paged-y-div-expected.png:
* platform/qt/fast/overflow/paged-y-on-root-expected.png:
* platform/qt/fast/overflow/position-fixed-transform-clipping-expected.png:
* platform/qt/fast/reflections/reflection-direction-expected.png:
* platform/qt/fast/reflections/reflection-with-zoom-expected.png:
* platform/qt/fast/regions/percentage-margins-mixed-ltr-dominant-regions-expected.png:
* platform/qt/fast/regions/percentage-margins-mixed-rtl-dominant-regions-expected.png:
* platform/qt/fast/regions/percentage-margins-rtl-variable-width-regions-expected.png:
* platform/qt/fast/regions/percentage-margins-variable-width-regions-expected.png:
* platform/qt/fast/repaint/float-overflow-expected.png:
* platform/qt/fast/repaint/float-overflow-right-expected.png:
* platform/qt/fast/repaint/overflow-scroll-body-appear-expected.png:
* platform/qt/fast/replaced/001-expected.png:
* platform/qt/fast/replaced/002-expected.png:
* platform/qt/fast/replaced/003-expected.png:
* platform/qt/fast/replaced/absolute-image-sizing-expected.png:
* platform/qt/fast/replaced/image-sizing-expected.png:
* platform/qt/fast/replaced/inline-box-wrapper-handover-expected.png:
* platform/qt/fast/replaced/selection-rect-in-table-cell-expected.png:
* platform/qt/fast/ruby/ruby-block-style-not-updated-expected.png: Added.
* platform/qt/fast/ruby/ruby-block-style-not-updated-with-before-after-content-expected.png: Added.
* platform/qt/fast/ruby/ruby-inline-style-not-updated-expected.png: Added.
* platform/qt/fast/ruby/ruby-inline-style-not-updated-with-before-after-content-expected.png: Added.
* platform/qt/fast/selectors/166-expected.png:
* platform/qt/fast/table/border-collapsing/004-expected.png:
* platform/qt/fast/table/border-collapsing/004-vertical-expected.png:
* platform/qt/fast/table/border-collapsing/rtl-border-collapsing-expected.png:
* platform/qt/fast/table/border-collapsing/rtl-border-collapsing-vertical-expected.png:
* platform/qt/fast/table/edge-offsets-expected.png:
* platform/qt/fast/table/fixed-with-auto-with-colspan-vertical-expected.png:
* platform/qt/fast/table/frame-and-rules-expected.png:
* platform/qt/fast/table/prepend-in-anonymous-table-expected.png:
* platform/qt/fast/table/table-row-style-not-updated-expected.png: Added.
* platform/qt/fast/table/table-row-style-not-updated-with-before-content-expected.png: Added.
* platform/qt/fast/table/table-style-not-updated-expected.png: Added.
* platform/qt/fast/text/backslash-to-yen-sign-euc-expected.png:
* platform/qt/fast/text/break-word-expected.png:
* platform/qt/fast/text/capitalize-empty-generated-string-expected.png:
* platform/qt/fast/text/capitalize-preserve-nbsp-expected.png:
* platform/qt/fast/text/delete-hard-break-character-expected.png:
* platform/qt/fast/text/hyphenate-limit-lines-expected.png:
* platform/qt/fast/text/midword-break-hang-expected.png:
* platform/qt/fast/text/reset-emptyRun-expected.png:
* platform/qt/fast/text/selection-hard-linebreak-expected.png:
* platform/qt/fast/text/stroking-decorations-expected.png:
* platform/qt/fast/text/text-letter-spacing-expected.png:
* platform/qt/fast/text/wbr-expected.png:
* platform/qt/fast/text/whitespace/018-expected.png:
* platform/qt/fast/text/whitespace/normal-after-nowrap-breaking-expected.png:
* platform/qt/fast/text/whitespace/pre-wrap-overflow-selection-expected.png:
* platform/qt/fast/transforms/shadows-expected.png:
* platform/qt/fast/transforms/transformed-caret-expected.png:
* platform/qt/fast/transforms/transforms-with-zoom-expected.png:
* platform/qt/fast/writing-mode/box-shadow-vertical-rl-expected.png:
* platform/qt/fast/writing-mode/english-lr-text-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131899 268f45cc-cd09-0410-ab3c-d52691b4dbfc