Bug 760345 - Make color and text-decoration-line not early properties. r=heycam

The text-decoration-line is a drive-by thing, but I can put it in a separate
patch if you want. It was needed for Servo (to compute
-servo-text-decorations-in-effect), but I moved Servo away from that model a
while ago.

Differential Revision: https://phabricator.services.mozilla.com/D26254

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Emilio Cobos Álvarez 2019-04-04 23:04:50 +00:00
parent 7980a72d0a
commit 605558adcc

View File

@ -1270,17 +1270,6 @@ impl LonghandId {
LonghandId::FontStyle | LonghandId::FontStyle |
LonghandId::FontFamily | LonghandId::FontFamily |
// Needed to resolve currentcolor at computed value time properly.
//
// FIXME(emilio): All the properties should be moved to currentcolor
// as a computed-value (and thus resolving it at used-value time).
//
// This would allow this property to go away from this list.
LonghandId::Color |
// FIXME(emilio): There's no reason for this afaict, nuke it.
LonghandId::TextDecorationLine |
// Needed to properly compute the writing mode, to resolve logical // Needed to properly compute the writing mode, to resolve logical
// properties, and similar stuff. // properties, and similar stuff.
LonghandId::WritingMode | LonghandId::WritingMode |