Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: LayoutTests/fast/css/calc-rounding.html

Issue 888743002: Force unitless data-expected attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Redo percentage-height-when-height-specified-by-top-bottom.html onload change Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css/calc-rounding.html
diff --git a/LayoutTests/fast/css/calc-rounding.html b/LayoutTests/fast/css/calc-rounding.html
index 230b36e9059aa5c7fc0c8a166a242e63aa6d3872..3e357607e5fed817c69d228f891935a835d5bfa7 100644
--- a/LayoutTests/fast/css/calc-rounding.html
+++ b/LayoutTests/fast/css/calc-rounding.html
@@ -23,8 +23,8 @@
<body onload="checkLayout('#outerDiv')">
<p>Test that a calc() with a percentage against a containing block with a
fractional width does not round to integer.</p>
- <div id="outerDiv" data-expected-width="100.5px" data-expected-height="100.5px">
- <div id="innerDiv" data-expected-width="90px" data-expected-height="100.5px"></div>
- <div id="remainderDiv" data-expected-width="10.5px" data-expected-height="100.5px"></div>
+ <div id="outerDiv" data-expected-width="100.5" data-expected-height="100.5">
+ <div id="innerDiv" data-expected-width="90" data-expected-height="100.5"></div>
+ <div id="remainderDiv" data-expected-width="10.5" data-expected-height="100.5"></div>
</div>
</body>

Powered by Google App Engine
This is Rietveld 408576698