Mac rebaseline after r140693.

* editing/selection/extend-by-sentence-001-expected.txt:
* platform/mac/TestExpectations:
* platform/mac/css2.1/t0505-c16-descendant-01-e-expected.png:
* platform/mac/css2.1/t0505-c16-descendant-01-e-expected.txt:
* platform/mac/editing/selection/extend-by-sentence-001-expected.png:
* platform/mac/fast/inline/drawStyledEmptyInlines-expected.txt:
* platform/mac/fast/inline/drawStyledEmptyInlinesWithWS-expected.png:
* platform/mac/fast/inline/drawStyledEmptyInlinesWithWS-expected.txt:
* platform/mac/fast/text/capitalize-empty-generated-string-expected.png:
* platform/mac/fast/text/capitalize-empty-generated-string-expected.txt:
* platform/mac/fast/text/whitespace/006-expected.png:
* platform/mac/fast/text/whitespace/006-expected.txt:
* platform/mac/fast/text/whitespace/007-expected.png:
* platform/mac/fast/text/whitespace/007-expected.txt:
* platform/mac/svg/batik/text/xmlSpace-expected.png:
* platform/mac/svg/batik/text/xmlSpace-expected.txt:
* platform/mac/svg/carto.net/combobox-expected.png:
* platform/mac/tables/mozilla/bugs/bug113235-3-expected.txt:
* platform/mac/tables/mozilla/bugs/bug1188-expected.png:
* platform/mac/tables/mozilla/bugs/bug1188-expected.txt:
* platform/mac/tables/mozilla/bugs/bug1318-expected.png:
* platform/mac/tables/mozilla/bugs/bug1318-expected.txt:
* svg/carto.net/combobox-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146404 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Mac rebaseline after r142152.

* platform/mac/TestExpectations:
* platform/mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.png:
* platform/mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146405 268f45cc-cd09-0410-ab3c-d52691b4dbfc
dialog-enabled.html and dialog-disabled.html don't really test what they think they do
https://bugs.webkit.org/show_bug.cgi?id=112848

Reviewed by Adam Barth.

* fast/dom/HTMLDialogElement/dialog-disabled.html:
* fast/dom/HTMLDialogElement/dialog-enabled.html:
Set the dialog element enabled setting before parsing <dialog> element.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146406 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix indentation of JSString.h

Rubber stamped by Mark Hahnenberg.

* runtime/JSString.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore: [css3-text] Parsing -webkit-each-line value for text-indent from css3-text
https://bugs.webkit.org/show_bug.cgi?id=109021

Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2013-03-20
Reviewed by Julien Chaffraix.

"each-line" is added for text-indent in CSS3.
http://dev.w3.org/csswg/css3-text/#each-line

This patch is the parsing part to support each-line value for text-indent.

"each-line" means "Indentation affects the first line of the block
container as well as each line after a forced line break, but does
not affect lines after a soft wrap break."

It's prefixed and guarded by CSS3_TEXT flag.

Tests: fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-inherited.html
       fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
    style.getPropertyCSSValue(text-indent) returns CSSPrimitiveValue when text-indent has only <length>
    or <percentage> value, but returns CSSValueList when text-indent also has -webkit-each-line.

* css/CSSParser.cpp:
(WebCore::isSimpleLengthPropertyID): Removed CSSPropertyTextIndent case.
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseTextIndent): Added.
* css/CSSParser.h:
    Parsed <length> or <percentage> with -webkit-each-line for text-indent.

* css/CSSValueKeywords.in: Added new -webkit-each-line keyword.
* css/StyleBuilder.cpp:
(ApplyPropertyTextIndent): Added.
(WebCore::ApplyPropertyTextIndent::applyInheritValue):
(WebCore::ApplyPropertyTextIndent::applyInitialValue):
(WebCore::ApplyPropertyTextIndent::applyValue):
(WebCore::ApplyPropertyTextIndent::createHandler):
(WebCore::StyleBuilder::StyleBuilder):
    Added codes to handle applying text-indent offset and -webkit-each-line option to our style.

* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff):
* rendering/style/RenderStyle.h:
* rendering/style/RenderStyleConstants.h: Added enum TextIndentLine.
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):
* rendering/style/StyleRareInheritedData.h: Added m_textIndentLine.
(StyleRareInheritedData):
    Added the usual getter / setter / initial methods for m_textIndentLine.

LayoutTests: [css3-text] Parsing -webkit-each-line value for text-indent from css3-text
https://bugs.webkit.org/show_bug.cgi?id=109021

"each-line" is added for text-indent in CSS3.
http://dev.w3.org/csswg/css3-text/#each-line

Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2013-03-20
Reviewed by Julien Chaffraix.

* fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-expected.txt: Added.
* fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-inherited-expected.txt: Added.
* fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent-inherited.html: Added.
* fast/css3-text/css3-text-indent/getComputedStyle/getComputedStyle-text-indent.html: Added.
* fast/css3-text/css3-text-indent/getComputedStyle/script-tests/getComputedStyle-text-indent-inherited.js: Added.
(testComputedStyle):
(ownValueTest):
(inheritanceTest):
* fast/css3-text/css3-text-indent/getComputedStyle/script-tests/getComputedStyle-text-indent.js: Added.
(testElementStyle):
(testComputedStyle):
(valueSettingTest):
(invalidValueSettingTest):
* platform/chromium/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt-mac/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Mac rebaseline after r144096.

* platform/mac/TestExpectations:
* platform/mac/css3/flexbox/button-expected.png: Copied from LayoutTests/css3/flexbox/button-expected.png.
* platform/mac/css3/flexbox/button-expected.txt: Copied from LayoutTests/css3/flexbox/button-expected.txt.
* platform/mac/svg/custom/foreign-object-skew-expected.png:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146409 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Mac rebaseline intended to be done in r146409 for r144096.

