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 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
802 other.m_styleInheritedData->line_height || | 802 other.m_styleInheritedData->line_height || |
803 m_styleInheritedData->font != other.m_styleInheritedData->font || | 803 m_styleInheritedData->font != other.m_styleInheritedData->font || |
804 m_styleInheritedData->horizontal_border_spacing != | 804 m_styleInheritedData->horizontal_border_spacing != |
805 other.m_styleInheritedData->horizontal_border_spacing || | 805 other.m_styleInheritedData->horizontal_border_spacing || |
806 m_styleInheritedData->vertical_border_spacing != | 806 m_styleInheritedData->vertical_border_spacing != |
807 other.m_styleInheritedData->vertical_border_spacing) | 807 other.m_styleInheritedData->vertical_border_spacing) |
808 return true; | 808 return true; |
809 } | 809 } |
810 | 810 |
811 if (boxDirection() != other.boxDirection() || | 811 if (boxDirection() != other.boxDirection() || |
812 m_inheritedData.m_rtlOrdering != other.m_inheritedData.m_rtlOrdering || | 812 rtlOrdering() != other.rtlOrdering() || |
813 textAlign() != other.textAlign() || | 813 textAlign() != other.textAlign() || |
814 textTransform() != other.textTransform() || | 814 textTransform() != other.textTransform() || |
815 direction() != other.direction() || whiteSpace() != other.whiteSpace() || | 815 direction() != other.direction() || whiteSpace() != other.whiteSpace() || |
816 getWritingMode() != other.getWritingMode()) | 816 getWritingMode() != other.getWritingMode()) |
817 return true; | 817 return true; |
818 | 818 |
819 if (m_nonInheritedData.m_overflowX != other.m_nonInheritedData.m_overflowX || | 819 if (m_nonInheritedData.m_overflowX != other.m_nonInheritedData.m_overflowX || |
820 m_nonInheritedData.m_overflowY != other.m_nonInheritedData.m_overflowY || | 820 m_nonInheritedData.m_overflowY != other.m_nonInheritedData.m_overflowY || |
821 m_nonInheritedData.m_clear != other.m_nonInheritedData.m_clear || | 821 m_nonInheritedData.m_clear != other.m_nonInheritedData.m_clear || |
822 m_nonInheritedData.m_unicodeBidi != | 822 m_nonInheritedData.m_unicodeBidi != |
(...skipping 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2463 if (value < 0) | 2463 if (value < 0) |
2464 fvalue -= 0.5f; | 2464 fvalue -= 0.5f; |
2465 else | 2465 else |
2466 fvalue += 0.5f; | 2466 fvalue += 0.5f; |
2467 } | 2467 } |
2468 | 2468 |
2469 return roundForImpreciseConversion<int>(fvalue / zoomFactor); | 2469 return roundForImpreciseConversion<int>(fvalue / zoomFactor); |
2470 } | 2470 } |
2471 | 2471 |
2472 } // namespace blink | 2472 } // namespace blink |
OLD | NEW |