Bug 128393

Summary: -webkit-clip-path should support fill, stroke, view-box keywords
Product: WebKit Reporter: Dirk Schulze <krit>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, commit-queue, dino, d-r, esprehn+autocc, fmalita, glenn, gyuyoung.kim, kling, kondapallykalyan, macpherson, menard, pdr, rniwa, schenney, sergio, simon.fraser, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://dev.w3.org/fxtf/masking/#typedef-geometry-box
Attachments:
Description Flags
Patch
none
Patch
none
Patch
buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2
none
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion
none
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2
none
Archive of layout-test-results from webkit-ews-01 for mac-mountainlion
none
Patch none

Description Dirk Schulze 2014-02-07 13:25:23 PST
The CSS Masking specification demands the support of the keywords fill, stroke and view-box. The keyword bounding-box should be removed instead (never shipped in a browser).
Comment 1 Dirk Schulze 2014-02-09 05:35:24 PST
Created attachment 223628 [details]
Patch
Comment 2 Dirk Schulze 2014-02-09 08:49:47 PST
Created attachment 223629 [details]
Patch
Comment 3 Dirk Schulze 2014-02-09 08:53:09 PST
Created attachment 223630 [details]
Patch
Comment 4 Build Bot 2014-02-09 10:03:48 PST
Comment on attachment 223630 [details]
Patch

Attachment 223630 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/6373636105568256

New failing tests:
fast/masking/parsing-clip-path-shape.html
Comment 5 Build Bot 2014-02-09 10:03:56 PST
Created attachment 223631 [details]
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-13  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 6 Build Bot 2014-02-09 10:35:54 PST
Comment on attachment 223630 [details]
Patch

Attachment 223630 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/5582130138578944

New failing tests:
fast/masking/parsing-clip-path-shape.html
Comment 7 Build Bot 2014-02-09 10:35:59 PST
Created attachment 223633 [details]
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-04  Port: mac-mountainlion  Platform: Mac OS X 10.8.5
Comment 8 Build Bot 2014-02-09 10:56:31 PST
Comment on attachment 223630 [details]
Patch

Attachment 223630 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/5388951099539456

New failing tests:
fast/masking/parsing-clip-path-shape.html
Comment 9 Build Bot 2014-02-09 10:56:36 PST
Created attachment 223634 [details]
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-14  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 10 Build Bot 2014-02-09 11:39:57 PST
Comment on attachment 223630 [details]
Patch

Attachment 223630 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/5480236200230912

New failing tests:
fast/masking/parsing-clip-path-shape.html
Comment 11 Build Bot 2014-02-09 11:40:03 PST
Created attachment 223636 [details]
Archive of layout-test-results from webkit-ews-01 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-01  Port: mac-mountainlion  Platform: Mac OS X 10.8.5
Comment 12 Dirk Schulze 2014-02-09 16:42:29 PST
Created attachment 223657 [details]
Patch

Forgot to update test expectation.
Comment 13 Dean Jackson 2014-02-09 21:25:44 PST
Comment on attachment 223657 [details]
Patch

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

> Source/WebCore/rendering/svg/SVGRenderingContext.cpp:128
> +            // FIXME: strokeBoundingBox() takes dasharray into account but shouldn't.

Where is the bug? :)
Comment 14 Dirk Schulze 2014-02-09 21:27:29 PST
(In reply to comment #13)
> (From update of attachment 223657 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=223657&action=review
> 
> > Source/WebCore/rendering/svg/SVGRenderingContext.cpp:128
> > +            // FIXME: strokeBoundingBox() takes dasharray into account but shouldn't.
> 
> Where is the bug? :)

I hoped to find a reviewer not noticing the missing link. Will open the bug now :D
Comment 15 WebKit Commit Bot 2014-02-09 21:57:43 PST
Comment on attachment 223657 [details]
Patch

Clearing flags on attachment: 223657

Committed r163764: <http://trac.webkit.org/changeset/163764>
Comment 16 WebKit Commit Bot 2014-02-09 21:57:48 PST
All reviewed patches have been landed.  Closing bug.