* platform/mac/TestExpectations:
* platform/mac/css2.1/20110323/replaced-elements-001-expected.png:
* platform/mac/css2.1/20110323/replaced-elements-001-expected.txt: Copied from LayoutTests/css2.1/20110323/replaced-elements-001-expected.txt.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
inspector/debugger/debugger-reload-on-pause.html assertion failure on Mac after r141136
https://bugs.webkit.org/show_bug.cgi?id=109232

Unreviewed. Remove the test expectation entry since this test hasn't been crashing lately.

* platform/mac/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove test expectations added in r133786 as these tests are now passing.

* platform/mac/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rebaseline expected results added in r143389 so that they have alpha values.

* platform/mac/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png:
* platform/mac/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png:
* svg/as-image/image-preserveAspectRatio-all-expected.png:
* svg/filters/feImage-preserveAspectRatio-all-expected.png:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146413 268f45cc-cd09-0410-ab3c-d52691b4dbfc
fast/css/empty-generated-content.html needs to be rebaselined after 104462
https://bugs.webkit.org/show_bug.cgi?id=104595

* platform/mac/TestExpectations:
* platform/mac/fast/css/empty-generated-content-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove an entry added in r141645 as this test is now passing.

* platform/mac/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WinCairo] Unreviewed build fix for VS2010.

Had to add WinCairo-specific property sheets to deal with some
library and path differences with the main Apple port.

* DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
* DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeDebugWinCairo.props:
* DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTreeReleaseWinCairo.props:
* DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffCommonWinCairo.props: Added.
* DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffDebugWinCairo.props: Added.
* DumpRenderTree/DumpRenderTree.vcxproj/ImageDiff/ImageDiffReleaseWinCairo.props: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unnecessary calls to Node::disabled for <meter>, <progress>, and <output>
https://bugs.webkit.org/show_bug.cgi?id=112767

Reviewed by Kent Tamura.

This is part of a refactoring to move Node::disabled to HTMLFormControlElement::disabled.
The concept of disabled is just a form control element one.

HTMLMeterElement, HTMLOutputElement, and HTMLProgressElement never
have disabled() return true, so we can remove the call. In addition,
HTMLMeterElement and HTMLProgressElement no longer inherit from
HTMLFormControlElement, so we don't need to override supportsFocus.

No new tests because no behavior change.

* html/HTMLMeterElement.cpp:
* html/HTMLMeterElement.h:
* html/HTMLOutputElement.cpp:
(WebCore::HTMLOutputElement::supportsFocus):
* html/HTMLProgressElement.cpp:
* html/HTMLProgressElement.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146417 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove entires added by r138484 now that these tests pass on Mac.

* platform/mac/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146418 268f45cc-cd09-0410-ab3c-d52691b4dbfc
HTMLNames should construct strings at compile time
https://bugs.webkit.org/show_bug.cgi?id=112831

Reviewed by Darin Adler.

Source/WebCore:

This patch teaches make_names how to construct strings at compile time,
eliminating a large number of startup mallocs.

* WebCore.gyp/WebCore.gyp:
* WebCore.gyp/scripts/action_makenames.py:
    - Teach the Chromium build how to deal with Perl modules.
* bindings/scripts/StaticString.pm: Added.
    - A Perl module for constructing static strings.
(GenerateStrings):
(GenerateValidateStrings):
* dom/QualifiedName.cpp:
(WebCore::createQualifiedName):
    - createQualifiedName now takes an already-constructed StringImpl
      object.
* dom/QualifiedName.h:
* dom/make_names.pl:
(valueForName):
(namesToStrings):
(printNamesCppFile):
(printDefinitions):
    - Teach make_names how to use StaticString.pm.

Source/WTF:

* wtf/text/StringImpl.h:
(StringImpl):
(StaticASCIILiteral):
    - This struct lets us construct StringImpl objects at compile time.
(WTF::StringImpl::assertValidHash):
    - This function lets us sanity check StringImpl objects created from StaticData.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WinCairo] Unreviewed build fix for TestWebKitAPI under VS2010

* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPICommonWinCairo.props: Added.
New property sheet that does not link against CoreFoundation and
CFNetwork.
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIDebugWinCairo.props:
Use new TestWebKitAPICommonWinCairo property sheet.
* TestWebKitAPI/TestWebKitAPI.vcxproj/TestWebKitAPIReleaseWinCairo.props:
Ditto.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Update test expectations to more closely match reality.
https://bugs.webkit.org/show_bug.cgi?id=106609
https://code.google.com/p/chromium/issues/detail?id=222140

Unreviewed, test expectations update.

* platform/chromium/TestExpectations:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146421 268f45cc-cd09-0410-ab3c-d52691b4dbfc
../ThirdParty: [WinCairo] Build WinCairo port under VS2010.
https://bugs.webkit.org/show_bug.cgi?id=112861

Reviewed by Tim Horton.

* gtest/msvc/gtest-md.vcxproj: Add WinCairo targets.

../WebKit: [WinCairo] Top-level solution change to build under VS2010.
https://bugs.webkit.org/show_bug.cgi?id=112861.

Reviewed by Tim Horton.

* WebKit.vcxproj/WebKit.sln: Add final set of WinCairo build
targets.
* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
Add #if/def guards around some media-specific exports that
are not provided by the WinCairo port.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Mac rebaseline after r146415. I somehow missed the 1px difference.

* platform/mac/svg/custom/text-ctm-expected.txt:


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