WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
182225
Support calc() in webkit-gradient and cross-fade
https://bugs.webkit.org/show_bug.cgi?id=182225
Summary
Support calc() in webkit-gradient and cross-fade
Chris Nardi
Reported
2018-01-28 12:34:58 PST
Support calc() in webkit-gradient and cross-fade
Attachments
Patch
(6.34 KB, patch)
2018-01-28 12:37 PST
,
Chris Nardi
no flags
Details
Formatted Diff
Diff
Patch
(6.36 KB, patch)
2018-01-28 12:42 PST
,
Chris Nardi
no flags
Details
Formatted Diff
Diff
Add expectations
(7.02 KB, patch)
2018-01-28 15:43 PST
,
Chris Nardi
ews-watchlist
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews101 for mac-sierra
(2.17 MB, application/zip)
2018-01-28 16:43 PST
,
EWS Watchlist
no flags
Details
Fix expectations
(6.87 KB, patch)
2018-01-28 16:49 PST
,
Chris Nardi
no flags
Details
Formatted Diff
Diff
Change order of summary in changelogs
(6.87 KB, patch)
2018-01-30 16:39 PST
,
Chris Nardi
no flags
Details
Formatted Diff
Diff
Use auto
(6.80 KB, patch)
2018-04-19 12:44 PDT
,
Chris Nardi
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Chris Nardi
Comment 1
2018-01-28 12:37:53 PST
Created
attachment 332494
[details]
Patch
Chris Nardi
Comment 2
2018-01-28 12:42:59 PST
Created
attachment 332495
[details]
Patch
Chris Nardi
Comment 3
2018-01-28 15:43:53 PST
Created
attachment 332497
[details]
Add expectations
EWS Watchlist
Comment 4
2018-01-28 16:43:53 PST
Comment on
attachment 332497
[details]
Add expectations
Attachment 332497
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/6243651
New failing tests: css3/calc/cross-fade-calc.html css3/calc/webkit-gradient-calc.html
EWS Watchlist
Comment 5
2018-01-28 16:43:54 PST
Created
attachment 332499
[details]
Archive of layout-test-results from ews101 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-sierra Platform: Mac OS X 10.12.6
Chris Nardi
Comment 6
2018-01-28 16:49:07 PST
Created
attachment 332500
[details]
Fix expectations
Chris Nardi
Comment 7
2018-01-30 16:39:19 PST
Created
attachment 332721
[details]
Change order of summary in changelogs
Chris Nardi
Comment 8
2018-04-19 10:15:50 PDT
simon.fraser@, could you review?
Simon Fraser (smfr)
Comment 9
2018-04-19 11:51:07 PDT
Comment on
attachment 332721
[details]
Change order of summary in changelogs View in context:
https://bugs.webkit.org/attachment.cgi?id=332721&action=review
> Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:869 > + if (RefPtr<CSSPrimitiveValue> percentValue = consumePercent(args, ValueRangeAll))
This could be if (auto percentValue = consumePercent(args, ValueRangeAll))
> Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:1231 > + if (RefPtr<CSSPrimitiveValue> percentValue = consumePercent(args, ValueRangeAll)) > + percentage = CSSValuePool::singleton().createValue(clampTo<double>(percentValue->doubleValue() / 100.0, 0, 1), CSSPrimitiveValue::UnitType::CSS_NUMBER); > + else if (RefPtr<CSSPrimitiveValue> numberValue = consumeNumber(args, ValueRangeAll))
You could use auto here too.
Chris Nardi
Comment 10
2018-04-19 12:44:14 PDT
Created
attachment 338351
[details]
Use auto
Chris Nardi
Comment 11
2018-04-19 12:44:39 PDT
(In reply to Simon Fraser (smfr) from
comment #9
)
> Comment on
attachment 332721
[details]
> Change order of summary in changelogs > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=332721&action=review
> > > Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:869 > > + if (RefPtr<CSSPrimitiveValue> percentValue = consumePercent(args, ValueRangeAll)) > > This could be if (auto percentValue = consumePercent(args, ValueRangeAll)) > > > Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:1231 > > + if (RefPtr<CSSPrimitiveValue> percentValue = consumePercent(args, ValueRangeAll)) > > + percentage = CSSValuePool::singleton().createValue(clampTo<double>(percentValue->doubleValue() / 100.0, 0, 1), CSSPrimitiveValue::UnitType::CSS_NUMBER); > > + else if (RefPtr<CSSPrimitiveValue> numberValue = consumeNumber(args, ValueRangeAll)) > > You could use auto here too.
I changed both situations to use auto.
WebKit Commit Bot
Comment 12
2018-04-19 13:26:00 PDT
Comment on
attachment 338351
[details]
Use auto Clearing flags on attachment: 338351 Committed
r230816
: <
https://trac.webkit.org/changeset/230816
>
WebKit Commit Bot
Comment 13
2018-04-19 13:26:02 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 14
2018-04-19 13:28:02 PDT
<
rdar://problem/39574509
>
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