layout.css.always_underline_links overrides existing text-decoration
Categories
(Core :: CSS Parsing and Computation, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: saschanaz, Assigned: emilio)
References
Details
Attachments
(1 external file)
Any existing non-underline properties like text-decoration: line-through is overridden by the pref, which can negatively affect site usability e.g. in Bugzilla.
Not sure this is easily fixable, as fixing it in normal CSS would require a separate div that adds the property.
| Reporter | ||
Comment 1•1 month ago
|
||
Perhaps !important can go away to mitigate the issue?
| Assignee | ||
Comment 2•1 month ago
|
||
Yeah this is sorta working-as-expected. Removing !important would totally break the feature.
The only reasonable fix I can think of would be moving the feature to C++ or Rust. Probably the easiest way would be something like StyleAdjuster::adjust_for_link_underlines or so?
| Assignee | ||
Comment 3•1 month ago
|
||
Updated•1 month ago
|
Comment 6•1 month ago
•
|
||
Backed out for causing failures complaining about testAlwaysUnderlineLinks.
Backout link: https://hg.mozilla.org/integration/autoland/rev/9f8cbc5276e0
Failure log: https://treeherder.mozilla.org/logviewer?job_id=598800776&repo=autoland&task=Z5ry87o3TzW4Mybcil1z6g.0&lineNumber=8340
| Assignee | ||
Updated•1 month ago
|
Updated•17 days ago
|
Description
•