From 369acffea8effcbeaff5b3ea839a4362943b8368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Thu, 4 Apr 2019 23:04:50 +0000 Subject: [PATCH] style: Make color and text-decoration-line not early properties. 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 --- components/style/properties/properties.mako.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index 99a91179150..bb9a9ef64c9 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -1270,17 +1270,6 @@ impl LonghandId { LonghandId::FontStyle | 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 // properties, and similar stuff. LonghandId::WritingMode |