| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) | 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
| 4 * reserved. | 4 * reserved. |
| 5 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 5 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1249 bool ComputedStyle::hasWillChangeTransformHint() const { | 1249 bool ComputedStyle::hasWillChangeTransformHint() const { |
| 1250 for (const auto& property : | 1250 for (const auto& property : |
| 1251 m_rareNonInheritedData->m_willChange->m_properties) { | 1251 m_rareNonInheritedData->m_willChange->m_properties) { |
| 1252 switch (property) { | 1252 switch (property) { |
| 1253 case CSSPropertyTransform: | 1253 case CSSPropertyTransform: |
| 1254 case CSSPropertyAliasWebkitTransform: | 1254 case CSSPropertyAliasWebkitTransform: |
| 1255 case CSSPropertyPerspective: | 1255 case CSSPropertyPerspective: |
| 1256 case CSSPropertyTranslate: | 1256 case CSSPropertyTranslate: |
| 1257 case CSSPropertyScale: | 1257 case CSSPropertyScale: |
| 1258 case CSSPropertyRotate: | 1258 case CSSPropertyRotate: |
| 1259 case CSSPropertyOffsetPath: |
| 1260 case CSSPropertyOffsetPosition: |
| 1259 return true; | 1261 return true; |
| 1260 default: | 1262 default: |
| 1261 break; | 1263 break; |
| 1262 } | 1264 } |
| 1263 } | 1265 } |
| 1264 return false; | 1266 return false; |
| 1265 } | 1267 } |
| 1266 | 1268 |
| 1267 bool ComputedStyle::requireTransformOrigin( | 1269 bool ComputedStyle::requireTransformOrigin( |
| 1268 ApplyTransformOrigin applyOrigin, | 1270 ApplyTransformOrigin applyOrigin, |
| (...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2476 if (value < 0) | 2478 if (value < 0) |
| 2477 fvalue -= 0.5f; | 2479 fvalue -= 0.5f; |
| 2478 else | 2480 else |
| 2479 fvalue += 0.5f; | 2481 fvalue += 0.5f; |
| 2480 } | 2482 } |
| 2481 | 2483 |
| 2482 return roundForImpreciseConversion<int>(fvalue / zoomFactor); | 2484 return roundForImpreciseConversion<int>(fvalue / zoomFactor); |
| 2483 } | 2485 } |
| 2484 | 2486 |
| 2485 } // namespace blink | 2487 } // namespace blink |
| OLD | NEW |