[CTTE] RenderTextControlMultiLine's element is always a HTMLTextAreaElement.
<https://webkit.org/b/121271>

Reviewed by Anders Carlsson.

Add RenderTextControlMultiLine::textAreaElement(), hiding element().
This function also returns a reference since this renderer cannot be anonymous.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CTTE] RenderHTMLCanvas's element is always a HTMLCanvasElement.
<https://webkit.org/b/121272>

Reviewed by Anders Carlsson.

Add RenderHTMLCanvas::canvasElement(), hiding element().
This function also returns a reference since this renderer cannot be anonymous.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CTTE] RenderListBox's element is always a HTMLSelectElement.
<https://webkit.org/b/121273>

Reviewed by Anders Carlsson.

Hide element() on RenderListBox and make selectElement() return a reference
since this renderer cannot be anonymous.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CTTE] RenderListMarker is always anonymous and owned by RenderListItem.
<https://webkit.org/b/121274>

Reviewed by Anders Carlsson.

Store a RenderListItem& instead of a pointer in RenderListMarker.
Deleted the element() function since list markers are always anonymous.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CTTE] Tighten RenderTextControl element typing.
<https://webkit.org/b/121275>

Reviewed by Anders Carlsson.

Codify these invariants:

- RenderTextControl always has a HTMLTextFormControl.
- RenderSearchField always has a HTMLInputElement.
- RenderTextControlSingleLine always has a HTMLInputElement.

None of these renderers are ever anonymous. Deleted element() and added
strongly typed reference getters instead.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix Qt build.

* WebCoreSupport/QWebPageAdapter.cpp:
(QWebPageAdapter::inputMethodQuery):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CTTE] RenderMenuList always has a HTMLSelectElement.
<https://webkit.org/b/121276>

Reviewed by Anders Carlsson.

This renderer is never anonymous and always has a corresponding HTMLSelectElement.
Deleted element() in favor of HTMLSelectElement& selectElement().


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore: [EFL]Background Style of element not visible because of  default theme style
https://bugs.webkit.org/show_bug.cgi?id=117405

Patch by Santosh Mahto <santosh.ma@samsung.com> on 2013-09-12
Reviewed by Gyuyoung Kim.

When select element is styled with css background property(color/image) the styling
gets hidden by Combo box non transparent image. This patch handle the
case and transparent images are used when select image is styled. So
now background-color and background-image are visible across the Combo box

The code is added to support css styling of other theme control,
Basically an extra signal is emitted to edje which change the state
of edje object whenever the control is styled.

Covered by existing test case, updated the test expected image.

* platform/efl/DefaultTheme/CMakeLists.txt:
* platform/efl/DefaultTheme/widget/combo/combo.edc:
* platform/efl/DefaultTheme/widget/combo/combo_focus_button_transparent.png: Added.
* platform/efl/DefaultTheme/widget/combo/combo_focus_transparent.png: Added.
* platform/efl/DefaultTheme/widget/combo/combo_hover_button_transparent.png: Added.
* platform/efl/DefaultTheme/widget/combo/combo_hover_transparent.png: Added.
* platform/efl/DefaultTheme/widget/combo/combo_normal_button_transparent.png: Added.
* platform/efl/DefaultTheme/widget/combo/combo_normal_transparent.png: Added.
* platform/efl/DefaultTheme/widget/combo/combo_press_button_transparent.png: Added.
* platform/efl/DefaultTheme/widget/combo/combo_press_transparent.png: Added.
* platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::applyEdjeStateFromForm):
(WebCore::RenderThemeEfl::isControlStyled):
(WebCore::RenderThemeEfl::paintThemePart):
* platform/efl/RenderThemeEfl.h:

LayoutTests: [EFL] Background Style of element not visible because of default theme style
https://bugs.webkit.org/show_bug.cgi?id=117405

Patch by Santosh Mahto <santosh.ma@samsung.com> on 2013-09-12
Reviewed by Gyuyoung Kim.

Updating expected image oputput of pixel test reflecting the
background image visible over combo box.

* platform/efl/fast/forms/menulist-narrow-width-expected.png:
* platform/efl/fast/forms/menulist-restrict-line-height-expected.png:
* platform/efl/fast/forms/menulist-style-color-expected.png:
* platform/efl/fast/forms/select-background-none-expected.png:
* platform/efl/fast/forms/select-style-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fixed crash in V8 benchmark suite in ARM,softp,EABI environment.
https://bugs.webkit.org/show_bug.cgi?id=117281

Patch by Youngho Yoo <youngho33.yoo@lge.com> on 2013-09-13
Reviewed by Michael Saboff.

