[css-color] Remove the ColorParser abstraction.
Categories
(Core :: CSS Parsing and Computation, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox126 | --- | fixed |
People
(Reporter: tlouw, Assigned: tlouw)
Details
Attachments
(3 files, 1 obsolete file)
There is no more need for the ColorParser as it now only forwards into the ColorFunction enum.
| Assignee | ||
Comment 1•2 years ago
|
||
The ColorParser is not used any more as now it only forwards to the
ColorFunction enum.
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
Add a ColorFunction enum that can hold the results of a parsed color
with all the required information still intact.
| Assignee | ||
Comment 3•2 years ago
|
||
This abstraction was in place when the color parsing still lived in
the cssparser crate, but now it is not needed any more and by removing
it we make the parsing more flexible.
Note: the ColorParser trait itself is still in tact and will be
addressed in another patch.
Depends on D207007
| Assignee | ||
Comment 4•2 years ago
|
||
The ColorParser trait only has one implementation so we can make it a
concrete type now. It will be extended in the future.
Depends on D207008
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 6•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/279d170d3e2b
https://hg.mozilla.org/mozilla-central/rev/065f4b75e320
https://hg.mozilla.org/mozilla-central/rev/3b4ceebe267a
Description
•