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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 } | 634 } |
635 | 635 |
636 input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:ac
tive, input[type="file"]:active::-webkit-file-upload-button, button:active { | 636 input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:ac
tive, input[type="file"]:active::-webkit-file-upload-button, button:active { |
637 border-style: inset | 637 border-style: inset |
638 } | 638 } |
639 | 639 |
640 input[type="button"]:active:disabled, input[type="submit"]:active:disabled, inpu
t[type="reset"]:active:disabled, input[type="file"]:active:disabled::-webkit-fil
e-upload-button, button:active:disabled { | 640 input[type="button"]:active:disabled, input[type="submit"]:active:disabled, inpu
t[type="reset"]:active:disabled, input[type="file"]:active:disabled::-webkit-fil
e-upload-button, button:active:disabled { |
641 border-style: outset | 641 border-style: outset |
642 } | 642 } |
643 | 643 |
| 644 option:-internal-spatial-navigation-focus { |
| 645 outline: black dashed 1px; |
| 646 outline-offset: -1px; |
| 647 } |
| 648 |
644 datalist { | 649 datalist { |
645 display: none | 650 display: none |
646 } | 651 } |
647 | 652 |
648 area, param { | 653 area, param { |
649 display: none | 654 display: none |
650 } | 655 } |
651 | 656 |
652 input[type="checkbox"] { | 657 input[type="checkbox"] { |
653 -webkit-appearance: checkbox; | 658 -webkit-appearance: checkbox; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 cursor: default; | 757 cursor: default; |
753 } | 758 } |
754 | 759 |
755 select[size], | 760 select[size], |
756 select[multiple], | 761 select[multiple], |
757 select[size][multiple] { | 762 select[size][multiple] { |
758 -webkit-appearance: listbox; | 763 -webkit-appearance: listbox; |
759 align-items: flex-start; | 764 align-items: flex-start; |
760 border: 1px inset gray; | 765 border: 1px inset gray; |
761 border-radius: initial; | 766 border-radius: initial; |
762 white-space: initial; | 767 overflow-x: hidden; |
| 768 overflow-y: scroll; |
| 769 vertical-align: text-bottom; |
| 770 -webkit-user-select: none; |
| 771 white-space: nowrap; |
763 } | 772 } |
764 | 773 |
765 select[size="0"], | 774 select[size="0"], |
766 select[size="1"] { | 775 select[size="1"] { |
767 -webkit-appearance: menulist; | 776 -webkit-appearance: menulist; |
768 align-items: center; | 777 align-items: center; |
769 border: 1px solid; | 778 border-width: 1px; |
| 779 border-style: solid; |
| 780 border-color: initial; |
770 border-radius: 5px; | 781 border-radius: 5px; |
| 782 overflow-x: initial; |
| 783 overflow-y: initial; |
| 784 vertical-align: initial; |
| 785 -webkit-user-select: initial; |
771 white-space: pre; | 786 white-space: pre; |
772 } | 787 } |
773 | 788 |
774 optgroup { | 789 optgroup { |
775 font-weight: bolder; | 790 font-weight: bolder; |
| 791 display: block; |
776 } | 792 } |
777 | 793 |
778 option { | 794 option { |
779 font-weight: normal; | 795 font-weight: normal; |
| 796 display: block; |
| 797 padding: 0 2px 1px 2px; |
| 798 white-space: pre; |
| 799 min-height: 1.2em; |
| 800 } |
| 801 |
| 802 option:checked { |
| 803 background-color: -internal-inactive-list-box-selection; |
| 804 color: -internal-inactive-list-box-selection-text; |
| 805 } |
| 806 |
| 807 select:focus option:checked { |
| 808 background-color: -internal-active-list-box-selection; |
| 809 color: -internal-active-list-box-selection-text; |
| 810 } |
| 811 |
| 812 select:disabled option:checked, |
| 813 option:checked:disabled { |
| 814 color: gray; |
780 } | 815 } |
781 | 816 |
782 output { | 817 output { |
783 display: inline; | 818 display: inline; |
784 } | 819 } |
785 | 820 |
786 /* meter */ | 821 /* meter */ |
787 | 822 |
788 meter { | 823 meter { |
789 -webkit-appearance: meter; | 824 -webkit-appearance: meter; |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1039 @page { | 1074 @page { |
1040 /* FIXME: Define the right default values for page properties. */ | 1075 /* FIXME: Define the right default values for page properties. */ |
1041 size: auto; | 1076 size: auto; |
1042 margin: auto; | 1077 margin: auto; |
1043 padding: 0px; | 1078 padding: 0px; |
1044 border-width: 0px; | 1079 border-width: 0px; |
1045 } | 1080 } |
1046 | 1081 |
1047 /* noscript is handled internally, as it depends on settings. */ | 1082 /* noscript is handled internally, as it depends on settings. */ |
1048 | 1083 |
OLD | NEW |