Changeset 162391 in webkit
- Timestamp:
- Jan 20, 2014 4:51:08 PM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r162373 r162391 1 2014-01-20 Zalan Bujtas <zalan@apple.com> 2 3 Force float division when calculating CSS px value. 4 5 Reviewed by Simon Fraser. 6 7 Note that in Python 3, this is the default behavior. 8 9 * lldb/lldb_webkit.py: 10 (WebCoreLayoutUnitProvider.to_string): 11 1 12 2014-01-20 Alexey Proskuryakov <ap@apple.com> 2 13 -
trunk/Tools/lldb/lldb_webkit.py
r162297 r162391 213 213 # denominator = maxint / current infinite width value 214 214 denominator = int(2147483647 / infiniteSize) 215 return "%gpx (%d)" % ( layoutUnitValue/ denominator, layoutUnitValue)215 return "%gpx (%d)" % (float(layoutUnitValue) / denominator, layoutUnitValue) 216 216 217 217
Note: See TracChangeset
for help on using the changeset viewer.