WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
143191
Serialized declaration for background-size/-webkit-mask-size should preserve identical values instead of coalescing them
https://bugs.webkit.org/show_bug.cgi?id=143191
Summary
Serialized declaration for background-size/-webkit-mask-size should preserve ...
Erik Aigner
Reported
2015-03-29 03:01:32 PDT
When setting `background-size:100% 100%` on a BODY element, WebKit2 (WKWebView) rewrites it to `background-size:100%` which is equivalent to `100% auto`. This is a clear violation of the spec. See
http://stackoverflow.com/questions/29327537/css-background-size-ignores-2nd-value?noredirect=1#comment46845162_29327537
for discussion
Attachments
Patch and layout tests
(10.75 KB, patch)
2015-07-09 18:31 PDT
,
Daniel Bates
no flags
Details
Formatted Diff
Diff
Patch and layout tests
(11.04 KB, patch)
2015-07-09 18:34 PDT
,
Daniel Bates
darin
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Daniel Bates
Comment 1
2015-07-09 18:31:19 PDT
Created
attachment 256552
[details]
Patch and layout tests
WebKit Commit Bot
Comment 2
2015-07-09 18:33:53 PDT
Attachment 256552
[details]
did not pass style-queue: ERROR: Source/WebCore/css/Pair.h:75: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] ERROR: Source/WebCore/css/Pair.h:76: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] Total errors found: 2 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Daniel Bates
Comment 3
2015-07-09 18:34:49 PDT
Created
attachment 256553
[details]
Patch and layout tests Update Apple copyright line in file Source/WebCore/css/Pair.h
WebKit Commit Bot
Comment 4
2015-07-09 18:36:55 PDT
Attachment 256553
[details]
did not pass style-queue: ERROR: Source/WebCore/css/Pair.h:75: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] ERROR: Source/WebCore/css/Pair.h:76: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] Total errors found: 2 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Radar WebKit Bug Importer
Comment 5
2015-07-09 18:39:15 PDT
<
rdar://problem/21759393
>
Radar WebKit Bug Importer
Comment 6
2015-07-09 18:39:17 PDT
<
rdar://problem/21759395
>
Daniel Bates
Comment 7
2015-07-09 18:42:00 PDT
(In reply to
comment #6
)
> <
rdar://problem/21759395
>
Disregard this comment.
Daniel Bates
Comment 8
2015-07-09 18:51:19 PDT
I
Darin Adler
Comment 9
2015-07-10 09:57:56 PDT
Comment on
attachment 256553
[details]
Patch and layout tests View in context:
https://bugs.webkit.org/attachment.cgi?id=256553&action=review
> Source/WebCore/css/Pair.h:50 > + static Ref<Pair> create(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second, IdenticalValueEncoding encoding)
Arguments should be RefPtr&&, not PassRefPtr.
> Source/WebCore/css/Pair.h:76 > + Pair(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second) : m_first(first), m_second(second) { } > + Pair(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second, IdenticalValueEncoding encoding) : m_first(first), m_second(second), m_encoding(encoding) { }
Arguments should be RefPtr&&, not PassRefPtr.
Daniel Bates
Comment 10
2015-07-10 10:17:27 PDT
(In reply to
comment #9
)
> > Source/WebCore/css/Pair.h:50 > > + static Ref<Pair> create(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second, IdenticalValueEncoding encoding) > > Arguments should be RefPtr&&, not PassRefPtr. >
Will fix before landing.
> > Source/WebCore/css/Pair.h:76 > > + Pair(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second) : m_first(first), m_second(second) { } > > + Pair(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second, IdenticalValueEncoding encoding) : m_first(first), m_second(second), m_encoding(encoding) { } > > Arguments should be RefPtr&&, not PassRefPtr.
Will fix before landing.
Daniel Bates
Comment 11
2015-07-10 13:41:36 PDT
Committed
r186687
: <
http://trac.webkit.org/changeset/186687
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug