Bug 114414 - [CSS Shaders] Parse mix descriptor
Summary: [CSS Shaders] Parse mix descriptor
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dirk Schulze
URL:
Keywords:
Depends on:
Blocks: 113695
  Show dependency treegraph
 
Reported: 2013-04-10 23:16 PDT by Dirk Schulze
Modified: 2013-04-11 08:54 PDT (History)
10 users (show)

See Also:


Attachments
Patch (34.70 KB, patch)
2013-04-10 23:23 PDT, Dirk Schulze
no flags Details | Formatted Diff | Diff
Patch (34.94 KB, patch)
2013-04-11 08:16 PDT, Dirk Schulze
no flags Details | Formatted Diff | Diff
Patch (34.94 KB, patch)
2013-04-11 08:22 PDT, Dirk Schulze
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schulze 2013-04-10 23:16:38 PDT
Parse mix descriptor on @filter rule.
Comment 1 Dirk Schulze 2013-04-10 23:23:24 PDT
Created attachment 197511 [details]
Patch
Comment 2 Antti Koivisto 2013-04-11 07:57:53 PDT
Comment on attachment 197511 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=197511&action=review

> Source/WebCore/ChangeLog:9
> +        Reviewed by NOBODY (OOPS!).
> +
> +        Add support for the 'mix' descriptor to support blend modes and composite
> +        operators in CSS Shaders.

A brief description of what it does would be nice. You should also include a link to the spec.
Comment 3 Antti Koivisto 2013-04-11 08:00:48 PDT
Comment on attachment 197511 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=197511&action=review

> Source/WebCore/css/CSSParser.cpp:2357
> +        if (m_inFilterRule)
> +            return parseFilterRuleMix();
> +        return false;

I would do early return on exception.

if (!m_inFilterRule) 
    return false;
...
Comment 4 Dirk Schulze 2013-04-11 08:16:18 PDT
Created attachment 197589 [details]
Patch
Comment 5 WebKit Commit Bot 2013-04-11 08:18:38 PDT
Comment on attachment 197589 [details]
Patch

Rejecting attachment 197589 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-commit-queue.appspot.com', '--bot-id=webkit-cq-01', 'validate-changelog', '--non-interactive', 197589, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

/Volumes/Data/EWS/WebKit/LayoutTests/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).

Full output: http://webkit-commit-queue.appspot.com/results/17638084
Comment 6 Dirk Schulze 2013-04-11 08:22:25 PDT
Created attachment 197590 [details]
Patch
Comment 7 WebKit Commit Bot 2013-04-11 08:54:01 PDT
Comment on attachment 197590 [details]
Patch

Clearing flags on attachment: 197590

Committed r148205: <http://trac.webkit.org/changeset/148205>
Comment 8 WebKit Commit Bot 2013-04-11 08:54:04 PDT
All reviewed patches have been landed.  Closing bug.