@@ -582,7 +582,7 @@ <h2>Leaders</h2>
582582< div class ="example ">
583583< pre >
584584ul.toc a::after {
585- content: leader(". . . ") target-counter(attr(href, url), page);
585+ content: leader(". . . ") target-counter(attr(href url), page);
586586}
587587</ pre >
588588</ div >
@@ -713,7 +713,7 @@ <h3>The ''target-counter'' and ''target-counters'' values</h3>
713713is added after a link:
714714
715715< pre >
716- a::after { content: "(see page " target-counter(attr(href, url), page, decimal) ")" }
716+ a::after { content: "(see page " target-counter(attr(href url), page, decimal) ")" }
717717</ pre >
718718</ div >
719719
@@ -723,7 +723,7 @@ <h3>The ''target-counter'' and ''target-counters'' values</h3>
723723is added after a link:
724724
725725< pre >
726- a::after { content: "(see section " target-counters(attr(href, url), section, ".", decimal) ")" }
726+ a::after { content: "(see section " target-counters(attr(href url), section, ".", decimal) ")" }
727727</ pre >
728728</ div >
729729
@@ -760,9 +760,9 @@ <h3>The ''target-text'' value</h3>
760760
761761< pre >
762762h2 { counter-increment: chapter }
763- a { content: "Chapter " target-counter(attr(href, url), chapter)
764- ' ("' target-text(attr(href), content-element) '") on page '
765- target-counter(attr(href, url), page);
763+ a { content: "Chapter " target-counter(attr(href url), chapter)
764+ ' ("' target-text(attr(href url ), content-element) '") on page '
765+ target-counter(attr(href url), page);
766766</ pre >
767767</ div >
768768
@@ -825,7 +825,7 @@ <h2>Footnotes</h2>
825825@media print {
826826 .footnote {
827827 float: footnote;
828- content: target-pull(attr(href, url)) }
828+ content: target-pull(attr(href url)) }
829829 .call { display: none }
830830}
831831</style>
@@ -2175,7 +2175,7 @@ <h2>Bookmarks</h2>
21752175
21762176< div class ="example ">
21772177< pre >
2178- a { bookmark-label: attr(title, string ) }
2178+ a { bookmark-label: attr(title) }
21792179h1 { bookmark-label: contents }
21802180h2 { bookmark-label: content-before }
21812181#frog { bookmark-label: "The green frog" }
@@ -2214,8 +2214,8 @@ <h2>Bookmarks</h2>
22142214< div class =example >
22152215< pre >
22162216.bookmark {
2217- bookmark-label: attr(title, string );
2218- bookmark-target: attr(href, url);
2217+ bookmark-label: attr(title);
2218+ bookmark-target: attr(href url);
22192219}
22202220...
22212221<a class="bookmark" title="The green pear" href="#pears"/>
0 commit comments