Closed Bug 308180 Opened 19 years ago Closed 19 years ago

one range missing when using type="discrete" on feFuncR/G/B/A

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: holger, Assigned: tor)

Details

Attachments

(3 files)

when applying a filter like this: 


    <filter id="Table" filterUnits="objectBoundingBox" 
            x="0%" y="0%" width="100%" height="100%">
      <feComponentTransfer color-interpolation-filters="sRGB">
        <feFuncR type="discrete" tableValues="0 1" />
      </feComponentTransfer>
    </filter>

to a gradientFilled shape, it should result in a the shape being filled with two
colors (black and red). there should be two regions, one consisting of all
points with a red component <= 127 (now filled black) and the other region with
a red component > 127(now filled red).
Attached image testcase
Attached image screenshot
expected behavior
Assignee: general → tor
Status: NEW → ASSIGNED
Attachment #195786 - Flags: review?(scootermorris)
Attachment #195786 - Flags: review?(scootermorris) → review+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: