Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9b07380

Browse files
committed
Update shadow-dom combinators with their new names.
Seehttp://drafts.csswg.org/css-scoping/#selectors for definitions.
1 parent005fdbe commit9b07380

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

‎base.css‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ cxx-titlepage { page: title; page-break-after: always; }
3636

3737
@media print {
3838
html {font-size:10pt; }
39-
*/shadow-deep/ pre,*/shadow-deep/ code {font-size:8pt; }
39+
*/deep/ pre,*/deep/ code {font-size:8pt; }
4040
/* Note that only Prince generates clickable links. */
41-
*/shadow-deep/ a[href] {text-decoration:none; }
41+
*/deep/ a[href] {text-decoration:none; }
4242
}
4343

4444
/* Needed to make the <cxx-titlepage>'s vertical spacing work. */
@@ -51,19 +51,19 @@ cxx-clause { page-break-before: always; }
5151
cxx-clause,cxx-toc {margin-top:3em; }
5252
}
5353

54-
cxx-clause/shadow/ header {font-size:150%; }
55-
cxx-toc/shadow/ h1 {font-size:150%; }
56-
cxx-clausecxx-section/shadow/ header {font-size:117%; }
57-
cxx-clausecxx-sectioncxx-section/shadow/ header {font-size:100%; }
54+
cxx-clause::shadowheader {font-size:150%; }
55+
cxx-toc::shadowh1 {font-size:150%; }
56+
cxx-clausecxx-section::shadowheader {font-size:117%; }
57+
cxx-clausecxx-sectioncxx-section::shadowheader {font-size:100%; }
5858

5959
[data-bookmark-label] {bookmark-label:attr(data-bookmark-label); }
6060
h1 {bookmark-level:1; }
61-
cxx-toc/shadow/ h1 {bookmark-level:2; }
61+
cxx-toc::shadowh1 {bookmark-level:2; }
6262
cxx-clauseh1 {bookmark-level:2; }
6363
cxx-clausecxx-sectionh1 {bookmark-level:3; }
6464
cxx-clausecxx-sectioncxx-sectionh1 {bookmark-level:4; }
6565

66-
*/shadow/ .section-number {string-set: current-section"§ "content(); }
66+
*::shadow .section-number {string-set: current-section"§ "content(); }
6767

6868
p {margin-top:.5em;margin-bottom:.5em}
6969
p:first-child,ul,ol {margin-top:0}
@@ -99,7 +99,7 @@ ul li:before {
9999
inside the CSSOM. */
100100
@media print {
101101
/* Generate page numbers in the table of contents. */
102-
cxx-toc/shadow/ a[href]::after {content:leader(" . ")target-counter(attr(href), page); }
102+
cxx-toc::shadowa[href]::after {content:leader(" . ")target-counter(attr(href), page); }
103103

104-
cxx-footnote/shadow/ aside {float: footnote;footnote-policy: line; }
104+
cxx-footnote::shadowaside {float: footnote;footnote-policy: line; }
105105
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp