WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
164289
Remove WebKitCSSFilterValue to make Hyatt happy
https://bugs.webkit.org/show_bug.cgi?id=164289
Summary
Remove WebKitCSSFilterValue to make Hyatt happy
Dean Jackson
Reported
2016-11-01 13:41:39 PDT
Remove WebKitCSSFilterValue to make Hyatt happy
Attachments
Patch
(398.75 KB, patch)
2016-11-01 13:51 PDT
,
Dean Jackson
simon.fraser
: review+
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews104 for mac-yosemite-wk2
(1.37 MB, application/zip)
2016-11-01 15:04 PDT
,
Build Bot
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Dean Jackson
Comment 1
2016-11-01 13:49:03 PDT
<
rdar://problem/29050973
>
Dean Jackson
Comment 2
2016-11-01 13:51:06 PDT
Created
attachment 293585
[details]
Patch
Simon Fraser (smfr)
Comment 3
2016-11-01 13:58:03 PDT
Comment on
attachment 293585
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=293585&action=review
> Source/WebCore/ChangeLog:9 > + The new CSS parser doesn't want to use WebKitCSSFilterValue. It's non-standard,
"doesn't want to use" -> "should not use". Or say "don't bring WebKitCSSFilterValue over to the new parser".
> Source/WebCore/ChangeLog:15 > + We did use it in a few places, so it wasn't easy to get rid of. Most of the > + built-in filters could be covered by CSSFunctionValue. url() style filters > + become CSSPrimitiveValues that are of the URI type.
A bit too much story-telling here.
> Source/WebCore/css/CSSComputedStyleDeclaration.cpp:930 > + BasicColorMatrixFilterOperation& colorMatrixOperation = downcast<BasicColorMatrixFilterOperation>(filterOperation); > + filterValue = CSSFunctionValue::create(CSSValueGrayscale); > + filterValue->append(cssValuePool.createValue(colorMatrixOperation.amount(), CSSPrimitiveValue::CSS_NUMBER));
You could write these all as: filterValue = CSSFunctionValue::create(CSSValueGrayscale); filterValue->append(cssValuePool.createValue(downcast<BasicColorMatrixFilterOperation>(filterOperation).amount(), CSSPrimitiveValue::CSS_NUMBER));
Build Bot
Comment 4
2016-11-01 15:04:03 PDT
Comment on
attachment 293585
[details]
Patch
Attachment 293585
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/2446095
New failing tests: js/dom/global-constructors-attributes.html
Build Bot
Comment 5
2016-11-01 15:04:06 PDT
Created
attachment 293600
[details]
Archive of layout-test-results from ews104 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Dean Jackson
Comment 6
2016-11-01 15:43:33 PDT
Committed
r208253
: <
http://trac.webkit.org/changeset/208253
>
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