gecko-dev/layout/forms
Timothy Guan-tin Chien 720f2da242 Bug 1496242 - Part II, Convert datetimebox to UA Widget r=dholbert,jaws,smaug
This patch converts datetimebox.xml to datetimebox.js and loads it as a UA Widget,
while touches things here and there to make it work.

In HTMLInputElement manages the lifecycle of the datetimebox UA Widget.
It is loaded when in <input> has type date or time, or have its type switch to date or time.

nsDateTimeControlFrame is changed so that when UA Widget is enabled,
it would not generate <xul:datetimebox>.

Like bug 1483972, a check is added in nsCSSFrameConstructor::CreateGeneratedContentItem()
to make sure we don't generate pseudo content inside <input>.

Assertions in IntlUtils is changed to allow UAWidget to call the methods.

Depends on D9056

Differential Revision: https://phabricator.services.mozilla.com/D9057

--HG--
rename : toolkit/content/widgets/datetimebox.xml => toolkit/content/widgets/datetimebox.js
extra : moz-landing-system : lando
2018-11-03 05:31:05 +00:00
..
crashtests Bug 893331 - Add crashtest to verify assertion doesn't unexpectedly fire. r=TYLin 2018-11-02 21:31:37 +00:00
test Bug 1499578 - Make one line-height the intrinsic block-size for <select> comboboxes. r=emilio 2018-10-22 00:54:56 +02:00
moz.build Bug 326944, remove nsIComboboxControlFrame interface, r=mats 2018-09-26 10:41:12 -04:00
nsButtonFrameRenderer.cpp Bug 1488684 - Made nsIFrame-derived classes and some others 'final' where possible - r=dbaron 2018-09-06 01:23:14 +00:00
nsButtonFrameRenderer.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsCheckboxRadioFrame.cpp Bug 1490611 - physical to logical name refactor: DISPLAY_*_WIDTH to DISPLAY_*_INLINE_SIZE(as well as the relevant struct in the macro contents) r=jfkthame 2018-09-12 12:35:47 +00:00
nsCheckboxRadioFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsColorControlFrame.cpp Bug 1455676 part 8. Remove nsIDOMNode usage from layout/. r=qdot 2018-05-29 22:58:48 -04:00
nsColorControlFrame.h Bug 1463138: Remove unused nsIFrame::GetPseudoElement. r=mats 2018-05-21 20:03:36 +02:00
nsComboboxControlFrame.cpp Bug 1499578 - Make one line-height the intrinsic block-size for <select> comboboxes. r=emilio 2018-10-22 00:54:56 +02:00
nsComboboxControlFrame.h Bug 326944, remove nsIComboboxControlFrame interface, r=mats 2018-09-26 10:41:12 -04:00
nsDateTimeControlFrame.cpp Bug 1496242 - Part II, Convert datetimebox to UA Widget r=dholbert,jaws,smaug 2018-11-03 05:31:05 +00:00
nsDateTimeControlFrame.h Bug 1496242 - Part II, Convert datetimebox to UA Widget r=dholbert,jaws,smaug 2018-11-03 05:31:05 +00:00
nsFieldSetFrame.cpp Bug 1490747 part 1 - Center the <legend> border-box (not its margin-box) within the <fieldset> border area. r=dholbert 2018-10-12 21:36:03 +02:00
nsFieldSetFrame.h Bug 1482782 - Part 5: Move CSS anonymous box atoms to nsGkAtoms. r=njn,emilio 2018-08-15 15:46:39 +10:00
nsFileControlFrame.cpp Bug 1500530 - Make the anonymous child <label> have display:inline-block so that it applies its min-inline-size. r=jfkthame 2018-10-25 16:51:45 +02:00
nsFileControlFrame.h Bug 1495153 part 2 - Implement cropping the filename for <input type=file>. r=emilio,jfkthame 2018-10-07 10:08:45 +02:00
nsGfxButtonControlFrame.cpp Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio 2018-03-29 22:15:46 +11:00
nsGfxButtonControlFrame.h Bug 1449404 part 1. Get rid of nsIContent::SetText. r=mccr8 2018-03-28 18:01:46 -04:00
nsHTMLButtonControlFrame.cpp Bug 1490611 - physical to logical name refactor: DISPLAY_*_WIDTH to DISPLAY_*_INLINE_SIZE(as well as the relevant struct in the macro contents) r=jfkthame 2018-09-12 12:35:47 +00:00
nsHTMLButtonControlFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsIFormControlFrame.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsImageControlFrame.cpp Bug 1488684 - Made nsIFrame-derived classes and some others 'final' where possible - r=dbaron 2018-09-06 01:23:14 +00:00
nsISelectControlFrame.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsITextControlFrame.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsLegendFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsLegendFrame.h Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsListControlFrame.cpp Bug 1498769 - Also require a frame for an <option> to be interactively selectable. r=enndeakin 2018-10-17 00:13:06 +02:00
nsListControlFrame.h Bug 1498769 - Also require a frame for an <option> to be interactively selectable. r=enndeakin 2018-10-17 00:13:06 +02:00
nsMeterFrame.cpp Bug 1483394: Remove unneeded #includes of nsContentUtils.h in /layout. r=TYLin 2018-08-15 07:04:43 +00:00
nsMeterFrame.h Bug 1488684 - Made nsIFrame-derived classes and some others 'final' where possible - r=dbaron 2018-09-06 01:23:14 +00:00
nsNumberControlFrame.cpp Bug 1490611 - physical to logical name refactor: DISPLAY_*_WIDTH to DISPLAY_*_INLINE_SIZE(as well as the relevant struct in the macro contents) r=jfkthame 2018-09-12 12:35:47 +00:00
nsNumberControlFrame.h Bug 1478069: Remove ContentInfo::mChildren. r=bz 2018-07-25 11:31:23 +02:00
nsProgressFrame.cpp Bug 1483394: Remove unneeded #includes of nsContentUtils.h in /layout. r=TYLin 2018-08-15 07:04:43 +00:00
nsProgressFrame.h Bug 1463138: Remove unused nsIFrame::GetPseudoElement. r=mats 2018-05-21 20:03:36 +02:00
nsRangeFrame.cpp Bug 893331 - Relax assert checking if value is within range for nsRangeFrame. r=TYLin 2018-11-02 21:30:49 +00:00
nsRangeFrame.h Bug 1463138: Remove unused nsIFrame::GetPseudoElement. r=mats 2018-05-21 20:03:36 +02:00
nsSelectsAreaFrame.cpp Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
nsSelectsAreaFrame.h Bug 1488684 - Made nsIFrame-derived classes and some others 'final' where possible - r=dbaron 2018-09-06 01:23:14 +00:00
nsTextControlFrame.cpp Bug 1486314 - Use GetAsText. r=masayuki 2018-09-11 19:10:08 +09:00
nsTextControlFrame.h Bug 1468663 part 1: Fill in missing mozilla:: namespaces in layout headers that are referenced by files in layout/generic. r=emilio 2018-06-15 16:14:29 +00:00