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

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

Issue 112643003: Revert of Show speech button for x-webkit-speech only if the field is editable and focused/hovered. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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
« no previous file with comments | « LayoutTests/fast/speech/speech-bidi-rendering.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 625
626 #if defined(ENABLE_INPUT_SPEECH) && ENABLE_INPUT_SPEECH 626 #if defined(ENABLE_INPUT_SPEECH) && ENABLE_INPUT_SPEECH
627 input::-webkit-input-speech-button { 627 input::-webkit-input-speech-button {
628 -webkit-appearance: -webkit-input-speech-button; 628 -webkit-appearance: -webkit-input-speech-button;
629 display: block; 629 display: block;
630 vertical-align: top; 630 vertical-align: top;
631 flex: none; 631 flex: none;
632 -webkit-user-modify: read-only !important; 632 -webkit-user-modify: read-only !important;
633 -webkit-align-self: flex-start; 633 -webkit-align-self: flex-start;
634 margin: auto 0; 634 margin: auto 0;
635 opacity: 0;
636 pointer-events: none;
637 }
638
639 input:enabled:read-write:-webkit-any(:focus,:hover)::-webkit-input-speech-button {
640 opacity: 1;
641 pointer-events: auto;
642 } 635 }
643 #endif 636 #endif
644 637
645 keygen, select { 638 keygen, select {
646 border-radius: 5px; 639 border-radius: 5px;
647 } 640 }
648 641
649 keygen::-webkit-keygen-select { 642 keygen::-webkit-keygen-select {
650 margin: 0px; 643 margin: 0px;
651 } 644 }
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 @page { 1152 @page {
1160 /* FIXME: Define the right default values for page properties. */ 1153 /* FIXME: Define the right default values for page properties. */
1161 size: auto; 1154 size: auto;
1162 margin: auto; 1155 margin: auto;
1163 padding: 0px; 1156 padding: 0px;
1164 border-width: 0px; 1157 border-width: 0px;
1165 } 1158 }
1166 1159
1167 /* noscript is handled internally, as it depends on settings. */ 1160 /* noscript is handled internally, as it depends on settings. */
1168 1161
OLDNEW
« no previous file with comments | « LayoutTests/fast/speech/speech-bidi-rendering.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698