Skip to content

Commit 2d0324b

Browse files
committed
[css-pseudo] Make all allowable properties required.
--HG-- extra : rebase_source : 5a24745e2dd6014e0a9c3b4c3df5179a47797b93
1 parent 9c44173 commit 2d0324b

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

css-pseudo/Overview.bs

+8-7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Status: ED
77
Group: csswg
88
ED: http://dev.w3.org/csswg/css-pseudo-4/
99
TR: http://www.w3.org/TR/css-pseudo-4/
10+
!Issues List: <a href="http://dev.w3.org/csswg/css-pseudo/#issues-index">Tracked in Editor's Draft</a>
1011
Editor: Daniel Glazman, Disruptive Innovations
1112
Editor: fantasai, Invited Expert, http://fantasai.inkedblade.net/contact
1213
Editor: Alan Stearns, Adobe Systems Inc., stearns@adobe.com
@@ -477,18 +478,18 @@ Styling Highlighted Ranges</h3>
477478
<ul>
478479
<li>'color'
479480
<li>'background-color'
480-
<li>'cursor' (optional)
481-
<li>'outline' and its longhands (optional)
482-
<li>'text-decoration' and its associated properties (optional)
483-
<li>'text-emphasis-color' (optional)
484-
<li>'text-shadow' (optional)
481+
<li>'cursor'
482+
<li>'outline' and its longhands
483+
<li>'text-decoration' and its associated properties
484+
<li>'text-emphasis-color'
485+
<li>'text-shadow'
485486
</ul>
486487

487488
Issue: Are there any other properties that should be included here?
488489
[Caret-color should be added once we have it.]
489490

490-
Issue: Only 'color' and 'background-color' are cross-browser.
491-
Should any others be required?
491+
Note: Historically (and at the time of writing)
492+
only 'color' and 'background-color' have been interoperably supported.
492493

493494
If 'color' is not specified, the text (and text decoration)'s
494495
unselected color must be used for the highlight.

css-pseudo/Overview.html

+10-11
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
</p>
5555
<h1 class="p-name no-ref" id=title>CSS Pseudo-Elements Module Level 4</h1>
5656
<h2 class="no-num no-toc no-ref heading settled" id=subtitle><span class=content>Editor’s Draft,
57-
<span class=dt-updated><span class=value-title title=20141112>12 November 2014</span></span></span></h2>
58-
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-pseudo-4/>http://dev.w3.org/csswg/css-pseudo-4/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-pseudo-4/>http://www.w3.org/TR/css-pseudo-4/</a><dt>Feedback:<dd><span><a href="mailto:www-style@w3.org?subject=[css-pseudo] feedback">www-style@w3.org</a> with subject line “<kbd>[css-pseudo] <var>… message topic …</var></kbd>” (<a href=http://lists.w3.org/Archives/Public/www-style/ rel=discussion>archives</a>)</span><dt>Editors:<dd><div class="p-author h-card vcard"><span class="p-name fn">Daniel Glazman</span> (<span class="p-org org">Disruptive Innovations</span>)</div><dd><div class="p-author h-card vcard"><a class="p-name fn u-url url" href=http://fantasai.inkedblade.net/contact>fantasai</a> (<span class="p-org org">Invited Expert</span>)</div><dd><div class="p-author h-card vcard"><a class="p-name fn u-email email" href=mailto:stearns@adobe.com>Alan Stearns</a> (<span class="p-org org">Adobe Systems Inc.</span>)</div></dl></div>
57+
<span class=dt-updated><span class=value-title title=20141122>22 November 2014</span></span></span></h2>
58+
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-pseudo-4/>http://dev.w3.org/csswg/css-pseudo-4/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-pseudo-4/>http://www.w3.org/TR/css-pseudo-4/</a><dt>Feedback:<dd><span><a href="mailto:www-style@w3.org?subject=[css-pseudo] feedback">www-style@w3.org</a> with subject line “<kbd>[css-pseudo] <var>… message topic …</var></kbd>” (<a href=http://lists.w3.org/Archives/Public/www-style/ rel=discussion>archives</a>)</span><dt>Editors:<dd><div class="p-author h-card vcard"><span class="p-name fn">Daniel Glazman</span> (<span class="p-org org">Disruptive Innovations</span>)</div><dd><div class="p-author h-card vcard"><a class="p-name fn u-url url" href=http://fantasai.inkedblade.net/contact>fantasai</a> (<span class="p-org org">Invited Expert</span>)</div><dd><div class="p-author h-card vcard"><a class="p-name fn u-email email" href=mailto:stearns@adobe.com>Alan Stearns</a> (<span class="p-org org">Adobe Systems Inc.</span>)</div><dt>Issues List:<dd><span><a href=http://dev.w3.org/csswg/css-pseudo/#issues-index>Tracked in Editor’s Draft</a></span></dl></div>
5959
<div data-fill-with=warning></div>
6060
<p class=copyright data-fill-with=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a> © 2014 <a href=http://www.w3.org/><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href=http://www.csail.mit.edu/><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href=http://www.ercim.eu/><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href=http://www.keio.ac.jp/>Keio</a>, <a href=http://ev.buaa.edu.cn/>Beihang</a>), All Rights Reserved. W3C <a href=http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer>liability</a>, <a href=http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks>trademark</a> and <a href=http://www.w3.org/Consortium/Legal/copyright-documents>document use</a> rules apply.
6161
</p>
@@ -584,18 +584,18 @@ <h3 class="heading settled" data-level=3.1 id=highlight-styling><span class=secn
584584
<ul>
585585
<li><a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-color-3/#color0 title=color>color</a>
586586
<li><a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-backgrounds-3/#background-color title=background-color>background-color</a>
587-
<li><a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-ui-3/#cursor0 title=cursor>cursor</a> (optional)
588-
<li><a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-ui-3/#outline0 title=outline>outline</a> and its longhands (optional)
589-
<li><a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-text-decor-3/#propdef-text-decoration title=text-decoration>text-decoration</a> and its associated properties (optional)
590-
<li><a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-text-decor-3/#propdef-text-emphasis-color title=text-emphasis-color>text-emphasis-color</a> (optional)
591-
<li><a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-text-decor-3/#propdef-text-shadow title=text-shadow>text-shadow</a> (optional)
587+
<li><a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-ui-3/#cursor0 title=cursor>cursor</a>
588+
<li><a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-ui-3/#outline0 title=outline>outline</a> and its longhands
589+
<li><a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-text-decor-3/#propdef-text-decoration title=text-decoration>text-decoration</a> and its associated properties
590+
<li><a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-text-decor-3/#propdef-text-emphasis-color title=text-emphasis-color>text-emphasis-color</a>
591+
<li><a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-text-decor-3/#propdef-text-shadow title=text-shadow>text-shadow</a>
592592
</ul>
593593

