WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
190657
Parse paint() and store paint callbacks for CSS Painting API
https://bugs.webkit.org/show_bug.cgi?id=190657
Summary
Parse paint() and store paint callbacks for CSS Painting API
Justin Michaud
Reported
2018-10-16 22:37:22 PDT
Implement support for parsing paint() images in css, and store CSS paint callback objects in the paint definition map.
Attachments
Patch
(25.22 KB, patch)
2018-10-16 23:10 PDT
,
Justin Michaud
no flags
Details
Formatted Diff
Diff
Patch
(24.71 KB, patch)
2018-10-17 10:53 PDT
,
Justin Michaud
no flags
Details
Formatted Diff
Diff
Patch
(25.29 KB, patch)
2018-10-17 15:26 PDT
,
Justin Michaud
no flags
Details
Formatted Diff
Diff
Patch
(25.31 KB, patch)
2018-10-17 15:51 PDT
,
Justin Michaud
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Justin Michaud
Comment 1
2018-10-16 23:10:17 PDT
Created
attachment 352551
[details]
Patch
Justin Michaud
Comment 2
2018-10-17 10:53:12 PDT
Created
attachment 352590
[details]
Patch
Justin Michaud
Comment 3
2018-10-17 15:26:35 PDT
Created
attachment 352652
[details]
Patch
Dean Jackson
Comment 4
2018-10-17 15:37:48 PDT
Comment on
attachment 352652
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=352652&action=review
> Source/WebCore/css/CSSImageGeneratorValue.cpp:155 > + return nullptr;
Not essential, but it seems you'll need to implement image() isFixedSize() fixedSize() isPending() and knownToBeOpaque() anyway, so maybe you should do that now with stubs?
> Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:1294 > + // FIXME: should parse arguments
Nit: .
> Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:1296 > + while (!args.atEnd()) > + args.consume();
Should you return nullptr if there are arguments for now? I guess not.
> Source/WebCore/platform/mediastream/mac/RealtimeVideoUtilities.h:27 > +#pragma once > +
Wow :)
Justin Michaud
Comment 5
2018-10-17 15:51:51 PDT
Created
attachment 352656
[details]
Patch
WebKit Commit Bot
Comment 6
2018-10-17 19:47:07 PDT
Comment on
attachment 352656
[details]
Patch Clearing flags on attachment: 352656 Committed
r237243
: <
https://trac.webkit.org/changeset/237243
>
WebKit Commit Bot
Comment 7
2018-10-17 19:47:09 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8
2018-10-17 19:48:23 PDT
<
rdar://problem/45360435
>
Emilio Cobos Álvarez (:emilio)
Comment 9
2018-10-18 02:01:01 PDT
Comment on
attachment 352656
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=352656&action=review
> Source/WebCore/css/CSSPaintImageValue.cpp:40 > + result.append(m_name);
Drive-by, but I think this needs to be escaped as an identifier. I'm ~sure this would yield wrong results for stuff like paint(foo\ bar).
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