| Summary: | Serialized declaration for background-size/-webkit-mask-size should preserve identical values instead of coalescing them | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Erik Aigner <aigner.erik> | ||||||
| Component: | CSS | Assignee: | Daniel Bates <dbates> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bdakin, cdumez, commit-queue, dbates, hyatt, koivisto, mitz, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar, WebExposed | ||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=67672 https://bugs.webkit.org/show_bug.cgi?id=67657 |
||||||||
| Bug Depends on: | 146852 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Erik Aigner
2015-03-29 03:01:32 PDT
Created attachment 256552 [details]
Patch and layout tests
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.
Created attachment 256553 [details]
Patch and layout tests
Update Apple copyright line in file Source/WebCore/css/Pair.h
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.
(In reply to comment #6) > <rdar://problem/21759395> Disregard this comment. I 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. (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. Committed r186687: <http://trac.webkit.org/changeset/186687> |