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

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

Issue 2466243002: Add a UA style, "display: contents", for <slot> (Closed)
Patch Set: Created 4 years, 1 month 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
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 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 1092
1093 dialog::backdrop { 1093 dialog::backdrop {
1094 position: fixed; 1094 position: fixed;
1095 top: 0; 1095 top: 0;
1096 right: 0; 1096 right: 0;
1097 bottom: 0; 1097 bottom: 0;
1098 left: 0; 1098 left: 0;
1099 background: rgba(0,0,0,0.1) 1099 background: rgba(0,0,0,0.1)
1100 } 1100 }
1101 1101
1102 slot {
1103 display: contents;
kochi 2016/11/01 05:41:40 Why this is defined in both html.css and slot.css?
hayato 2016/11/01 05:46:33 Ops. I forgot to remove this from html.css. Done.
1104 }
1105
1102 /* page */ 1106 /* page */
1103 1107
1104 @page { 1108 @page {
1105 /* FIXME: Define the right default values for page properties. */ 1109 /* FIXME: Define the right default values for page properties. */
1106 size: auto; 1110 size: auto;
1107 margin: auto; 1111 margin: auto;
1108 padding: 0px; 1112 padding: 0px;
1109 border-width: 0px; 1113 border-width: 0px;
1110 } 1114 }
1111 1115
1112 /* Allows thead sections to print at the top of each page. */ 1116 /* Allows thead sections to print at the top of each page. */
1113 @media print { 1117 @media print {
1114 thead { break-inside:avoid; } 1118 thead { break-inside:avoid; }
1115 } 1119 }
1116 1120
1117 /* noscript is handled internally, as it depends on settings. */ 1121 /* noscript is handled internally, as it depends on settings. */
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp ('k') | third_party/WebKit/Source/core/css/slot.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698