Closed
Bug 1492694
Opened 7 years ago
Closed 7 years ago
invalid filter primitive in="" attributes should be treated as if they weren't specified
Categories
(Core :: SVG, enhancement, P3)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla64
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | fixed |
People
(Reporter: heycam, Assigned: heycam)
Details
Attachments
(1 file)
We currently make the entire filter invalid in this case.
| Comment hidden (obsolete) |
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 5•7 years ago
|
||
Yes, it's specified in https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in:
References to non-existent results will be treated as if no result was specified.
Chrome behaves this way at least.
Flags: needinfo?(cam)
Comment 6•7 years ago
|
||
Comment on attachment 9010517 [details]
Bug 1492694 - Treat invalid in="" attributes as if they weren't specified
Robert Longson [:longsonr] has approved the revision.
Attachment #9010517 -
Flags: review+
| Assignee | ||
Comment 7•7 years ago
|
||
Safari matches current Firefox behavior (those two tests show red rects).
Edge matches current Firefox behavior for the first subtest, but fails in a different way (it shows a green/blue rect) in the second subtest.
| Assignee | ||
Comment 8•7 years ago
|
||
Anyway, although Chrome is the only one matching the spec right now, the spec requirement seems reasonable, and hopefully the tests will help nudge the others to change.
| Assignee | ||
Comment 9•7 years ago
|
||
(In reply to Cameron McCormack (:heycam) from comment #7)
> Edge matches current Firefox behavior for the first subtest, but fails in a
> different way (it shows a green/blue rect) in the second subtest.
My mistake, that was a bug in the second test. :-) Edge passes this test with the correction.
| Assignee | ||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Pushed by cmccormack@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4fa839cdb888
Treat invalid in="" attributes as if they weren't specified r=longsonr
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13107 for changes under testing/web-platform/tests
Can't merge web-platform-tests PR due to failing upstream checks:
Github PR https://github.com/web-platform-tests/wpt/pull/13107
* Taskcluster (pull_request) (https://tools.taskcluster.net/task-group-inspector/#/fsp7UtvUTiG8AvjwTLnwKw)
* continuous-integration/travis-ci/pr (https://travis-ci.org/web-platform-tests/wpt/builds/430954817?utm_source=github_status&utm_medium=notification)
Comment 14•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Comment 15•7 years ago
|
||
Pushed by cmccormack@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/06523f0124bb
Followup to avoid some filter fuzziness. r=me
Comment 16•7 years ago
|
||
| bugherder | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•