From d690f14bbafe2cf5509a94c7814f34979d6a8070 Mon Sep 17 00:00:00 2001 From: Hiroyuki Ikezoe Date: Wed, 19 Nov 2014 03:20:00 +0200 Subject: [PATCH] Bug 1101311 - Use text-decoration-* instead of -moz-text-decoration. r=florian, a=me --- chat/modules/imContentSink.jsm | 8 ++++---- chat/modules/test/test_filtering.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/chat/modules/imContentSink.jsm b/chat/modules/imContentSink.jsm index d6ff224da2..4ebc5e7b6f 100644 --- a/chat/modules/imContentSink.jsm +++ b/chat/modules/imContentSink.jsm @@ -102,7 +102,7 @@ const kStandardMode = { styles: { 'font-style': true, 'font-weight': true, - '-moz-text-decoration-line': true + 'text-decoration-line': true } }; @@ -150,9 +150,9 @@ const kPermissiveMode = { 'font-size': true, 'font-style': true, 'font-weight': true, - '-moz-text-decoration-color': true, - '-moz-text-decoration-style': true, - '-moz-text-decoration-line': true + 'text-decoration-color': true, + 'text-decoration-style': true, + 'text-decoration-line': true } }; diff --git a/chat/modules/test/test_filtering.js b/chat/modules/test/test_filtering.js index 897f311570..82206cd375 100644 --- a/chat/modules/test/test_filtering.js +++ b/chat/modules/test/test_filtering.js @@ -148,8 +148,8 @@ function test_standardMode() { let string = "foo"; do_check_eq(string, cleanupImMarkup(string)); } - // text-decoration is a shorthand for several -moz-text-decoration properties. - do_check_eq("foo", + // text-decoration is a shorthand for several text-decoration properties. + do_check_eq("foo", cleanupImMarkup("foo")); const badCSS = [