| 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 // bunch of stuff other than real style data. | 364 // bunch of stuff other than real style data. |
| 365 // See comments for each skipped flag below. | 365 // See comments for each skipped flag below. |
| 366 m_nonInheritedData.m_effectiveDisplay = | 366 m_nonInheritedData.m_effectiveDisplay = |
| 367 other.m_nonInheritedData.m_effectiveDisplay; | 367 other.m_nonInheritedData.m_effectiveDisplay; |
| 368 m_nonInheritedData.m_originalDisplay = | 368 m_nonInheritedData.m_originalDisplay = |
| 369 other.m_nonInheritedData.m_originalDisplay; | 369 other.m_nonInheritedData.m_originalDisplay; |
| 370 m_nonInheritedData.m_verticalAlign = other.m_nonInheritedData.m_verticalAlign; | 370 m_nonInheritedData.m_verticalAlign = other.m_nonInheritedData.m_verticalAlign; |
| 371 m_nonInheritedData.m_position = other.m_nonInheritedData.m_position; | 371 m_nonInheritedData.m_position = other.m_nonInheritedData.m_position; |
| 372 m_nonInheritedData.m_hasViewportUnits = | 372 m_nonInheritedData.m_hasViewportUnits = |
| 373 other.m_nonInheritedData.m_hasViewportUnits; | 373 other.m_nonInheritedData.m_hasViewportUnits; |
| 374 m_nonInheritedData.m_breakBefore = other.m_nonInheritedData.m_breakBefore; | |
| 375 m_nonInheritedData.m_breakAfter = other.m_nonInheritedData.m_breakAfter; | |
| 376 m_nonInheritedData.m_breakInside = other.m_nonInheritedData.m_breakInside; | |
| 377 m_nonInheritedData.m_hasRemUnits = other.m_nonInheritedData.m_hasRemUnits; | 374 m_nonInheritedData.m_hasRemUnits = other.m_nonInheritedData.m_hasRemUnits; |
| 378 | 375 |
| 379 // Correctly set during selector matching: | 376 // Correctly set during selector matching: |
| 380 // m_nonInheritedData.m_styleType | 377 // m_nonInheritedData.m_styleType |
| 381 // m_nonInheritedData.m_pseudoBits | 378 // m_nonInheritedData.m_pseudoBits |
| 382 | 379 |
| 383 // Set correctly while computing style for children: | 380 // Set correctly while computing style for children: |
| 384 // m_nonInheritedData.m_explicitInheritance | 381 // m_nonInheritedData.m_explicitInheritance |
| 385 | 382 |
| 386 // unique() styles are not cacheable. | 383 // unique() styles are not cacheable. |
| (...skipping 2086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2473 if (value < 0) | 2470 if (value < 0) |
| 2474 fvalue -= 0.5f; | 2471 fvalue -= 0.5f; |
| 2475 else | 2472 else |
| 2476 fvalue += 0.5f; | 2473 fvalue += 0.5f; |
| 2477 } | 2474 } |
| 2478 | 2475 |
| 2479 return roundForImpreciseConversion<int>(fvalue / zoomFactor); | 2476 return roundForImpreciseConversion<int>(fvalue / zoomFactor); |
| 2480 } | 2477 } |
| 2481 | 2478 |
| 2482 } // namespace blink | 2479 } // namespace blink |
| OLD | NEW |