mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
720f2da242
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 |
||
---|---|---|
.. | ||
AudibleAutoplayChild.jsm | ||
AudioPlaybackChild.jsm | ||
BrowserChild.jsm | ||
ControllersChild.jsm | ||
DateTimePickerChild.jsm | ||
ExtFindChild.jsm | ||
FindBarChild.jsm | ||
FinderChild.jsm | ||
moz.build | ||
PopupBlockingChild.jsm | ||
PrintingChild.jsm | ||
PurgeSessionHistoryChild.jsm | ||
SelectChild.jsm | ||
SelectionSourceChild.jsm | ||
ThumbnailsChild.jsm | ||
UAWidgetsChild.jsm | ||
UnselectedTabHoverChild.jsm | ||
WebChannelChild.jsm | ||
WebNavigationChild.jsm | ||
ZoomChild.jsm |