Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: Source/WebCore/css/html.css

Issue 13888003: Remove compile-time / run-time flags for input[type=date]. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * The default style sheet used to render HTML. 2 * The default style sheet used to render HTML.
3 * 3 *
4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 -webkit-user-modify: read-only !important; 490 -webkit-user-modify: read-only !important;
491 } 491 }
492 492
493 #if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT 493 #if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT
494 datalist { 494 datalist {
495 display: none; 495 display: none;
496 } 496 }
497 #endif 497 #endif
498 498
499 #if defined(ENABLE_INPUT_MULTIPLE_FIELDS_UI) && ENABLE_INPUT_MULTIPLE_FIELDS_UI 499 #if defined(ENABLE_INPUT_MULTIPLE_FIELDS_UI) && ENABLE_INPUT_MULTIPLE_FIELDS_UI
500 #if defined(ENABLE_INPUT_TYPE_DATE) && ENABLE_INPUT_TYPE_DATE
501 input[type="date"] { 500 input[type="date"] {
502 -webkit-align-items: center; 501 -webkit-align-items: center;
503 display: -webkit-inline-flex; 502 display: -webkit-inline-flex;
504 font-family: monospace; 503 font-family: monospace;
505 overflow: hidden; 504 overflow: hidden;
506 padding: 0; 505 padding: 0;
507 -webkit-padding-start: 1px; 506 -webkit-padding-start: 1px;
508 } 507 }
509 #endif 508
510 #if defined(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) && ENABLE_INPUT_TYPE_DATETIME _INCOMPLETE 509 #if defined(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) && ENABLE_INPUT_TYPE_DATETIME _INCOMPLETE
511 input[type="datetime"] { 510 input[type="datetime"] {
512 -webkit-align-items: center; 511 -webkit-align-items: center;
513 display: -webkit-inline-flex; 512 display: -webkit-inline-flex;
514 font-family: monospace; 513 font-family: monospace;
515 overflow: hidden; 514 overflow: hidden;
516 padding: 0; 515 padding: 0;
517 -webkit-padding-start: 1px; 516 -webkit-padding-start: 1px;
518 } 517 }
519 #endif 518 #endif
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 input[type="datetime-local"]::-webkit-inner-spin-button, 629 input[type="datetime-local"]::-webkit-inner-spin-button,
631 input[type="month"]::-webkit-inner-spin-button, 630 input[type="month"]::-webkit-inner-spin-button,
632 input[type="time"]::-webkit-inner-spin-button, 631 input[type="time"]::-webkit-inner-spin-button,
633 input[type="week"]::-webkit-inner-spin-button { 632 input[type="week"]::-webkit-inner-spin-button {
634 display: inline-block; 633 display: inline-block;
635 position: static; 634 position: static;
636 -webkit-margin-start: 2px; 635 -webkit-margin-start: 2px;
637 } 636 }
638 637
639 #else 638 #else
640
641 #if defined(ENABLE_INPUT_TYPE_DATE) && ENABLE_INPUT_TYPE_DATE
642 input[type="date"] { 639 input[type="date"] {
643 -webkit-align-items: center; 640 -webkit-align-items: center;
644 -webkit-appearance: menulist-button; 641 -webkit-appearance: menulist-button;
645 display: -webkit-inline-flex; 642 display: -webkit-inline-flex;
646 overflow: hidden; 643 overflow: hidden;
647 width: 10em; 644 width: 10em;
648 } 645 }
649 #endif 646
650 #if defined(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) && ENABLE_INPUT_TYPE_DATETIME _INCOMPLETE 647 #if defined(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) && ENABLE_INPUT_TYPE_DATETIME _INCOMPLETE
651 input[type="datetime"] { 648 input[type="datetime"] {
652 -webkit-align-items: center; 649 -webkit-align-items: center;
653 -webkit-appearance: menulist-button; 650 -webkit-appearance: menulist-button;
654 display: -webkit-inline-flex; 651 display: -webkit-inline-flex;
655 overflow: hidden; 652 overflow: hidden;
656 width: 10em; 653 width: 10em;
657 } 654 }
658 #endif 655 #endif
659 #if defined(ENABLE_INPUT_TYPE_DATETIMELOCAL) && ENABLE_INPUT_TYPE_DATETIMELOCAL 656 #if defined(ENABLE_INPUT_TYPE_DATETIMELOCAL) && ENABLE_INPUT_TYPE_DATETIMELOCAL
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 @page { 1305 @page {
1309 /* FIXME: Define the right default values for page properties. */ 1306 /* FIXME: Define the right default values for page properties. */
1310 size: auto; 1307 size: auto;
1311 margin: auto; 1308 margin: auto;
1312 padding: 0px; 1309 padding: 0px;
1313 border-width: 0px; 1310 border-width: 0px;
1314 } 1311 }
1315 1312
1316 /* noscript is handled internally, as it depends on settings. */ 1313 /* noscript is handled internally, as it depends on settings. */
1317 1314
OLDNEW
« no previous file with comments | « Source/WebCore/bindings/v8/RuntimeEnabledFeatures.cpp ('k') | Source/WebCore/html/DateInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698