1717
1818 < h1 > CSS Conditional Rules Module Level 3</ h1 >
1919
20- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 6 June 2011</ h2 >
20+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 7 June 2011</ h2 >
2121
2222 < dl >
2323 < dt > This version:
2424
25- < dd > < a href ="http://www.w3.org/TR/2011/ED-css3-conditional-20110606 / ">
26- http://www.w3.org/TR/2011/ED-css3-conditional-20110606 </ a >
25+ < dd > < a href ="http://www.w3.org/TR/2011/ED-css3-conditional-20110607 / ">
26+ http://www.w3.org/TR/2011/ED-css3-conditional-20110607 </ a >
2727
2828 < dt > Latest version:
2929
@@ -695,19 +695,21 @@ <h2 id=at-document><span class=secno>6. </span>Document queries: the
695695 functions are permitted:
696696
697697 < dl >
698- < dt > <url>
698+ < dt > < dfn id =lturlgt title ="url()|URL matching
699+ functions::exact "> <url></ dfn >
699700
700701 < dd >
701- < p > The ‘< code class =css > url()</ code > ’ function is the < dfn
702- id =exact-url-matching-function > exact url matching function</ dfn > . It
703- evaluates to true whenever the URL of the document being styled is
704- exactly the URL given.</ p >
705-
706- < p class =Note > The ‘< code class =css > url()</ code > ’ function,
707- since it is a core syntax element in CSS, is allowed (subject to
708- different character limitations and thus escaping requirements) to
709- contain an unquoted value (in addition to the string values that are
710- allowed as arguments for all four functions).</ p >
702+ < p > The ‘< a href ="#lturlgt "> < code class =css > url()</ code > </ a > ’
703+ function is the < dfn id =exact-url-matching-function > exact url matching
704+ function</ dfn > . It evaluates to true whenever the URL of the document
705+ being styled is exactly the URL given.</ p >
706+
707+ < p class =Note > The ‘< a href ="#lturlgt "> < code
708+ class =css > url()</ code > </ a > ’ function, since it is a core syntax
709+ element in CSS, is allowed (subject to different character limitations
710+ and thus escaping requirements) to contain an unquoted value (in
711+ addition to the string values that are allowed as arguments for all four
712+ functions).</ p >
711713
712714 < div class =example >
713715 < p > For example, this rule:</ p >
@@ -720,14 +722,16 @@ <h2 id=at-document><span class=secno>6. </span>Document queries: the
720722 < code > http://www.w3.org/Style/CSS/</ code > , but not on any other pages.</ p >
721723 </ div >
722724
723- < dt > url-prefix(<string>)
725+ < dt > < dfn id =url-prefixltstringgt title ="url-prefix()|URL matching
726+ functions::prefix "> url-prefix(<string>)</ dfn >
724727
725728 < dd >
726- < p > The ‘< code class =css > url-prefix()</ code > ’ function is the
727- < dfn id =url-prefix-matching-function > url prefix matching function</ dfn > .
728- It evaluates to true whenever the URL of the document being styled has
729- the argument to the function as an initial substring (which is true when
730- the two strings are equal). When the argument is the empty string, it
729+ < p > The ‘< a href ="#url-prefixltstringgt "> < code
730+ class =css > url-prefix()</ code > </ a > ’ function is the < dfn
731+ id =url-prefix-matching-function > url prefix matching function</ dfn > . It
732+ evaluates to true whenever the URL of the document being styled has the
733+ argument to the function as an initial substring (which is true when the
734+ two strings are equal). When the argument is the empty string, it
731735 evaluates to true for all documents.</ p>
732736
733737 < div class =example >
@@ -744,17 +748,21 @@ <h2 id=at-document><span class=secno>6. </span>Document queries: the
744748 < code > http://www.example.com/Style/CSS/</ code > .</ p >
745749 </ div >
746750
747- < dt > domain(<string>)
751+ < dt > < dfn id =domainltstringgt title ="domain()|URL matching
752+ functions::domain "> domain(<string>)</ dfn >
748753
749754 < dd >
750- < p > The ‘< code class =css > domain()</ code > ’ function is the < dfn
755+ < p > The ‘< a href ="#domainltstringgt "> < code
756+ class =css > domain()</ code > </ a > ’ function is the < dfn
751757 id =domain-matching-function > domain matching function</ dfn > . It evaluates
752758 to true whenever the URL of the page has a host subcomponent (as defined
753759 in < a href ="#URI " rel =biblioentry > [URI]<!--{{!URI}}--> </ a > ) and that
754- host subcomponent is exactly the argument to the ‘< code
755- class =css > domain()</ code > ’ function or a final substring of the
756- host component is a period (U+002E) immediately followed by the argument
757- to the ‘< code class =css > domain()</ code > ’ function.</ p >
760+ host subcomponent is exactly the argument to the ‘< a
761+ href ="#domainltstringgt "> < code class =css > domain()</ code > </ a > ’
762+ function or a final substring of the host component is a period (U+002E)
763+ immediately followed by the argument to the ‘< a
764+ href ="#domainltstringgt "> < code class =css > domain()</ code > </ a > ’
765+ function.</ p >
758766
759767 < div class =example >
760768 < p > For example, this rule:</ p >
@@ -770,21 +778,24 @@ <h2 id=at-document><span class=secno>6. </span>Document queries: the
770778 not affect the page < code > http://www.example.com/Style/CSS/</ code > .</ p >
771779 </ div >
772780
773- < dt > regexp(<string>)
781+ < dt > < dfn id =regexpltstringgt title ="regexp()|URL matching
782+ functions::regular expression "> regexp(<string>)</ dfn >
774783
775784 < dd >
776785 < p > The contents of the <string> argument < strong > must</ strong >
777786 match the JavaScript < code > Pattern</ code > production. However, failing
778787 to do so is not a CSS syntax error and does not trigger any error
779788 handling for CSS syntax errors.</ p >
780789
781- < p > The ‘< code class =css > regexp()</ code > ’ function evaluates
782- to true whenever the string argument compiled as a JavaScript regular
783- expression with the < code > global</ code > , < code > ignoreCase</ code > and
784- < code > multiline</ code > flags < em > disabled</ em > (see < a href ="#ECMA-262 "
790+ < p > The ‘< a href ="#regexpltstringgt "> < code
791+ class =css > regexp()</ code > </ a > ’ function evaluates to true whenever
792+ the string argument compiled as a JavaScript regular expression with the
793+ < code > global</ code > , < code > ignoreCase</ code > and < code > multiline</ code >
794+ flags < em > disabled</ em > (see < a href ="#ECMA-262 "
785795 rel =biblioentry > [ECMA-262]<!--{{!ECMA-262}}--> </ a > Edition 5, sections
786- 15.10.7.2 through 15.10.7.4) compiles successfully and the resulting
787- regular expression matches the entirety of the URL of the page.</ p >
796+ 15.10.7.2 through 15.10.7.4 < span class =issue > fix reference and cite 5.1
797+ when final</ span > ) compiles successfully and the resulting regular
798+ expression matches the entirety of the URL of the page.</ p >
788799
789800 < p class =note > Note that regular expression must match the entire URL, not
790801 just a part of it.</ p >
@@ -850,19 +861,20 @@ <h3 id=conformance-classes><span class=secno>7.1. </span>Conformance
850861 conformance classes:
851862
852863 < dl >
853- < dt > < dfn id =style-sheet title ="style sheet!!as conformance class "> style
864+ < dt > < dfn id =conform- style-sheet title ="conformance:: style sheet "> style
854865 sheet</ dfn >
855866
856867 < dd > A < a href ="http://www.w3.org/TR/CSS21/conform.html#style-sheet "> CSS
857868 style sheet</ a > .
858869
859- < dt > < dfn id =renderer > renderer</ dfn >
870+ < dt > < dfn id =conform- renderer title =" conformance::renderer " > renderer</ dfn >
860871
861872 < dd > A < a href ="http://www.w3.org/TR/CSS21/conform.html#user-agent "> UA</ a >
862873 that interprets the semantics of a style sheet and renders documents that
863874 use them.
864875
865- < dt > < dfn id =authoring-tool > authoring tool</ dfn >
876+ < dt > < dfn id =conform-authoring-tool title ="conformance::authoring
877+ tool "> authoring tool</ dfn >
866878
867879 < dd > A < a href ="http://www.w3.org/TR/CSS21/conform.html#user-agent "> UA</ a >
868880 that writes a style sheet.
@@ -1108,15 +1120,27 @@ <h2 class=no-num id=index>Index</h2>
11081120 <!--begin-index-->
11091121
11101122 < ul class =indexlist >
1111- < li > authoring tool, < a href ="#authoring-tool " title ="authoring
1112- tool "> < strong > 7.1.</ strong > </ a >
1113-
11141123 < li > conditional group rules, < a href ="#conditional-group-rules "
11151124 title ="conditional group rules "> < strong > 2.</ strong > </ a >
11161125
1126+ < li > conformance
1127+ < ul >
1128+ < li > authoring tool, < a href ="#conform-authoring-tool "
1129+ title ="conformance, authoring tool "> < strong > 7.1.</ strong > </ a >
1130+
1131+ < li > renderer, < a href ="#conform-renderer " title ="conformance,
1132+ renderer "> < strong > 7.1.</ strong > </ a >
1133+
1134+ < li > style sheet, < a href ="#conform-style-sheet " title ="conformance,
1135+ style sheet "> < strong > 7.1.</ strong > </ a >
1136+ </ ul >
1137+
11171138 < li > ‘< code class =css > @document</ code > ’ rule, < a
11181139 href ="#document-rule " title ="'@document' rule "> < strong > 6.</ strong > </ a >
11191140
1141+ < li > domain(), < a href ="#domainltstringgt "
1142+ title ="domain() "> < strong > 6.</ strong > </ a >
1143+
11201144 < li > domain matching function, < a href ="#domain-matching-function "
11211145 title ="domain matching function "> < strong > 6.</ strong > </ a >
11221146
@@ -1129,20 +1153,32 @@ <h2 class=no-num id=index>Index</h2>
11291153 < li > ‘< code class =css > @media</ code > ’ rule, < a
11301154 href ="#media-rule " title ="'@media' rule "> < strong > 4.</ strong > </ a >
11311155
1132- < li > renderer, < a href ="#renderer " title =renderer > < strong > 7.1.</ strong > </ a >
1133-
1134-
1135- < li > style sheet
1136- < ul >
1137- < li > as conformance class, < a href ="#style-sheet " title ="style sheet, as
1138- conformance class "> < strong > 7.1.</ strong > </ a >
1139- </ ul >
1156+ < li > regexp(), < a href ="#regexpltstringgt "
1157+ title ="regexp() "> < s
8026
trong > 6.</ strong > </ a >
11401158
11411159 < li > ‘< code class =css > @supports</ code > ’ rule, < a
11421160 href ="#supports-rule " title ="'@supports' rule "> < strong > 5.</ strong > </ a >
11431161
1162+ < li > url(), < a href ="#lturlgt " title ="url() "> < strong > 6.</ strong > </ a >
1163+
11441164 < li > URL matching functions, < a href ="#url-matching-functions " title ="URL
11451165 matching functions "> < strong > 6.</ strong > </ a >
1166+ < ul >
1167+ < li > domain, < a href ="#domainltstringgt " title ="URL matching functions,
1168+ domain "> < strong > 6.</ strong > </ a >
1169+
1170+ < li > exact, < a href ="#lturlgt " title ="URL matching functions,
1171+ exact "> < strong > 6.</ strong > </ a >
1172+
1173+ < li > prefix, < a href ="#url-prefixltstringgt " title ="URL matching
1174+ functions, prefix "> < strong > 6.</ strong > </ a >
1175+
1176+ < li > regular expression, < a href ="#regexpltstringgt " title ="URL matching
1177+ functions, regular expression "> < strong > 6.</ strong > </ a >
1178+ </ ul >
1179+
1180+ < li > url-prefix(), < a href ="#url-prefixltstringgt "
1181+ title ="url-prefix() "> < strong > 6.</ strong > </ a >
11461182
11471183 < li > url prefix matching function, < a href ="#url-prefix-matching-function "
11481184 title ="url prefix matching function "> < strong > 6.</ strong > </ a >
0 commit comments