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

Side by Side Diff: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/bottom.html

Issue 2692043004: [Typed OM] Output correct types from CSSKeywordValue for css-wide keywords (Closed)
Patch Set: Remove debugging code; use getComputedStyle instead of offsetTop Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/property-suite.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src='../../../resources/testharness.js'></script> 2 <script src='../../../resources/testharness.js'></script>
3 <script src='../../../resources/testharnessreport.js'></script> 3 <script src='../../../resources/testharnessreport.js'></script>
4 <script src='property-suite.js'></script> 4 <script src='property-suite.js'></script>
5 5
6 <div id="testElement"></div>
7
8 <script> 6 <script>
9 7
10 runInlineStylePropertyMapTests({ 8 runInlineStylePropertyMapTests({
11 property: 'bottom', 9 property: 'bottom',
12 validKeywords: [ 10 validKeywords: [
13 'auto' 11 'auto'
14 ], 12 ],
15 validObjects: [ 13 validObjects: [
16 new CSSSimpleLength(1, 'px'), 14 new CSSSimpleLength(1, 'px'),
17 new CSSSimpleLength(2, 'percent'), 15 new CSSSimpleLength(2, 'percent'),
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Contains multiplication 56 // Contains multiplication
59 'calc(3 * (5px - 2%))': new CSSCalcLength({px: 15, percent: -6}), 57 'calc(3 * (5px - 2%))': new CSSCalcLength({px: 15, percent: -6}),
60 // Contains division 58 // Contains division
61 'calc((5vmin + 1mm) / 2)': new CSSCalcLength({vmin: 2.5, mm: 0.5}), 59 'calc((5vmin + 1mm) / 2)': new CSSCalcLength({vmin: 2.5, mm: 0.5}),
62 }, 60 },
63 supportsMultiple: false, 61 supportsMultiple: false,
64 invalidObjects: [new CSSNumberValue(1)] 62 invalidObjects: [new CSSNumberValue(1)]
65 }); 63 });
66 64
67 </script> 65 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/property-suite.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698