diff --git a/test/html5/test_sanitizer.rb b/test/html5/test_sanitizer.rb
index 0a3fad96..49c3974c 100755
--- a/test/html5/test_sanitizer.rb
+++ b/test/html5/test_sanitizer.rb
@@ -275,6 +275,12 @@ def test_css_negative_value_sanitization_shorthand_css_properties
assert_match %r/-0.05em/, sane.inner_html
end
+ def test_css_high_precision_value_shorthand_css_properties
+ html = ""
+ sane = Nokogiri::HTML(Loofah.scrub_fragment(html, :escape).to_xml)
+ assert_match %r/0.3333333334em/, sane.inner_html
+ end
+
def test_css_function_sanitization_leaves_whitelisted_functions_calc
html = ""
sane = Nokogiri::HTML(Loofah.scrub_fragment(html, :strip).to_html)