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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 286 |
287 if (element().renderer()) | 287 if (element().renderer()) |
288 element().renderer()->setNeedsLayoutAndPrefWidthsRecalc(); | 288 element().renderer()->setNeedsLayoutAndPrefWidthsRecalc(); |
289 } | 289 } |
290 | 290 |
291 bool NumberInputType::supportsSelectionAPI() const | 291 bool NumberInputType::supportsSelectionAPI() const |
292 { | 292 { |
293 return false; | 293 return false; |
294 } | 294 } |
295 | 295 |
| 296 String NumberInputType::fallbackValue() const |
| 297 { |
| 298 return emptyString(); |
| 299 } |
| 300 |
296 } // namespace WebCore | 301 } // namespace WebCore |
OLD | NEW |