summaryrefslogtreecommitdiffstats
path: root/layout/base/nsCSSFrameConstructor.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-12-26 10:16:55 +0000
committerMoonchild <moonchild@palemoon.org>2020-12-26 10:16:55 +0000
commitae2a160348562dfa5361f1e68226365b240c9597 (patch)
tree8c3ee83f8a4b618942d4e215a6937af20d7a66b4 /layout/base/nsCSSFrameConstructor.cpp
parent9f004841a248c7c17f536be77d7af67de7b3f39b (diff)
downloadUXP-ae2a160348562dfa5361f1e68226365b240c9597.tar
UXP-ae2a160348562dfa5361f1e68226365b240c9597.tar.gz
UXP-ae2a160348562dfa5361f1e68226365b240c9597.tar.lz
UXP-ae2a160348562dfa5361f1e68226365b240c9597.tar.xz
UXP-ae2a160348562dfa5361f1e68226365b240c9597.zip
Issue #1053 - Part 2a: Remove android from /layout (partial)
This removes android code from base, build, forms, generic, inspector, style, printing, tools and xul.
Diffstat (limited to 'layout/base/nsCSSFrameConstructor.cpp')
-rw-r--r--layout/base/nsCSSFrameConstructor.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp
index 21068b673..45b95826c 100644
--- a/layout/base/nsCSSFrameConstructor.cpp
+++ b/layout/base/nsCSSFrameConstructor.cpp
@@ -3668,14 +3668,8 @@ nsCSSFrameConstructor::FindInputData(Element* aElement,
nsCSSAnonBoxes::buttonContent) },
// TODO: this is temporary until a frame is written: bug 635240.
SIMPLE_INT_CREATE(NS_FORM_INPUT_NUMBER, NS_NewNumberControlFrame),
-#if defined(MOZ_WIDGET_ANDROID)
- // On Android/B2G, date/time input appears as a normal text box.
- SIMPLE_INT_CREATE(NS_FORM_INPUT_TIME, NS_NewTextControlFrame),
- SIMPLE_INT_CREATE(NS_FORM_INPUT_DATE, NS_NewTextControlFrame),
-#else
SIMPLE_INT_CREATE(NS_FORM_INPUT_TIME, NS_NewDateTimeControlFrame),
SIMPLE_INT_CREATE(NS_FORM_INPUT_DATE, NS_NewDateTimeControlFrame),
-#endif
// TODO: this is temporary until a frame is written: bug 888320
SIMPLE_INT_CREATE(NS_FORM_INPUT_MONTH, NS_NewTextControlFrame),
// TODO: this is temporary until a frame is written: bug 888320