OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 } | 298 } |
299 | 299 |
300 void NumberInputType::stepAttributeChanged() | 300 void NumberInputType::stepAttributeChanged() |
301 { | 301 { |
302 InputType::stepAttributeChanged(); | 302 InputType::stepAttributeChanged(); |
303 | 303 |
304 if (element().renderer()) | 304 if (element().renderer()) |
305 element().renderer()->setNeedsLayoutAndPrefWidthsRecalc(); | 305 element().renderer()->setNeedsLayoutAndPrefWidthsRecalc(); |
306 } | 306 } |
307 | 307 |
| 308 bool NumberInputType::supportsSelectionAPI() const |
| 309 { |
| 310 return false; |
| 311 } |
| 312 |
308 } // namespace WebCore | 313 } // namespace WebCore |
OLD | NEW |