diff options
author | meade@chromium.org <meade@chromium.org> | 2015-06-23 00:25:00 +0000 |
---|---|---|
committer | meade@chromium.org <meade@chromium.org> | 2015-06-23 00:25:00 +0000 |
commit | 771d77e62f2eabad7546ad968106ec21940b2e01 (patch) | |
tree | 618078ae4150773123ddfe381d276d221a4ec34e /third_party/WebKit/LayoutTests/fast/css/uri-token-parsing.html | |
parent | e3232117765ddb2975d7efe1f3e4e087b222cba3 (diff) | |
download | chromium_src-771d77e62f2eabad7546ad968106ec21940b2e01.zip chromium_src-771d77e62f2eabad7546ad968106ec21940b2e01.tar.gz chromium_src-771d77e62f2eabad7546ad968106ec21940b2e01.tar.bz2 |
Rewrite and squash StylePropertySerializer::getLayeredShorthandValue.
Remove boolean parameter to StylePropertySerializer::getLayeredShorthandValue.
It's a confusing interface and it doesn't really do anything.
Some slight behavior changes:
- element.style.backgroudPosition = "" if only one of backgroundPositionX or
backgroundPositionY is specified (previously was the defined value)
- -webkit-mask shorthand will not be output if you don't define one of the
longhands (previously the shorthand simply excluded the removed one)
- -webkit-mask shorthand is not output if only -webkit-mask-image is defined
(previously -webkit-mask would output the same as -webkit-mask-image in this
situation)
- output cssText when -webkit-mask-repeat-x and -webkit-mask-repeat-y is set is
"-webkit-mask-repeat-x: xValue; -webkit-mask-repeat-y: yValue" instead of
"-webkit-mask-repeat: something; -webkit-mask-repeat-y: yValue;".
Review URL: https://codereview.chromium.org/1183633002
git-svn-id: svn://svn.chromium.org/blink/trunk@197614 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/css/uri-token-parsing.html')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/css/uri-token-parsing.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/css/uri-token-parsing.html b/third_party/WebKit/LayoutTests/fast/css/uri-token-parsing.html index da044cf..d3f09b9 100644 --- a/third_party/WebKit/LayoutTests/fast/css/uri-token-parsing.html +++ b/third_party/WebKit/LayoutTests/fast/css/uri-token-parsing.html @@ -95,7 +95,7 @@ function runTest() #q { cursor: url('url(q)'), pointer; } #r { list-style-image: url('url(r)'); } #s { background-image: url('url(s)'); } -#t { -webkit-mask: url('url(t)'); } +#t { -webkit-mask-image: url('url(t)'); } #u { -webkit-border-image: url('url(u)') 1 2 3 4 fill stretch round; } #v { -webkit-mask-box-image-source: url('url(v)'); } #w { content: url(ww); } |