Truly independent web browser
LibWeb: Preserve precision in presentational dimension hints
Andreas Kling5f1b679e28a4
diff --git a/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp b/Libraries/LibWeb/HTML/Parser/HTMLParser.cppindex 3da99c1e4e9..6f21a06334a 100644--- a/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp+++ b/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp@@ -2345,18 +2345,18 @@ static bool is_eof(StringType string, size_t position)return position >= code_unit_length(string);}-static RefPtr<CSS::StyleValue const> parse_current_dimension_value(float value, Utf16View input, size_t position)+static RefPtr<CSS::StyleValue const> parse_current_dimension_value(double value, Utf16View input, size_t position){// 1. If position is past the end of input, then return value as a length.if (is_eof(input, position))- return CSS::LengthStyleValue::create(CSS::Length::make_px(CSSPixels::nearest_value_for(value)));+ return CSS::LengthStyleValue::create(CSS::Length::make_px(value));// 2. If the code point at position within input is U+0025 (%), then return value as a percentage.if (code_unit_at(input, position) == '%')return CSS::PercentageStyleValue::create(CSS::Percentage(value));// 3. Return value as a length.- return CSS::LengthStyleValue::create(CSS::Length::make_px(CSSPixels::nearest_value_for(value)));+ return CSS::LengthStyleValue::create(CSS::Length::make_px(value));}// https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#rules-for-parsing-dimension-values@@ -2383,11 +2383,11 @@ RefPtr<CSS::StyleValue const> parse_dimension_value(Utf16View input)++position;}- float value = min(integer_value, CSSPixels::max_dimension_value);+ double value = min(integer_value, CSSPixels::max_dimension_value);// 6. If position is past the end of input, then return value as a length.if (is_eof(input, position))- return CSS::LengthStyleValue::create(CSS::Length::make_px(CSSPixels(value)));+ return CSS::LengthStyleValue::create(CSS::Length::make_px(value));// 7. If the code point at position within input is U+002E (.), then:if (code_unit_at(input, position) == '.') {@@ -2400,7 +2400,7 @@ RefPtr<CSS::StyleValue const> parse_dimension_value(Utf16View input)return parse_current_dimension_value(value, input, position);// 3. Let divisor have the value 1.- float divisor = 1;+ double divisor = 1;// 4. While true:while (true) {@@ -2416,7 +2416,7 @@ RefPtr<CSS::StyleValue const> parse_dimension_value(Utf16View input)// 4. If position is past the end of input, then return value as a length.if (is_eof(input, position))- return CSS::LengthStyleValue::create(CSS::Length::make_px(CSSPixels::nearest_value_for(value)));+ return CSS::LengthStyleValue::create(CSS::Length::make_px(value));// 5. If the code point at position within input is not an ASCII digit, then break.if (!is_ascii_digit(code_unit_at(input, position)))diff --git a/Tests/LibWeb/Text/expected/wpt-import/html/rendering/dimension-attributes.txt b/Tests/LibWeb/Text/expected/wpt-import/html/rendering/dimension-attributes.txtindex 26a71ccc77b..23224e496e3 100644--- a/Tests/LibWeb/Text/expected/wpt-import/html/rendering/dimension-attributes.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/html/rendering/dimension-attributes.txt@@ -2,13 +2,13 @@ Harness status: OKFound 1720 tests-1641 Pass-79 Fail+1682 Pass+38 FailPass <hr width="200"> mapping to <hr> width propertyPass <hr width="1007"> mapping to <hr> width propertyPass <hr width=" 00523 "> mapping to <hr> width propertyPass <hr width="200.25"> mapping to <hr> width property-Fail <hr width="200.7"> mapping to <hr> width property+Pass <hr width="200.7"> mapping to <hr> width propertyPass <hr width="200."> mapping to <hr> width propertyPass <hr width="200in"> mapping to <hr> width propertyPass <hr width="200.25in"> mapping to <hr> width property@@ -48,7 +48,7 @@ Pass <iframe width="200"> mapping to <iframe> width propertyPass <iframe width="1007"> mapping to <iframe> width propertyPass <iframe width=" 00523 "> mapping to <iframe> width propertyPass <iframe width="200.25"> mapping to <iframe> width property-Fail <iframe width="200.7"> mapping to <iframe> width property+Pass <iframe width="200.7"> mapping to <iframe> width propertyPass <iframe width="200."> mapping to <iframe> width propertyPass <iframe width="200in"> mapping to <iframe> width propertyPass <iframe width="200.25in"> mapping to <iframe> width property@@ -88,7 +88,7 @@ Pass <iframe height="200"> mapping to <iframe> height propertyPass <iframe height="1007"> mapping to <iframe> height propertyPass <iframe height=" 00523 "> mapping to <iframe> height propertyPass <iframe height="200.25"> mapping to <iframe> height property-Fail <iframe height="200.7"> mapping to <iframe> height property+Pass <iframe height="200.7"> mapping to <iframe> height propertyPass <iframe height="200."> mapping to <iframe> height propertyPass <iframe height="200in"> mapping to <iframe> height propertyPass <iframe height="200.25in"> mapping to <iframe> height property@@ -128,7 +128,7 @@ Pass <input width="200"> mapping to <input> width propertyPass <input width="1007"> mapping to <input> width propertyPass <input width=" 00523 "> mapping to <input> width propertyPass <input width="200.25"> mapping to <input> width property-Fail <input width="200.7"> mapping to <input> width property+Pass <input width="200.7"> mapping to <input> width propertyPass <input width="200."> mapping to <input> width propertyPass <input width="200in"> mapping to <input> width propertyPass <input width="200.25in"> mapping to <input> width property@@ -168,7 +168,7 @@ Pass <input height="200"> mapping to <input> height propertyPass <input height="1007"> mapping to <input> height propertyPass <input height=" 00523 "> mapping to <input> height propertyPass <input height="200.25"> mapping to <input> height property-Fail <input height="200.7"> mapping to <input> height property+Pass <input height="200.7"> mapping to <input> height propertyPass <input height="200."> mapping to <input> height propertyPass <input height="200in"> mapping to <input> height propertyPass <input height="200.25in"> mapping to <input> height property@@ -208,7 +208,7 @@ Pass <marquee width="200"> mapping to <marquee> width propertyPass <marquee width="1007"> mapping to <marquee> width propertyPass <marquee width=" 00523 "> mapping to <marquee> width propertyPass <marquee width="200.25"> mapping to <marquee> width property-Fail <marquee width="200.7"> mapping to <marquee> width property+Pass <marquee width="200.7"> mapping to <marquee> width propertyPass <marquee width="200."> mapping to <marquee> width propertyPass <marquee width="200in"> mapping to <marquee> width propertyPass <marquee width="200.25in"> mapping to <marquee> width property@@ -248,7 +248,7 @@ Pass <marquee height="200"> mapping to <marquee> height propertyPass <marquee height="1007"> mapping to <marquee> height propertyPass <marquee height=" 00523 "> mapping to <marquee> height propertyPass <marquee height="200.25"> mapping to <marquee> height property-Fail <marquee height="200.7"> mapping to <marquee> height property+Pass <marquee height="200.7"> mapping to <marquee> height propertyPass <marquee height="200."> mapping to <marquee> height propertyPass <marquee height="200in"> mapping to <marquee> height propertyPass <marquee height="200.25in"> mapping to <marquee> height property@@ -288,7 +288,7 @@ Pass <video width="200"> mapping to <video> width propertyPass <video width="1007"> mapping to <video> width propertyPass <video width=" 00523 "> mapping to <video> width propertyPass <video width="200.25"> mapping to <video> width property-Fail <video width="200.7"> mapping to <video> width property+Pass <video width="200.7"> mapping to <video> width propertyPass <video width="200."> mapping to <video> width propertyPass <video width="200in"> mapping to <video> width propertyPass <video width="200.25in"> mapping to <video> width property@@ -328,7 +328,7 @@ Pass <video height="200"> mapping to <video> height propertyPass <video height="1007"> mapping to <video> height propertyPass <video height=" 00523 "> mapping to <video> height propertyPass <video height="200.25"> mapping to <video> height property-Fail <video height="200.7"> mapping to <video> height property+Pass <video height="200.7"> mapping to <video> height propertyPass <video height="200."> mapping to <video> height propertyPass <video height="200in"> mapping to <video> height propertyPass <video height="200.25in"> mapping to <video> height property@@ -368,7 +368,7 @@ Pass <object width="200"> mapping to <object> width propertyPass <object width="1007"> mapping to <object> width propertyPass <object width=" 00523 "> mapping to <object> width propertyPass <object width="200.25"> mapping to <object> width property-Fail <object width="200.7"> mapping to <object> width property+Pass <object width="200.7"> mapping to <object> width propertyPass <object width="200."> mapping to <object> width propertyPass <object width="200in"> mapping to <object> width propertyPass <object width="200.25in"> mapping to <object> width property@@ -408,7 +408,7 @@ Pass <object height="200"> mapping to <object> height propertyPass <object height="1007"> mapping to <object> height propertyPass <object height=" 00523 "> mapping to <object> height propertyPass <object height="200.25"> mapping to <object> height property-Fail <object height="200.7"> mapping to <object> height property+Pass <object height="200.7"> mapping to <object> height propertyPass <object height="200."> mapping to <object> height propertyPass <object height="200in"> mapping to <object> height propertyPass <object height="200.25in"> mapping to <object> height property@@ -448,7 +448,7 @@ Pass <embed width="200"> mapping to <embed> width propertyPass <embed width="1007"> mapping to <embed> width propertyPass <embed width=" 00523 "> mapping to <embed> width propertyPass <embed width="200.25"> mapping to <embed> width property-Fail <embed width="200.7"> mapping to <embed> width property+Pass <embed width="200.7"> mapping to <embed> width propertyPass <embed width="200."> mapping to <embed> width propertyPass <embed width="200in"> mapping to <embed> width propertyPass <embed width="200.25in"> mapping to <embed> width property@@ -488,7 +488,7 @@ Pass <embed height="200"> mapping to <embed> height propertyPass <embed height="1007"> mapping to <embed> height propertyPass <embed height=" 00523 "> mapping to <embed> height propertyPass <embed height="200.25"> mapping to <embed> height property-Fail <embed height="200.7"> mapping to <embed> height property+Pass <embed height="200.7"> mapping to <embed> height propertyPass <embed height="200."> mapping to <embed> height propertyPass <embed height="200in"> mapping to <embed> height propertyPass <embed height="200.25in"> mapping to <embed> height property@@ -528,7 +528,7 @@ Pass <img width="200"> mapping to <img> width propertyPass <img width="1007"> mapping to <img> width propertyPass <img width=" 00523 "> mapping to <img> width propertyPass <img width="200.25"> mapping to <img> width property-Fail <img width="200.7"> mapping to <img> width property+Pass <img width="200.7"> mapping to <img> width propertyPass <img width="200."> mapping to <img> width propertyPass <img width="200in"> mapping to <img> width propertyPass <img width="200.25in"> mapping to <img> width property@@ -568,7 +568,7 @@ Pass <img height="200"> mapping to <img> height propertyPass <img height="1007"> mapping to <img> height propertyPass <img height=" 00523 "> mapping to <img> height propertyPass <img height="200.25"> mapping to <img> height property-Fail <img height="200.7"> mapping to <img> height property+Pass <img height="200.7"> mapping to <img> height propertyPass <img height="200."> mapping to <img> height propertyPass <img height="200in"> mapping to <img> height propertyPass <img height="200.25in"> mapping to <img> height property@@ -608,7 +608,7 @@ Pass <td width="200"> mapping to <td> width propertyPass <td width="1007"> mapping to <td> width propertyPass <td width=" 00523 "> mapping to <td> width propertyPass <td width="200.25"> mapping to <td> width property-Fail <td width="200.7"> mapping to <td> width property+Pass <td width="200.7"> mapping to <td> width propertyPass <td width="200."> mapping to <td> width propertyPass <td width="200in"> mapping to <td> width propertyPass <td width="200.25in"> mapping to <td> width property@@ -648,7 +648,7 @@ Pass <td height="200"> mapping to <td> height propertyPass <td height="1007"> mapping to <td> height propertyPass <td height=" 00523 "> mapping to <td> height propertyPass <td height="200.25"> mapping to <td> height property-Fail <td height="200.7"> mapping to <td> height property+Pass <td height="200.7"> mapping to <td> height propertyPass <td height="200."> mapping to <td> height propertyPass <td height="200in"> mapping to <td> height propertyPass <td height="200.25in"> mapping to <td> height property@@ -688,7 +688,7 @@ Pass <table width="200"> mapping to <table> width propertyPass <table width="1007"> mapping to <table> width propertyPass <table width=" 00523 "> mapping to <table> width propertyPass <table width="200.25"> mapping to <table> width property-Fail <table width="200.7"> mapping to <table> width property+Pass <table width="200.7"> mapping to <table> width propertyPass <table width="200."> mapping to <table> width propertyPass <table width="200in"> mapping to <table> width propertyPass <table width="200.25in"> mapping to <table> width property@@ -728,7 +728,7 @@ Pass <table height="200"> mapping to <table> height propertyPass <table height="1007"> mapping to <table> height propertyPass <table height=" 00523 "> mapping to <table> height propertyPass <table height="200.25"> mapping to <table> height property-Fail <table height="200.7"> mapping to <table> height property+Pass <table height="200.7"> mapping to <table> height propertyPass <table height="200."> mapping to <table> height propertyPass <table height="200in"> mapping to <table> height propertyPass <table height="200.25in"> mapping to <table> height property@@ -768,7 +768,7 @@ Pass <tr height="200"> mapping to <tr> height propertyPass <tr height="1007"> mapping to <tr> height propertyPass <tr height=" 00523 "> mapping to <tr> height propertyPass <tr height="200.25"> mapping to <tr> height property-Fail <tr height="200.7"> mapping to <tr> height property+Pass <tr height="200.7"> mapping to <tr> height propertyPass <tr height="200."> mapping to <tr> height propertyPass <tr height="200in"> mapping to <tr> height propertyPass <tr height="200.25in"> mapping to <tr> height property@@ -808,7 +808,7 @@ Pass <col width="200"> mapping to <col> width propertyPass <col width="1007"> mapping to <col> width propertyPass <col width=" 00523 "> mapping to <col> width propertyPass <col width="200.25"> mapping to <col> width property-Fail <col width="200.7"> mapping to <col> width property+Pass <col width="200.7"> mapping to <col> width propertyPass <col width="200."> mapping to <col> width propertyPass <col width="200in"> mapping to <col> width propertyPass <col width="200.25in"> mapping to <col> width property@@ -848,7 +848,7 @@ Pass <embed hspace="200"> mapping to <embed> marginLeft propertyPass <embed hspace="1007"> mapping to <embed> marginLeft propertyPass <embed hspace=" 00523 "> mapping to <embed> marginLeft propertyPass <embed hspace="200.25"> mapping to <embed> marginLeft property-Fail <embed hspace="200.7"> mapping to <embed> marginLeft property+Pass <embed hspace="200.7"> mapping to <embed> marginLeft propertyPass <embed hspace="200."> mapping to <embed> marginLeft propertyPass <embed hspace="200in"> mapping to <embed> marginLeft propertyPass <embed hspace="200.25in"> mapping to <embed> marginLeft property@@ -888,7 +888,7 @@ Pass <embed hspace="200"> mapping to <embed> marginRight propertyPass <embed hspace="1007"> mapping to <embed> marginRight propertyPass <embed hspace=" 00523 "> mapping to <embed> marginRight propertyPass <embed hspace="200.25"> mapping to <embed> marginRight property-Fail <embed hspace="200.7"> mapping to <embed> marginRight property+Pass <embed hspace="200.7"> mapping to <embed> marginRight propertyPass <embed hspace="200."> mapping to <embed> marginRight propertyPass <embed hspace="200in"> mapping to <embed> marginRight propertyPass <embed hspace="200.25in"> mapping to <embed> marginRight property@@ -928,7 +928,7 @@ Pass <embed vspace="200"> mapping to <embed> marginTop propertyPass <embed vspace="1007"> mapping to <embed> marginTop propertyPass <embed vspace=" 00523 "> mapping to <embed> marginTop propertyPass <embed vspace="200.25"> mapping to <embed> marginTop property-Fail <embed vspace="200.7"> mapping to <embed> marginTop property+Pass <embed vspace="200.7"> mapping to <embed> marginTop propertyPass <embed vspace="200."> mapping to <embed> marginTop propertyPass <embed vspace="200in"> mapping to <embed> marginTop propertyPass <embed vspace="200.25in"> mapping to <embed> marginTop property@@ -968,7 +968,7 @@ Pass <embed vspace="200"> mapping to <embed> marginBottom propertyPass <embed vspace="1007"> mapping to <embed> marginBottom propertyPass <embed vspace=" 00523 "> mapping to <embed> marginBottom propertyPass <embed vspace="200.25"> mapping to <embed> marginBottom property-Fail <embed vspace="200.7"> mapping to <embed> marginBottom property+Pass <embed vspace="200.7"> mapping to <embed> marginBottom propertyPass <embed vspace="200."> mapping to <embed> marginBottom propertyPass <embed vspace="200in"> mapping to <embed> marginBottom propertyPass <embed vspace="200.25in"> mapping to <embed> marginBottom property@@ -1008,7 +1008,7 @@ Pass <img hspace="200"> mapping to <img> marginLeft propertyPass <img hspace="1007"> mapping to <img> marginLeft propertyPass <img hspace=" 00523 "> mapping to <img> marginLeft propertyPass <img hspace="200.25"> mapping to <img> marginLeft property-Fail <img hspace="200.7"> mapping to <img> marginLeft property+Pass <img hspace="200.7"> mapping to <img> marginLeft propertyPass <img hspace="200."> mapping to <img> marginLeft propertyPass <img hspace="200in"> mapping to <img> marginLeft propertyPass <img hspace="200.25in"> mapping to <img> marginLeft property@@ -1048,7 +1048,7 @@ Pass <img hspace="200"> mapping to <img> marginRight propertyPass <img hspace="1007"> mapping to <img> marginRight propertyPass <img hspace=" 00523 "> mapping to <img> marginRight propertyPass <img hspace="200.25"> mapping to <img> marginRight property-Fail <img hspace="200.7"> mapping to <img> marginRight property+Pass <img hspace="200.7"> mapping to <img> marginRight propertyPass <img hspace="200."> mapping to <img> marginRight propertyPass <img hspace="200in"> mapping to <img> marginRight propertyPass <img hspace="200.25in"> mapping to <img> marginRight property@@ -1088,7 +1088,7 @@ Pass <img vspace="200"> mapping to <img> marginTop propertyPass <img vspace="1007"> mapping to <img> marginTop propertyPass <img vspace=" 00523 "> mapping to <img> marginTop propertyPass <img vspace="200.25"> mapping to <img> marginTop property-Fail <img vspace="200.7"> mapping to <img> marginTop property+Pass <img vspace="200.7"> mapping to <img> marginTop propertyPass <img vspace="200."> mapping to <img> marginTop propertyPass <img vspace="200in"> mapping to <img> marginTop propertyPass <img vspace="200.25in"> mapping to <img> marginTop property@@ -1128,7 +1128,7 @@ Pass <img vspace="200"> mapping to <img> marginBottom propertyPass <img vspace="1007"> mapping to <img> marginBottom propertyPass <img vspace=" 00523 "> mapping to <img> marginBottom propertyPass <img vspace="200.25"> mapping to <img> marginBottom property-Fail <img vspace="200.7"> mapping to <img> marginBottom property+Pass <img vspace="200.7"> mapping to <img> marginBottom propertyPass <img vspace="200."> mapping to <img> marginBottom propertyPass <img vspace="200in"> mapping to <img> marginBottom propertyPass <img vspace="200.25in"> mapping to <img> marginBottom property@@ -1168,7 +1168,7 @@ Pass <object hspace="200"> mapping to <object> marginLeft propertyPass <object hspace="1007"> mapping to <object> marginLeft propertyPass <object hspace=" 00523 "> mapping to <object> marginLeft propertyPass <object hspace="200.25"> mapping to <object> marginLeft property-Fail <object hspace="200.7"> mapping to <object> marginLeft property+Pass <object hspace="200.7"> mapping to <object> marginLeft propertyPass <object hspace="200."> mapping to <object> marginLeft propertyPass <object hspace="200in"> mapping to <object> marginLeft propertyPass <object hspace="200.25in"> mapping to <object> marginLeft property@@ -1208,7 +1208,7 @@ Pass <object hspace="200"> mapping to <object> marginRight propertyPass <object hspace="1007"> mapping to <object> marginRight propertyPass <object hspace=" 00523 "> mapping to <object> marginRight propertyPass <object hspace="200.25"> mapping to <object> marginRight property-Fail <object hspace="200.7"> mapping to <object> marginRight property+Pass <object hspace="200.7"> mapping to <object> marginRight propertyPass <object hspace="200."> mapping to <object> marginRight propertyPass <object hspace="200in"> mapping to <object> marginRight propertyPass <object hspace="200.25in"> mapping to <object> marginRight property@@ -1248,7 +1248,7 @@ Pass <object vspace="200"> mapping to <object> marginTop propertyPass <object vspace="1007"> mapping to <object> marginTop propertyPass <object vspace=" 00523 "> mapping to <object> marginTop propertyPass <object vspace="200.25"> mapping to <object> marginTop property-Fail <object vspace="200.7"> mapping to <object> marginTop property+Pass <object vspace="200.7"> mapping to <object> marginTop propertyPass <object vspace="200."> mapping to <object> marginTop propertyPass <object vspace="200in"> mapping to <object> marginTop propertyPass <object vspace="200.25in"> mapping to <object> marginTop property@@ -1288,7 +1288,7 @@ Pass <object vspace="200"> mapping to <object> marginBottom propertyPass <object vspace="1007"> mapping to <object> marginBottom propertyPass <object vspace=" 00523 "> mapping to <object> marginBottom propertyPass <object vspace="200.25"> mapping to <object> marginBottom property-Fail <object vspace="200.7"> mapping to <object> marginBottom property+Pass <object vspace="200.7"> mapping to <object> marginBottom propertyPass <object vspace="200."> mapping to <object> marginBottom propertyPass <object vspace="200in"> mapping to <object> marginBottom propertyPass <object vspace="200.25in"> mapping to <object> marginBottom property@@ -1328,7 +1328,7 @@ Pass <input hspace="200"> mapping to <input> marginLeft propertyPass <input hspace="1007"> mapping to <input> marginLeft propertyPass <input hspace=" 00523 "> mapping to <input> marginLeft propertyPass <input hspace="200.25"> mapping to <input> marginLeft property-Fail <input hspace="200.7"> mapping to <input> marginLeft property+Pass <input hspace="200.7"> mapping to <input> marginLeft propertyPass <input hspace="200."> mapping to <input> marginLeft propertyPass <input hspace="200in"> mapping to <input> marginLeft propertyPass <input hspace="200.25in"> mapping to <input> marginLeft property@@ -1368,7 +1368,7 @@ Pass <input hspace="200"> mapping to <input> marginRight propertyPass <input hspace="1007"> mapping to <input> marginRight propertyPass <input hspace=" 00523 "> mapping to <input> marginRight propertyPass <input hspace="200.25"> mapping to <input> marginRight property-Fail <input hspace="200.7"> mapping to <input> marginRight property+Pass <input hspace="200.7"> mapping to <input> marginRight propertyPass <input hspace="200."> mapping to <input> marginRight propertyPass <input hspace="200in"> mapping to <input> marginRight propertyPass <input hspace="200.25in"> mapping to <input> marginRight property@@ -1408,7 +1408,7 @@ Pass <input vspace="200"> mapping to <input> marginTop propertyPass <input vspace="1007"> mapping to <input> marginTop propertyPass <input vspace=" 00523 "> mapping to <input> marginTop propertyPass <input vspace="200.25"> mapping to <input> marginTop property-Fail <input vspace="200.7"> mapping to <input> marginTop property+Pass <input vspace="200.7"> mapping to <input> marginTop propertyPass <input vspace="200."> mapping to <input> marginTop propertyPass <input vspace="200in"> mapping to <input> marginTop propertyPass <input vspace="200.25in"> mapping to <input> marginTop property@@ -1448,7 +1448,7 @@ Pass <input vspace="200"> mapping to <input> marginBottom propertyPass <input vspace="1007"> mapping to <input> marginBottom propertyPass <input vspace=" 00523 "> mapping to <input> marginBottom propertyPass <input vspace="200.25"> mapping to <input> marginBottom property-Fail <input vspace="200.7"> mapping to <input> marginBottom property+Pass <input vspace="200.7"> mapping to <input> marginBottom propertyPass <input vspace="200."> mapping to <input> marginBottom propertyPass <input vspace="200in"> mapping to <input> marginBottom propertyPass <input vspace="200.25in"> mapping to <input> marginBottom property@@ -1488,7 +1488,7 @@ Pass <marquee hspace="200"> mapping to <marquee> marginLeft propertyPass <marquee hspace="1007"> mapping to <marquee> marginLeft propertyPass <marquee hspace=" 00523 "> mapping to <marquee> marginLeft propertyPass <marquee hspace="200.25"> mapping to <marquee> marginLeft property-Fail <marquee hspace="200.7"> mapping to <marquee> marginLeft property+Pass <marquee hspace="200.7"> mapping to <marquee> marginLeft propertyPass <marquee hspace="200."> mapping to <marquee> marginLeft propertyPass <marquee hspace="200in"> mapping to <marquee> marginLeft propertyPass <marquee hspace="200.25in"> mapping to <marquee> marginLeft property@@ -1528,7 +1528,7 @@ Pass <marquee hspace="200"> mapping to <marquee> marginRight propertyPass <marquee hspace="1007"> mapping to <marquee> marginRight propertyPass <marquee hspace=" 00523 "> mapping to <marquee> marginRight propertyPass <marquee hspace="200.25"> mapping to <marquee> marginRight property-Fail <marquee hspace="200.7"> mapping to <marquee> marginRight property+Pass <marquee hspace="200.7"> mapping to <marquee> marginRight propertyPass <marquee hspace="200."> mapping to <marquee> marginRight propertyPass <marquee hspace="200in"> mapping to <marquee> marginRight propertyPass <marquee hspace="200.25in"> mapping to <marquee> marginRight property@@ -1568,7 +1568,7 @@ Pass <marquee vspace="200"> mapping to <marquee> marginTop propertyPass <marquee vspace="1007"> mapping to <marquee> marginTop propertyPass <marquee vspace=" 00523 "> mapping to <marquee> marginTop propertyPass <marquee vspace="200.25"> mapping to <marquee> marginTop property-Fail <marquee vspace="200.7"> mapping to <marquee> marginTop property+Pass <marquee vspace="200.7"> mapping to <marquee> marginTop propertyPass <marquee vspace="200."> mapping to <marquee> marginTop propertyPass <marquee vspace="200in"> mapping to <marquee> marginTop propertyPass <marquee vspace="200.25in"> mapping to <marquee> marginTop property@@ -1608,7 +1608,7 @@ Pass <marquee vspace="200"> mapping to <marquee> marginBottom propertyPass <marquee vspace="1007"> mapping to <marquee> marginBottom propertyPass <marquee vspace=" 00523 "> mapping to <marquee> marginBottom propertyPass <marquee vspace="200.25"> mapping to <marquee> marginBottom property-Fail <marquee vspace="200.7"> mapping to <marquee> marginBottom property+Pass <marquee vspace="200.7"> mapping to <marquee> marginBottom propertyPass <marquee vspace="200."> mapping to <marquee> marginBottom propertyPass <marquee vspace="200in"> mapping to <marquee> marginBottom propertyPass <marquee vspace="200.25in"> mapping to <marquee> marginBottom property