| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "sky/engine/config.h" | |
| 6 #include "sky/engine/core/css/parser/SizesCalcParser.h" | 5 #include "sky/engine/core/css/parser/SizesCalcParser.h" |
| 7 | 6 |
| 8 #include "gen/sky/core/MediaTypeNames.h" | 7 #include "gen/sky/core/MediaTypeNames.h" |
| 9 #include "sky/engine/core/css/CSSPrimitiveValue.h" | 8 #include "sky/engine/core/css/CSSPrimitiveValue.h" |
| 10 #include "sky/engine/core/css/MediaValuesCached.h" | 9 #include "sky/engine/core/css/MediaValuesCached.h" |
| 11 #include "sky/engine/core/css/StylePropertySet.h" | 10 #include "sky/engine/core/css/StylePropertySet.h" |
| 12 #include "sky/engine/core/css/parser/MediaQueryTokenizer.h" | 11 #include "sky/engine/core/css/parser/MediaQueryTokenizer.h" |
| 13 | 12 |
| 14 #include <gtest/gtest.h> | 13 #include <gtest/gtest.h> |
| 15 | 14 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 } | 128 } |
| 130 | 129 |
| 131 for (unsigned i = 0; testCases[i].input; ++i) { | 130 for (unsigned i = 0; testCases[i].input; ++i) { |
| 132 if (testCases[i].dontRunInCSSCalc) | 131 if (testCases[i].dontRunInCSSCalc) |
| 133 continue; | 132 continue; |
| 134 verifyCSSCalc(testCases[i].input, testCases[i].output, testCases[i].vali
d, data.defaultFontSize, data.viewportWidth, data.viewportHeight); | 133 verifyCSSCalc(testCases[i].input, testCases[i].output, testCases[i].vali
d, data.defaultFontSize, data.viewportWidth, data.viewportHeight); |
| 135 } | 134 } |
| 136 } | 135 } |
| 137 | 136 |
| 138 } // namespace | 137 } // namespace |
| OLD | NEW |