Remove overflow: -webkit-marquee
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Mar 2016 01:51:12 +0000 (01:51 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Mar 2016 01:51:12 +0000 (01:51 +0000)
commitfbc653703cd1174332eaf5841bd128d2d1178fcc
treef607b7eb1dc64fddd7cb78d7e5868bb2e7f9f2b7
parentee0e8bd2c26d153e65ceceb1e8e6e6250d339c07
Remove overflow: -webkit-marquee
https://bugs.webkit.org/show_bug.cgi?id=155517
<rdar://problem/25028481>

Reviewed by Simon Fraser.

This patch is based on Blink patch from jchaffraix@chromium.org (https://src.chromium.org/viewvc/blink?revision=151756&view=revision)

Source/WebCore:

* css/CSSParser.cpp:
(WebCore::isValidKeywordPropertyAndValue):
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Deleted.
(WebCore::CSSPrimitiveValue::operator EOverflow): Deleted.
* css/CSSValueKeywords.in:
* css/StyleResolver.cpp:
(WebCore::StyleResolver::adjustRenderStyle):
* css/html.css:
(marquee): Deleted.
* rendering/RenderBox.cpp:
(WebCore::RenderBox::sizesLogicalWidthToFitContent):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::scrollTo):
(WebCore::RenderLayer::updateScrollInfoAfterLayout):
(WebCore::RenderLayer::calculateClipRects):
* rendering/RenderLayer.h:
* rendering/RenderMarquee.h:
* rendering/style/RenderStyleConstants.h:

LayoutTests:

* fast/css/getPropertyValue-webkit-marquee.html:
* fast/css/webkit-marquee-anonymous-node-crash-expected.txt: Removed.
* fast/css/webkit-marquee-anonymous-node-crash.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
15 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/css/getPropertyValue-webkit-marquee.html
LayoutTests/fast/css/webkit-marquee-anonymous-node-crash-expected.txt [deleted file]
LayoutTests/fast/css/webkit-marquee-anonymous-node-crash.html [deleted file]
Source/WebCore/ChangeLog
Source/WebCore/css/CSSParser.cpp
Source/WebCore/css/CSSPrimitiveValueMappings.h
Source/WebCore/css/CSSValueKeywords.in
Source/WebCore/css/StyleResolver.cpp
Source/WebCore/css/html.css
Source/WebCore/rendering/RenderBox.cpp
Source/WebCore/rendering/RenderLayer.cpp
Source/WebCore/rendering/RenderLayer.h
Source/WebCore/rendering/RenderMarquee.h
Source/WebCore/rendering/style/RenderStyleConstants.h