Bug 1574222 Comment 9 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

There is an example:
1.
```
color: blue;
text-decoration-color: currentColor;
text-decoration-thickness: 10px;
```
2.
```
color: blue;
text-decoration-color: blue;
text-decoration-thickness: 10px;
```
If we only serialize the values we specifiy from gCS(), (1) and (2) would have different results, i.e. `10px` v.s. `rgb(0, 0, 255) 10px`. However, both use blue as `text-decoration-color`, though (1) uses currentColor.

Looks like we need to always serialize all values in `text-decoration`?

Emilio, do you have any suggestion? Should gCS return all longhands for `text-decoration`?
There is an example:
1.
```
color: blue;
text-decoration-color: currentColor;
text-decoration-thickness: 10px;
```
2.
```
color: blue;
text-decoration-color: blue;
text-decoration-thickness: 10px;
```
If we only serialize the values we specifiy from gCS(), (1) and (2) would have different results, i.e. `10px` v.s. `rgb(0, 0, 255) 10px`. However, both use blue as `text-decoration-color`, though (1) uses currentColor.

Looks like we need to always serialize all longhands in `text-decoration`?

Emilio, do you have any suggestion? Should gCS return all longhands for `text-decoration`?

Back to Bug 1574222 Comment 9