Closed
Bug 1444059
Opened 7 years ago
Closed 7 years ago
Expected color but found ‘-moz-activehyperlinktext’. Error in parsing value for ‘color’. Declaration dropped.
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
People
(Reporter: Paenglab, Assigned: emilio)
Details
With locally built TB 60 I see this error: Expected color but found ‘-moz-activehyperlinktext’. Error in parsing value for ‘color’. Declaration dropped.
I see this also when I set this color in FX.
With a official Daily, where stylo is disabled, I don't see this error. So it's probably a stylo error.
Comment 1•7 years ago
|
||
> #[derive(Clone, Copy, Debug, Eq, Hash, MallocSizeOf, Parse, PartialEq, ToCss)]
> pub enum SpecialColorKeyword {
> MozDefaultColor,
> MozDefaultBackgroundColor,
> MozHyperlinktext,
> MozActiveHyperlinktext,
> MozVisitedHyperlinktext,
> }
So it is actually changed to -moz-active-hyperlinktext, which is regressed by servo/servo#19903.
Comment 2•7 years ago
|
||
Fixing this should be pretty trivial... Just change the case...
Assignee | ||
Comment 3•7 years ago
|
||
(In reply to Xidorn Quan [:xidorn] UTC+10 from comment #1)
> > #[derive(Clone, Copy, Debug, Eq, Hash, MallocSizeOf, Parse, PartialEq, ToCss)]
> > pub enum SpecialColorKeyword {
> > MozDefaultColor,
> > MozDefaultBackgroundColor,
> > MozHyperlinktext,
> > MozActiveHyperlinktext,
> > MozVisitedHyperlinktext,
> > }
>
> So it is actually changed to -moz-active-hyperlinktext, which is regressed
> by servo/servo#19903.
Actually, these values seem unused and untested, can't we just rip them off?
Assignee | ||
Comment 4•7 years ago
|
||
Seems like they're obsolete (they were used until when we have a pref sheet). The only test is disabled (bug 1207190), lol.
I'll fix them for now because I can't remove the DefaultBackgroundColor one (is used), and I don't want to do the intent to unship dance just for three hyperlink constants.
Comment 6•7 years ago
|
||
This has been fixed by servo/servo#20240.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Assignee: nobody → emilio
You need to log in
before you can comment on or make changes to this bug.
Description
•