594594
<p class=issue id=issue-7be57116><a class=self-link href=#issue-7be57116></a>Are there any other properties that should be included here?
595595
[Caret-color should be added once we have it.]</p>
596596

597-
<p class=issue id=issue-b0e74d3c><a class=self-link href=#issue-b0e74d3c></a>Only <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-color-3/#color0 title=color>color</a> and <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-backgrounds-3/#background-color title=background-color>background-color</a> are cross-browser.
598-
Should any others be required?</p>
597+
<p class=note>Note: Historically (and at the time of writing)
598+
only <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-color-3/#color0 title=color>color</a> and <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-backgrounds-3/#background-color title=background-color>background-color</a> have been interoperably supported.</p>
599599

600600
<p>If <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-color-3/#color0 title=color>color</a> is not specified, the text (and text decoration)'s
601601
unselected color must be used for the highlight.
@@ -1059,8 +1059,7 @@ <h2 class="no-num heading settled" id=references><span class=content>References<
10591059
Should it inherit from the parent <a class=css data-link-type=maybe href=#selectordef-selection title=::selection>::selection</a>
10601060
or the <a data-link-type=dfn href=http://dev.w3.org/csswg/selectors-4/#originating-element title="originating element">originating element</a>?
10611061
Opera does the former, Gecko/Blink the latter.<a href=#issue-64a36ad9></a></div><div class=issue>Are there any other properties that should be included here?
1062-
[Caret-color should be added once we have it.]<a href=#issue-7be57116></a></div><div class=issue>Only <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-color-3/#color0 title=color>color</a> and <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-backgrounds-3/#background-color title=background-color>background-color</a> are cross-browser.
1063-
Should any others be required?<a href=#issue-b0e74d3c></a></div><div class=issue>Can we reuse <span class=css>currentColor</span> for this, now that it computes to itself?<a href=#issue-73cb06fc></a></div><div class=issue>Implementations seem to redraw text decorations and text shadows over the selection background.
1062+
[Caret-color should be added once we have it.]<a href=#issue-7be57116></a></div><div class=issue>Can we reuse <span class=css>currentColor</span> for this, now that it computes to itself?<a href=#issue-73cb06fc></a></div><div class=issue>Implementations seem to redraw text decorations and text shadows over the selection background.
10641063
This seems particularly weird if the text decoration color doesn’t match the text.
10651064
Perhaps the only thing visible should be the text itself (unless the background is transparent)
10661065
and any text decorations specified for the selection itself.

0 commit comments

Comments
 (0)