Closed
Bug 1457351
Opened 7 years ago
Closed 7 years ago
color attribute has no effect on feFlood element.
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: u480271, Assigned: longsonr)
Details
Attachments
(2 files)
502 bytes,
text/html
|
Details | |
2.17 KB,
patch
|
heycam
:
review+
|
Details | Diff | Splinter Review |
A `color="..."` attribute on <feFlood> element appears to have no effect (as shown in the attached sample).
Changing color attribute to `style="color: ..."`, successfully sets the color.
Assignee | ||
Comment 1•7 years ago
|
||
invalid |
There's no such thing as a color attribute in SVG.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 2•7 years ago
|
||
invalid |
Actually no. The SVG resolved
a) not to add any new CSS properties as attributes in SVG 2 and
b) to add a color property per https://www.w3.org/TR/SVG2/painting.html#ColorProperty
Does any other browser support this property as an attribute?
Status: RESOLVED → UNCONFIRMED
Ever confirmed: false
Resolution: INVALID → ---
Comment 3•7 years ago
|
||
We do support a color="" presentation attribute (it was one of the properties that was in SVG 1) but seemingly not on all elements.
Assignee | ||
Comment 4•7 years ago
|
||
We just missed it from one spot. I'm clearly not on form at the moment.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Both Chrome (66.0.3359.139) and Safari (11.1) accept `color="green"`
Assignee | ||
Comment 6•7 years ago
|
||
Assignee: nobody → longsonr
Attachment #8971455 -
Flags: review?(cam)
Assignee | ||
Comment 7•7 years ago
|
||
(In reply to Dan Glastonbury (:kamidphish) | needinfo me from comment #5)
> Both Chrome (66.0.3359.139) and Safari (11.1) accept `color="green"`
Indeed, sorry about the mess here.
Comment 8•7 years ago
|
||
Comment on attachment 8971455 [details] [diff] [review]
map color in filters
Review of attachment 8971455 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good, thanks. There is the broader issue of making (nearly) all presentation attributes available on all SVG namespaced elements, per https://svgwg.org/svg2-draft/styling.html#PresentationAttributes, but I'll file a separate bug about that.
Attachment #8971455 -
Flags: review?(cam) → review+
Comment 9•7 years ago
|
||
Filed bug 1457360 for that.
Assignee | ||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Pushed by longsonr@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4b0e963b050b
color attribute should apply to filters. r=heycam
Comment 12•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago → 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•