Skip to content
Permalink
Browse files

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
  • Loading branch information...
emilio committed Apr 4, 2019
1 parent 5d27249 commit 369acffea8effcbeaff5b3ea839a4362943b8368
Showing with 0 additions and 11 deletions.
  1. +0 −11 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 |

0 comments on commit 369acff

Please sign in to comment.
You can’t perform that action at this time.