| OLD | NEW |
| 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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 display: inline; | 566 display: inline; |
| 567 font: inherit !important; | 567 font: inherit !important; |
| 568 } | 568 } |
| 569 | 569 |
| 570 input[type="date"]::-webkit-inner-spin-button, | 570 input[type="date"]::-webkit-inner-spin-button, |
| 571 input[type="datetime"]::-webkit-inner-spin-button, | 571 input[type="datetime"]::-webkit-inner-spin-button, |
| 572 input[type="datetime-local"]::-webkit-inner-spin-button, | 572 input[type="datetime-local"]::-webkit-inner-spin-button, |
| 573 input[type="month"]::-webkit-inner-spin-button, | 573 input[type="month"]::-webkit-inner-spin-button, |
| 574 input[type="time"]::-webkit-inner-spin-button, | 574 input[type="time"]::-webkit-inner-spin-button, |
| 575 input[type="week"]::-webkit-inner-spin-button { | 575 input[type="week"]::-webkit-inner-spin-button { |
| 576 display: inline-block; | 576 /* FIXME: Remove height. */ |
| 577 position: static; | 577 height: 1.5em; |
| 578 -webkit-margin-start: 2px; | 578 -webkit-margin-start: 2px; |
| 579 } | 579 } |
| 580 | 580 |
| 581 #else | 581 #else |
| 582 input[type="date"], | 582 input[type="date"], |
| 583 input[type="datetime-local"], | 583 input[type="datetime-local"], |
| 584 input[type="month"], | 584 input[type="month"], |
| 585 input[type="time"], | 585 input[type="time"], |
| 586 input[type="week"] { | 586 input[type="week"] { |
| 587 align-items: center; | 587 align-items: center; |
| 588 -webkit-appearance: menulist; | 588 -webkit-appearance: menulist; |
| 589 background-color: ButtonFace; | 589 background-color: ButtonFace; |
| 590 border: 1px solid #a9a9a9; | 590 border: 1px solid #a9a9a9; |
| 591 display: -webkit-inline-flex; | 591 display: -webkit-inline-flex; |
| 592 overflow: hidden; | 592 overflow: hidden; |
| 593 width: 10em; | 593 width: 10em; |
| 594 } | 594 } |
| 595 | 595 |
| 596 input::-webkit-date-and-time-value { | 596 input::-webkit-date-and-time-value { |
| 597 margin: 1px 24px 1px 4px; | 597 margin: 1px 24px 1px 4px; |
| 598 white-space: pre; | 598 white-space: pre; |
| 599 } | 599 } |
| 600 #endif | 600 #endif |
| 601 | 601 |
| 602 input::-webkit-inner-spin-button { | 602 input::-webkit-inner-spin-button { |
| 603 -webkit-appearance: inner-spin-button; | 603 -webkit-appearance: inner-spin-button; |
| 604 display: block; | 604 display: inline-block; |
| 605 position: relative; | |
| 606 cursor: default; | 605 cursor: default; |
| 607 /* This height property is ignored for input type "number" and others which | |
| 608 * use RenderTextControlSingleLine as renderer which sets height of spin | |
| 609 * button in layout(). */ | |
| 610 height: 1.5em; | |
| 611 vertical-align: top; | |
| 612 flex: none; | 606 flex: none; |
| 607 align-self: stretch; |
| 613 -webkit-user-select: none; | 608 -webkit-user-select: none; |
| 614 -webkit-user-modify: read-only !important; | 609 -webkit-user-modify: read-only !important; |
| 615 opacity: 0; | 610 opacity: 0; |
| 616 pointer-events: none; | 611 pointer-events: none; |
| 617 } | 612 } |
| 618 | 613 |
| 619 input:enabled:read-write:-webkit-any(:focus,:hover)::-webkit-inner-spin-button { | 614 input:enabled:read-write:-webkit-any(:focus,:hover)::-webkit-inner-spin-button { |
| 620 opacity: 1; | 615 opacity: 1; |
| 621 pointer-events: auto; | 616 pointer-events: auto; |
| 622 } | 617 } |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1169 @page { | 1164 @page { |
| 1170 /* FIXME: Define the right default values for page properties. */ | 1165 /* FIXME: Define the right default values for page properties. */ |
| 1171 size: auto; | 1166 size: auto; |
| 1172 margin: auto; | 1167 margin: auto; |
| 1173 padding: 0px; | 1168 padding: 0px; |
| 1174 border-width: 0px; | 1169 border-width: 0px; |
| 1175 } | 1170 } |
| 1176 | 1171 |
| 1177 /* noscript is handled internally, as it depends on settings. */ | 1172 /* noscript is handled internally, as it depends on settings. */ |
| 1178 | 1173 |
| OLD | NEW |