Fix the missing EABI_32BIT_DUMMY_ARG in FPRReg using callOperation function.

Source/JavaScriptCore:

Test 1 : fast/js/array-with-double-assign.html
Test 2 : fast/js/array-with-double-push.html

* dfg/DFGCCallHelpers.h:
(JSC::DFG::CCallHelpers::setupArgumentsWithExecState):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::callOperation):

LayoutTests:

* fast/js/array-with-double-assign-expected.txt: Added.
* fast/js/array-with-double-assign.html: Added.
* fast/js/array-with-double-push-expected.txt: Added.
* fast/js/array-with-double-push.html: Added.
* fast/js/script-tests/array-with-double-assign.js: Added.
(foo):
* fast/js/script-tests/array-with-double-push.js: Added.
(foo):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Give actions in Range class NON_SHOUTING_NAMES
https://bugs.webkit.org/show_bug.cgi?id=121280

Reviewed by Andreas Kling.

Source/WebCore:

* dom/Range.cpp:
(WebCore::Range::deleteContents):
(WebCore::Range::processContents):
(WebCore::Range::processContentsBetweenOffsets):
(WebCore::Range::processNodes):
(WebCore::Range::processAncestorsAndTheirSiblings):
(WebCore::Range::extractContents):
(WebCore::Range::cloneContents):
* dom/Range.h:
Just let do-webcore-rename do its thing.
- DELETE_CONTENTS -> Delete
- EXTRACT_CONTENTS -> Extract
- CLONE_CONTENTS -> Clone

Tools:

* Scripts/do-webcore-rename: Updated to do this replace, keeping with
the tradition of checking in the last one we did, along with other
rename ideas for the future.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
download-requested arg should be WEBKIT_TYPE_DOWNLOAD not G_TYPE_OBJECT
https://bugs.webkit.org/show_bug.cgi?id=57634

Reviewed by Darin Adler.

* webkit/webkitwebview.cpp:
(webkit_web_view_class_init):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CTTE] RenderButton always has a HTMLFormControlElement.
<https://webkit.org/b/121281>

Reviewed by Antti Koivisto.

RenderButton is never anonymous and has either a <button> or an <input> element,
and their nearest shared ancestor is HTMLFormControlElement.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening. Skip some failing tests.
https://bugs.webkit.org/show_bug.cgi?id=120848.

* platform/qt/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CTTE] RenderFieldset always has a HTMLFieldSetElement.
<https://webkit.org/b/121277>

Reviewed by Darin Adler.

RenderFieldset is never anonymous and always has a corresponding HTMLFieldSetElement.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CTTE] RenderFileUploadControl always has a HTMLInputElement.
<https://webkit.org/b/121278>

Reviewed by Darin Adler.

RenderFileUploadControl is never anonymous and always has a corresponding HTMLInputElement.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CTTE] Tighter element types for RenderSVGInline and subclasses.
<https://webkit.org/b/121283>

Reviewed by Antti Koivisto.

Codify the following:

- RenderSVGInline always has an SVGGraphicsElement.
- RenderSVGTextPath always has an SVGTextPathElement.
- RenderSVGTSpan always has an SVGTextPositioningElement.

None of these renderers are ever anonymous, so delete element() and provide
strongly typed reference getters instead.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (r155615): Lots of reftests fail with single line or single pixel differences
https://bugs.webkit.org/show_bug.cgi?id=121245

Reviewed by Darin Adler.

Similar to https://bugs.webkit.org/show_bug.cgi?id=120963,
we need to manually ensure that some pieces of persistent
CoreGraphics state are restored after PDFKit changes them.

In this case, we bookend our restoration around the various
_recursiveDisplay... functions that we also use in WebHTMLView.

* WebView/WebPDFView.mm:
(-[WebPDFView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]):
(-[WebPDFView _recursiveDisplayAllDirtyWithLockFocus:visRect:]):
(-[WebPDFView _recursive:displayRectIgnoringOpacity:inContext:topView:]):
(-[WebPDFView _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CTTE] RenderListItem is never anonymous.
<https://webkit.org/b/121285>

Reviewed by Antti Koivisto.

Hide element() and provide existingElement() instead, returning an Element&.
Removed some bogus assertions that were exposed by this.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CTTE] RenderTableCol is never anonymous.
<https://webkit.org/b/121286>

Reviewed by Antti Koivisto.

Hide element() and provide existingElement() instead, returning an Element&.
Removed one bogus null check that was exposed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CTTE] RenderTableCaption is never anonymous.
<https://webkit.org/b/121289>

Reviewed by Antti Koivisto.

Hide element() and provide existingElement() instead, returning an Element&.

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