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

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

Issue 96653004: Remove support for the obsolete <isindex> tag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test. Created 6 years, 9 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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 -webkit-padding-after: 0.625em; 383 -webkit-padding-after: 0.625em;
384 border: 2px groove ThreeDFace; 384 border: 2px groove ThreeDFace;
385 min-width: -webkit-min-content; 385 min-width: -webkit-min-content;
386 } 386 }
387 387
388 button { 388 button {
389 -webkit-appearance: button; 389 -webkit-appearance: button;
390 } 390 }
391 391
392 /* Form controls don't go vertical. */ 392 /* Form controls don't go vertical. */
393 input, textarea, keygen, select, button, isindex, meter, progress { 393 input, textarea, keygen, select, button, meter, progress {
394 -webkit-writing-mode: horizontal-tb !important; 394 -webkit-writing-mode: horizontal-tb !important;
395 } 395 }
396 396
397 input, textarea, keygen, select, button, isindex { 397 input, textarea, keygen, select, button {
398 margin: 0__qem; 398 margin: 0__qem;
399 font: -webkit-small-control; 399 font: -webkit-small-control;
400 color: initial; 400 color: initial;
401 letter-spacing: normal; 401 letter-spacing: normal;
402 word-spacing: normal; 402 word-spacing: normal;
403 line-height: normal; 403 line-height: normal;
404 text-transform: none; 404 text-transform: none;
405 text-indent: 0; 405 text-indent: 0;
406 text-shadow: none; 406 text-shadow: none;
407 display: inline-block; 407 display: inline-block;
408 text-align: start; 408 text-align: start;
409 } 409 }
410 410
411 input[type="hidden"] { 411 input[type="hidden"] {
412 display: none 412 display: none
413 } 413 }
414 414
415 input, input[type="password"], input[type="search"], isindex { 415 input, input[type="password"], input[type="search"] {
416 -webkit-appearance: textfield; 416 -webkit-appearance: textfield;
417 padding: 1px; 417 padding: 1px;
418 background-color: white; 418 background-color: white;
419 border: 2px inset; 419 border: 2px inset;
420 -webkit-rtl-ordering: logical; 420 -webkit-rtl-ordering: logical;
421 -webkit-user-select: text; 421 -webkit-user-select: text;
422 cursor: auto; 422 cursor: auto;
423 } 423 }
424 424
425 input[type="search"] { 425 input[type="search"] {
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 word-wrap: break-word; 655 word-wrap: break-word;
656 } 656 }
657 657
658 ::-webkit-input-placeholder { 658 ::-webkit-input-placeholder {
659 -webkit-text-security: none; 659 -webkit-text-security: none;
660 color: darkGray; 660 color: darkGray;
661 display: block !important; 661 display: block !important;
662 pointer-events: none !important; 662 pointer-events: none !important;
663 } 663 }
664 664
665 input::-webkit-input-placeholder, isindex::-webkit-input-placeholder { 665 input::-webkit-input-placeholder {
666 white-space: pre; 666 white-space: pre;
667 word-wrap: normal; 667 word-wrap: normal;
668 overflow: hidden; 668 overflow: hidden;
669 -webkit-user-modify: read-only !important; 669 -webkit-user-modify: read-only !important;
670 } 670 }
671 671
672 input[type="password"] { 672 input[type="password"] {
673 -webkit-text-security: disc !important; 673 -webkit-text-security: disc !important;
674 } 674 }
675 675
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 1056
1057 /* Read-only text fields do not show a focus ring but do still receive focus */ 1057 /* Read-only text fields do not show a focus ring but do still receive focus */
1058 html:focus, body:focus, input[readonly]:focus { 1058 html:focus, body:focus, input[readonly]:focus {
1059 outline: none 1059 outline: none
1060 } 1060 }
1061 1061
1062 applet:focus, embed:focus, iframe:focus, object:focus { 1062 applet:focus, embed:focus, iframe:focus, object:focus {
1063 outline: none 1063 outline: none
1064 } 1064 }
1065 1065
1066 input:focus, textarea:focus, isindex:focus, keygen:focus, select:focus { 1066 input:focus, textarea:focus, keygen:focus, select:focus {
1067 outline-offset: -2px 1067 outline-offset: -2px
1068 } 1068 }
1069 1069
1070 input[type="button"]:focus, 1070 input[type="button"]:focus,
1071 input[type="checkbox"]:focus, 1071 input[type="checkbox"]:focus,
1072 input[type="file"]:focus, 1072 input[type="file"]:focus,
1073 input[type="hidden"]:focus, 1073 input[type="hidden"]:focus,
1074 input[type="image"]:focus, 1074 input[type="image"]:focus,
1075 input[type="radio"]:focus, 1075 input[type="radio"]:focus,
1076 input[type="reset"]:focus, 1076 input[type="reset"]:focus,
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 @page { 1165 @page {
1166 /* FIXME: Define the right default values for page properties. */ 1166 /* FIXME: Define the right default values for page properties. */
1167 size: auto; 1167 size: auto;
1168 margin: auto; 1168 margin: auto;
1169 padding: 0px; 1169 padding: 0px;
1170 border-width: 0px; 1170 border-width: 0px;
1171 } 1171 }
1172 1172
1173 /* noscript is handled internally, as it depends on settings. */ 1173 /* noscript is handled internally, as it depends on settings. */
1174 1174
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698