Rename HAS_TEXT_DECORATION_LINE to match gecko side name.

This commit is contained in:
Xidorn Quan 2017-07-14 10:33:50 +10:00
parent 5270b766c1
commit 2a05c29c30
2 changed files with 7 additions and 7 deletions

View file

@ -329,8 +329,8 @@ trait PrivateMatchMethods: TElement {
// We need to cascade the children in order to ensure the
// correct propagation of text-decoration-line, which is a reset
// property.
if old_values.flags.contains(HAS_TEXT_DECORATION_LINE) !=
new_values.flags.contains(HAS_TEXT_DECORATION_LINE) {
if old_values.flags.contains(HAS_TEXT_DECORATION_LINES) !=
new_values.flags.contains(HAS_TEXT_DECORATION_LINES) {
return ChildCascadeRequirement::MustCascadeChildren;
}
ChildCascadeRequirement::CanSkipCascade