| 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
reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
| 4 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 4 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 m_box = other.m_box; | 287 m_box = other.m_box; |
| 288 m_visual = other.m_visual; | 288 m_visual = other.m_visual; |
| 289 m_background = other.m_background; | 289 m_background = other.m_background; |
| 290 m_surround = other.m_surround; | 290 m_surround = other.m_surround; |
| 291 m_rareNonInheritedData = other.m_rareNonInheritedData; | 291 m_rareNonInheritedData = other.m_rareNonInheritedData; |
| 292 | 292 |
| 293 // The flags are copied one-by-one because m_nonInheritedData.m_contains a b
unch of stuff other than real style data. | 293 // The flags are copied one-by-one because m_nonInheritedData.m_contains a b
unch of stuff other than real style data. |
| 294 // See comments for each skipped flag below. | 294 // See comments for each skipped flag below. |
| 295 m_nonInheritedData.m_effectiveDisplay = other.m_nonInheritedData.m_effective
Display; | 295 m_nonInheritedData.m_effectiveDisplay = other.m_nonInheritedData.m_effective
Display; |
| 296 m_nonInheritedData.m_originalDisplay = other.m_nonInheritedData.m_originalDi
splay; | 296 m_nonInheritedData.m_originalDisplay = other.m_nonInheritedData.m_originalDi
splay; |
| 297 m_nonInheritedData.m_overflowAnchor = other.m_nonInheritedData.m_overflowAnc
hor; |
| 297 m_nonInheritedData.m_overflowX = other.m_nonInheritedData.m_overflowX; | 298 m_nonInheritedData.m_overflowX = other.m_nonInheritedData.m_overflowX; |
| 298 m_nonInheritedData.m_overflowY = other.m_nonInheritedData.m_overflowY; | 299 m_nonInheritedData.m_overflowY = other.m_nonInheritedData.m_overflowY; |
| 299 m_nonInheritedData.m_verticalAlign = other.m_nonInheritedData.m_verticalAlig
n; | 300 m_nonInheritedData.m_verticalAlign = other.m_nonInheritedData.m_verticalAlig
n; |
| 300 m_nonInheritedData.m_clear = other.m_nonInheritedData.m_clear; | 301 m_nonInheritedData.m_clear = other.m_nonInheritedData.m_clear; |
| 301 m_nonInheritedData.m_position = other.m_nonInheritedData.m_position; | 302 m_nonInheritedData.m_position = other.m_nonInheritedData.m_position; |
| 302 m_nonInheritedData.m_floating = other.m_nonInheritedData.m_floating; | 303 m_nonInheritedData.m_floating = other.m_nonInheritedData.m_floating; |
| 303 m_nonInheritedData.m_tableLayout = other.m_nonInheritedData.m_tableLayout; | 304 m_nonInheritedData.m_tableLayout = other.m_nonInheritedData.m_tableLayout; |
| 304 m_nonInheritedData.m_unicodeBidi = other.m_nonInheritedData.m_unicodeBidi; | 305 m_nonInheritedData.m_unicodeBidi = other.m_nonInheritedData.m_unicodeBidi; |
| 305 m_nonInheritedData.m_hasViewportUnits = other.m_nonInheritedData.m_hasViewpo
rtUnits; | 306 m_nonInheritedData.m_hasViewportUnits = other.m_nonInheritedData.m_hasViewpo
rtUnits; |
| 306 m_nonInheritedData.m_breakBefore = other.m_nonInheritedData.m_breakBefore; | 307 m_nonInheritedData.m_breakBefore = other.m_nonInheritedData.m_breakBefore; |
| (...skipping 1627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1934 if (value < 0) | 1935 if (value < 0) |
| 1935 fvalue -= 0.5f; | 1936 fvalue -= 0.5f; |
| 1936 else | 1937 else |
| 1937 fvalue += 0.5f; | 1938 fvalue += 0.5f; |
| 1938 } | 1939 } |
| 1939 | 1940 |
| 1940 return roundForImpreciseConversion<int>(fvalue / zoomFactor); | 1941 return roundForImpreciseConversion<int>(fvalue / zoomFactor); |
| 1941 } | 1942 } |
| 1942 | 1943 |
| 1943 } // namespace blink | 1944 } // namespace blink |
| OLD | NEW |