Skip to content

Commit 04cd6b5

Browse files
committed
Merge branch 'master' of https://github.com/w3c/csswg-drafts
2 parents 069504d + db13898 commit 04cd6b5

File tree

10 files changed

+992
-360
lines changed

10 files changed

+992
-360
lines changed

css-backgrounds-4/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Background Positioning: the 'background-position' shorthand property</h3>
4545
See [[CSS3BG]] for definition.
4646

4747
<p>Where
48-
<pre class=prod><dfn><var>&lt;position&gt;</var></dfn> = [
48+
<pre class=prod><dfn>&lt;position&gt;</dfn> = [
4949
[ left | center | right | top | bottom | start | end | <var>&lt;percentage&gt;</var> | <var>&lt;length&gt;</var> ]
5050
|
5151
[ left | center | right | x-start | x-end | <var>&lt;percentage&gt;</var> | <var>&lt;length&gt;</var> ]
@@ -126,7 +126,7 @@ Background Positioning Longhands: the 'background-position-x', 'background-posit
126126
</pre>
127127

128128
This property specifies the background position's inline-axis component.
129-
An omitted origin keyword is assumed to be ''start''.
129+
An omitted origin keyword is assumed to be ''background-position-inline/start''.
130130

131131
<pre class='propdef'>
132132
Name: background-position-block
@@ -140,7 +140,7 @@ Background Positioning Longhands: the 'background-position-x', 'background-posit
140140
</pre>
141141

142142
This property specifies the background position's block-axis component.
143-
An omitted origin keyword is assumed to be ''start''.
143+
An omitted origin keyword is assumed to be ''background-position-block/start''.
144144

145145
<h2 id="corners">
146146
Corners</h2>

css-backgrounds-4/Overview.html

Lines changed: 343 additions & 93 deletions
Large diffs are not rendered by default.

css-content/Overview.bs

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ figure:not([alt]) { content: attr(href, url), contents; }
8080

8181
<pre class='propdef'>
8282
Name: content
83-
Value: [ [ <<uri>> ] ',' ]* [ normal | none | <<content-list>> ] [/ <<string>> ]?
83+
Value: [ [ <<image>> | <<url>> ] ',' ]* [ normal | none | <<content-list>> ] [/ <<string>> ]?
8484
Initial: normal
8585
Applies To: all elements, ''::marker'', and page margin boxes.
8686
Inherited: no
@@ -139,8 +139,6 @@ Content Values and Functions</h2>
139139
including images, strings, the values of counters, and the text value of elements.
140140
In this section we enumerate the possibilities.
141141

142-
Issue: write better introduction to this section
143-
144142

145143
<h3 id="content-string">
146144
String</h3>
@@ -429,43 +427,6 @@ would produce:
429427

430428

431429

432-
433-
434-
435-
436-
437-
438-
<h3 id=content-datetime>
439-
datetime
440-
</h3>
441-
442-
443-
<pre class="prod">
444-
<dfn>datetime</dfn> = [ date() | time() ];
445-
</pre>
446-
447-
<dl dfn-for="content, <content-list>" dfn-type=value>
448-
<dt>datetime
449-
<dd>Dates and times can be specified with two functions, 'date()' and 'time()'.
450-
</dl>
451-
452-
Issue: need more details on the separate functions. How are they defined? How are they formatted?
453-
454-
<h3 id="content-document-url">
455-
document-url
456-
</h3>
457-
458-
<dl dfn-for="content, <content-list>" dfn-type=value>
459-
<dt><dfn>document-url</dfn>
460-
<dd>The URI of the current document. For local files, this may simply be the local file name.
461-
</dl>
462-
463-
464-
465-
466-
467-
468-
469430
<h3 id="leaders">
470431
Leaders</h3>
471432

css-scoping/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ Informative Explanation of Shadow DOM</h3>
323323
at its root.
324324
Children of the <a>shadow root</a> are ordinary elements and other nodes.
325325
The element hosting the <a>shadow tree</a> is its <a>host</a>,
326-
or <dfn export>shadow host</dfn>.
326+
or <a>shadow host</a>.
327327

328328
The elements in a <a>shadow tree</a> are not <a>descendants</a> of the <a>shadow host</a> in general
329329
(including for the purposes of Selectors like the <a>descendant combinator</a>).

css-snappoints/Overview.bs

Lines changed: 169 additions & 52 deletions
Large diffs are not rendered by default.

css-snappoints/Overview.html

Lines changed: 436 additions & 168 deletions
Large diffs are not rendered by default.

css-step-sizing/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,12 @@ or security considerations beyond "implement it correctly".
349349
Acknowledgments {#acks}
350350
=======================
351351
This specification would not have been possible without the help from:
352+
Takao Baba,
353+
Chris Eppstein,
354+
Shinyu Murakami,
352355
Tsutomu Nanjo,
353356
Charlie Neely,
357+
Florian Rivoal,
358+
Hiroshi Sakakibara,
354359
Alan Stearns,
355360
and the CSS Working Group members.

css-step-sizing/Overview.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
<div class="head">
255255
<p data-fill-with="logo"><a class="logo" href="http://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C" width="72"> </a> </p>
256256
<h1 class="p-name no-ref" id="title">CSS Step Sizing</h1>
257-
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2016-05-08">8 May 2016</time></span></h2>
257+
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2016-05-11">11 May 2016</time></span></h2>
258258
<div data-fill-with="spec-metadata">
259259
<dl>
260260
<dt>This version:
@@ -620,8 +620,13 @@ <h2 class="heading settled" data-level="4" id="priv-sec"><span class="secno">4.
620620
or security considerations beyond "implement it correctly".</p>
621621
<h2 class="heading settled" data-level="5" id="acks"><span class="secno">5. </span><span class="content">Acknowledgments</span><a class="self-link" href="#acks"></a></h2>
622622
This specification would not have been possible without the help from:
623+
Takao Baba,
624+
Chris Eppstein,
625+
Shinyu Murakami,
623626
Tsutomu Nanjo,
624627
Charlie Neely,
628+
Florian Rivoal,
629+
Hiroshi Sakakibara,
625630
Alan Stearns,
626631
and the CSS Working Group members.
627632
</main>

css-step-sizing/examples/snap-height.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,16 @@
9494
</div>
9595
<label><input type="checkbox" value="editable">Editable</label>
9696
</div>
97-
<div id="example">
97+
<div id="example" spellcheck="false">
9898
<h1>Heading</h1>
9999
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
100100
<h2>Heading</h2>
101101
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
102102
<div><img src="1x1-green.png" width="30" height="30"></div>
103103
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
104-
<h2>A long multi-line heading</h2>
104+
<h2>A long long multi-line heading</h2>
105105
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
106+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
106107
</div>
107108
<script>
108109
(function () {

selectors/Overview.bs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2171,6 +2171,31 @@ The Future-element Pseudo-class: '':future''</h3>
21712171
sibling of a '':current'' element.
21722172

21732173

2174+
<h2 id='resource-pseudos'>
2175+
Resource State Pseudos</h2>
2176+
2177+
The pseudo-classes in this section apply to elements that represent loaded resources,
2178+
particularly images/videos,
2179+
and allow authors to select them based on some quality of their "state".
2180+
2181+
<h3 id="video-state">
2182+
Video/Audio Play State: the '':playing'' and '':paused'' pseudo-classes</h3>
2183+
2184+
The <dfn>:playing</dfn> pseudo-class represents an element
2185+
representing an audio, video, or similar resource
2186+
that is capable of being "played" or "paused",
2187+
when that element is "playing".
2188+
(This includes both when the element is explicitly playing,
2189+
and when it's temporarily stopped for some reason not connected to user intent,
2190+
but will automatically resume when that reason is resolved,
2191+
such as a "buffering" state.)
2192+
2193+
The <dfn>:paused</dfn> pseudo-class represents the same elements,
2194+
but instead match when the element is <em>not</em> "playing".
2195+
(This includes both an explicit "paused" state,
2196+
and other non-playing states like "loaded, hasn't been activated yet", etc.)
2197+
2198+
21742199
<h2 id='input-pseudos'>
21752200
The Input Pseudo-classes</h2>
21762201

0 commit comments

Comments
 (0)