Closed Bug 1390697 Opened 7 years ago Closed 7 years ago

stylo: Support currentcolor for text-shadow and box-shadow

Categories

(Core :: CSS Parsing and Computation, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: hiro, Assigned: xidorn)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I haven't dug into detail where we fail though.  Attachment example works on gecko but don't work on stylo.
nsCSSShadowItem doesn't use ComplexColor, so it must be that, we compute currentcolor to concrete color value during computation in Gecko when the "currentcolor" keyword presents.
Priority: -- → P2
We should just use Gecko's approach for now. We can support ComplexColor for shadows in the future.
Assignee: nobody → xidorn+moz
https://hg.mozilla.org/mozilla-central/rev/52ebb46c64c0
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: