Commit Graph

51 Commits

Author SHA1 Message Date
Anuj Agarwal
b7608857c2 Bug 791777 - Replaced NS_finite() with mozilla::IsFinite. r=froydnj 2014-10-01 11:26:00 +02:00
Olli Pettay
49a09b0c9d Bug 1054773 - Fix crashes in nsProgressFrame.cpp r=wchen 2014-08-20 17:38:01 -07:00
Trevor Saunders
8f78184d9a bug 1016545 - Provide an iterator that iterates over all children of an element r=bz 2014-07-16 14:41:57 -04:00
Masayuki Nakano
5a96c29b49 Bug 1046101 part.11 Rename NS_MOUSE_EVENT to eMouseEventClass r=smaug 2014-08-04 14:28:50 +09:00
Masayuki Nakano
00f048e7cd Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug 2014-08-04 14:28:46 +09:00
Ehsan Akhgari
72f287fed2 Bug 1045270 - Part 2: Focus the text control inside a number control when recreating frames for a focused number control off of the event loop; r=smaug
This is needed because the text control doesn't have a document yet in
CreateAnonymousContent, so setting the focus to it will fail.
2014-07-31 20:25:43 -04:00
Jonathan Kew
76bdb9472c bug 1031241 pt 4 - Rename the {MIN,PREF}_WIDTH constants used to identify the type of intrinsic inline-size. r=smontagu 2014-07-24 18:03:26 +01:00
Jonathan Kew
ce9cbe4216 bug 1031241 pt 1 - Rename Get{Min,Pref}Width to Get{Min,Pref}ISize throughout layout. r=dbaron,smontagu 2014-07-24 18:03:25 +01:00
Simon Montagu
c3b44c4dad Bug 789096 patch 9: use logical coordinates in nsHTMLReflowState available size. r=jfkthame 2014-07-24 01:28:46 -07:00
Kyle Huey
b1e3198eed Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Simon Montagu
ca20e365ef Replace Get/SetTopAscent with Get/SetBlockStartAscent. Bug 789096, r=jfkthame 2014-06-11 02:45:31 -07:00
Mats Palmgren
9795aca511 Bug 1008917 - part 2,3,4, make Reflow() return type 'void', and make a few reflow related helper methods 'void' too. r=roc 2014-05-13 00:47:52 +00:00
Wes Kocher
42253715d7 Backed out 11 changesets (bug 1008917) for apparently introducing an intermittent failure of B2G Crashtest-2 on a CLOSED TREE
Backed out changeset e2ab653f688a (bug 1008917)
Backed out changeset b52154d8d900 (bug 1008917)
Backed out changeset 2ab5b01da4de (bug 1008917)
Backed out changeset f7a38df1d44f (bug 1008917)
Backed out changeset 80304bb9a572 (bug 1008917)
Backed out changeset 10ed89a302e9 (bug 1008917)
Backed out changeset 161c41991d46 (bug 1008917)
Backed out changeset 25b2475d2368 (bug 1008917)
Backed out changeset b8000b31277c (bug 1008917)
Backed out changeset 9afa5e7715e1 (bug 1008917)
Backed out changeset 5c380c21351f (bug 1008917)
2014-05-12 15:47:41 -07:00
Mats Palmgren
a722b491f1 Bug 1008917 - part 2,3,4, make Reflow() return type 'void', and make a few reflow related helper methods 'void' too. r=roc 2014-05-12 17:40:28 +00:00
Giovanni Sferro
50fc553974 Bug 1003741 - nsNumberControlFrame implements nsITextControlFrame. r=ehsan 2014-05-05 18:21:00 -04:00
Masayuki Nakano
3cc4e99fc0 Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Jonathan Kew
c2c11aa0a5 bug 735577 - followup 1 (v2) - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc 2013-12-31 13:50:31 +00:00
Reuben Morais
bde629dd63 Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
--HG--
rename : content/base/public/nsINameSpaceManager.h => content/base/public/nsNameSpaceManager.h
2014-02-27 20:04:46 -03:00
Jonathan Watt
d1ff41df15 Bug 969928 - Fix a bug in the de-localization code that can cause validation issues with locales that use '.' as their grouping separator. r=dholbert 2014-02-18 20:00:35 +00:00
Wes Kocher
281a4f7ec2 Backed out changeset 6fc2f69df1ee (bug 969928) for mochitest-1 bustage on a CLOSED TREE 2014-02-18 14:31:57 -08:00
Jonathan Watt
3bc76617e5 Bug 969928 - Fix a bug in the de-localization code that can cause validation issues with locales that use '.' as their grouping separator. r=dholbert 2014-02-14 20:37:57 +00:00
Jonathan Watt
bf93e3f9bb Bug 970257 - Make <input type=number> handle auto width properly. r=dholbert 2014-02-12 02:54:14 +00:00
Jonathan Watt
823e3ab22a Bug 951310 - Make <input type=number correctly handle CSS min-height and max-height. r=dholbert 2014-02-05 00:42:57 +00:00
Arnaud Sourioux
2d583fd28f Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert 2014-02-17 23:47:48 -08:00
Jonathan Watt
dc7188dcc2 Bug 827161, part 2 - Implement HTML 5's ValidityState.badInput and implement the state for HTMLInputElement's number type. r=smaug 2014-01-30 12:54:12 +00:00
Jonathan Watt
dac59aae69 Bug 844744, part 2 - Make <input type=number> use ICU when available to support localized number input. r=smaug 2014-01-23 15:43:12 +00:00
Peiyong Lin
14bf63554d Bug 959874 - Reorder two parameters in nsContainerFrame::FinishReflowChild(), for consistency with nsContainerFrame::ReflowChild(). r=dholbert 2014-01-16 17:34:44 -08:00
Jonathan Kew
9067ab3480 backout changeset 8b6f20bda157 (bug 735577 followup 1) for build failure 2013-12-29 22:48:13 +00:00
Jonathan Kew
9d097b2e05 bug 735577 - followup 1 - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc 2013-12-29 22:04:02 +00:00
Jonathan Kew
a7837e1ffa bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu 2013-12-27 17:59:52 +00:00
Jonathan Kew
954a119d07 bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu 2013-12-27 17:59:21 +00:00
Jonathan Watt
db7a522d08 Bug 948475 - Implement HTMLInputElement.select() for <input type=number> (contrary to the HTML5 spec) since content needs it. r=smaug 2013-12-11 11:41:51 +00:00
Alexander Surkov
6eaf68e1f9 Bug 559761 - make <input type=number> accessible, r=tbsaunde, smaug
--HG--
rename : accessible/tests/mochitest/value/test_range.html => accessible/tests/mochitest/value/test_number.html
2013-12-10 22:19:26 -05:00
Jonathan Watt
3c34ed2d2f Bug 948549 - Make <input type=number> behave and look disabled when the 'disabled' attribute is set or it's inside a disabled fieldset. r=smaug 2013-12-11 02:13:06 +00:00
Jonathan Watt
2851981a72 Bug 947728 part 2 - Make |-moz-appearance:number-input| the UA style sheet default for <input type=number>, and make the value 'textfield' hide the spinner. r=roc 2013-12-08 23:26:07 +00:00
Jonathan Watt
d77b910df1 Bug 935508 - Implement native theming of <input type=number>. r=roc 2013-12-05 16:20:34 +00:00
Ryan VanderMeulen
144da7f841 Backed out changesets 1b268ec6b81e, b68f5c69dce2 (bug 935508) and changesets 29db440280c8, 64f359e4e054 (bug 945784) for mochitest failures.
CLOSED TREE
2013-12-05 13:00:23 -05:00
Jonathan Watt
2964be3283 Bug 935508. Follow-up to fix unified build bustage.
--HG--
extra : rebase_source : b8429c6f04bf4ac84b63940657deafe4a4bf9fac
2013-12-05 16:46:22 +00:00
Jonathan Watt
aa6b5e3313 Bug 935508 - Implement native theming of <input type=number>. r=roc 2013-12-05 16:20:34 +00:00
Cameron McCormack
2f884a142f Bug 945517 - Make nsIFrame::GetPseudoElementContent return Element* instead of nsIContent*. r=bz 2013-12-03 15:49:03 +11:00
Cameron McCormack
3674dd2b47 Bug 944246 - Make getComputedStyle pass in anonymous content when resolving pseudo-element style. r=bz 2013-12-03 10:57:50 +11:00
Jonathan Watt
1bd74a0112 Bug 943047 - Stop <input type=number> from taking focus twice, and enable tabbing backwards through focusable items. r=smaug 2013-12-01 13:49:10 +00:00
Jonathan Watt
9d11b60c7f Bug 935501 - Get pointer events working for <input type=number>'s spin up/down buttons. r=smaug 2013-12-01 13:49:10 +00:00
Cameron McCormack
c350837b66 Bug 922669 - Part 4: Pass in anonymous content nodes when restyling any pseudo-elements that can match user action pseudo-classes. r=bz 2013-11-28 17:46:38 +11:00
Ehsan Akhgari
ca04af8523 Bug 942248 - Fix a non-unified build bustage in nsNumberControlFrame.cpp; r=jwatt 2013-11-22 14:26:55 -05:00
Jonathan Watt
fa91db9b82 Bug 940006 - Get the 'readonly' attribute working for <input type=number>. r=smaug 2013-11-22 13:24:54 +00:00
Jonathan Watt
c43955f3d9 Bug 665528 - Add support for placeholders to <input type=number>. r=mounir 2013-11-22 13:24:54 +00:00
Jonathan Watt
fe83def1e5 Bug 927435 - When a user types into <input type=number>'s anonymous text control, update the value of the <input type=number> as appropriate. r=smaug 2013-11-22 13:24:53 +00:00
Jonathan Watt
9f8bfb29c3 Bug 638293 - When the value of <input type=number> changes, keep its anonymous text input field child in sync as appropriate. r=smaug 2011-06-21 16:17:10 +02:00
Jonathan Watt
7bd8b8d0b5 Bug 665884 - Redirect focus from <input type=number> to its anonymous text control, and get autofocus working. r=dbaron 2011-06-21 16:13:12 +02:00