[CSS Parser] Turn back on a bunch of layout tests
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Dec 2016 17:18:45 +0000 (17:18 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Dec 2016 17:18:45 +0000 (17:18 +0000)
commited0e1cc69201011c92e9551b1f0993d64c8d7717
treedf01beb760d72cb6005d94ee4ef9b5bfee7322d7
parent5bdfeb60e237952eacac2fa6b9faecdbaa60fd63
[CSS Parser] Turn back on a bunch of layout tests
https://bugs.webkit.org/show_bug.cgi?id=165529

Reviewed by Zalan Bujtas.

Source/WebCore:

Fixes fast/css/transform-origin-parsing.html.

* css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::consumeTransformOrigin):
The implicit check was relying on a null check of the z value, but
we called releaseNonNull on it already. This meant all z properties were
marked as implicit incorrectly. Fix by storing whether or not we had a z
value in a local variable.

LayoutTests:

* TestExpectations:
* css3/parsing-css3-nthchild-expected.txt:
* css3/parsing-css3-nthchild.html:
* css3/scroll-snap/scroll-snap-position-values-expected.txt:
* css3/scroll-snap/scroll-snap-position-values.html:
* editing/execCommand/insert-list-with-noneditable-content-expected.txt:
* fast/css/object-position/parsing-object-position-expected.txt:
* fast/css/object-position/parsing-object-position.html:
* fast/css/parsing-css-number-types-expected.txt:
* fast/css/parsing-css-wrap-expected.txt:
* fast/css/script-tests/transform-origin-parsing.js:
* fast/css/transform-inline-style-remove-expected.txt:
* fast/css/transform-origin-parsing-expected.txt:
* fast/css/variables/custom-property-dynamic-update-expected.html:
* fast/events/mouse-cursor-expected.txt:
* fast/inspector-support/style-expected.txt:
* platform/mac/svg/webarchive/svg-script-subresouces-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
20 files changed:
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/css3/parsing-css3-nthchild-expected.txt
LayoutTests/css3/parsing-css3-nthchild.html
LayoutTests/css3/scroll-snap/scroll-snap-position-values-expected.txt
LayoutTests/css3/scroll-snap/scroll-snap-position-values.html
LayoutTests/editing/execCommand/insert-list-with-noneditable-content-expected.txt
LayoutTests/fast/css/object-position/parsing-object-position-expected.txt
LayoutTests/fast/css/object-position/parsing-object-position.html
LayoutTests/fast/css/parsing-css-number-types-expected.txt
LayoutTests/fast/css/parsing-css-wrap-expected.txt
LayoutTests/fast/css/script-tests/transform-origin-parsing.js
LayoutTests/fast/css/transform-inline-style-remove-expected.txt
LayoutTests/fast/css/transform-origin-parsing-expected.txt
LayoutTests/fast/css/variables/custom-property-dynamic-update-expected.html
LayoutTests/fast/events/mouse-cursor-expected.txt
LayoutTests/fast/inspector-support/style-expected.txt
LayoutTests/platform/mac/svg/webarchive/svg-script-subresouces-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/css/parser/CSSPropertyParser.cpp