Skip to content

Commit 3115829

Browse files
committed
Merge branch 'master' of github.com:w3c/csswg-drafts
2 parents 8b9b384 + c23704b commit 3115829

9 files changed

Lines changed: 261 additions & 165 deletions

File tree

css-images/Overview.bs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<pre class='metadata'>
2-
Title: CSS Image Values and Replaced Content Module Level 3
2+
Title: CSS Images Module Level 3
33
Status: ED
44
Shortname: css-images
55
Level: 3
@@ -9,7 +9,12 @@ TR: https://www.w3.org/TR/css3-images/
99
Work Status: Testing
1010
Editor: Tab Atkins Jr., Google, http://xanthir.com/contact/
1111
Editor: Elika J. Etemad / fantasai, Invited Expert, http://fantasai.inkedblade.net/contact, w3cid 35400
12-
Abstract: This module contains the features of CSS level 3 relating to the <<image>> type and replaced elements. It includes and extends the functionality of CSS level 2 [[CSS21]]. The main extensions compared to CSS2.1 are the generalization of the <<url>> type to the <<image>> type, several additions to the <<image>> type, a generic sizing algorithm for images and other replaced content in CSS, definitions for interpolating several <<image>> types, and several properties controlling the interaction of replaced elements and CSS's layout models.
12+
Abstract: This module contains the features of CSS level 3 relating to the <<image>> type and some replaced elements.
13+
It includes and extends the functionality of CSS level 2 [[CSS21]].
14+
The main extensions compared to CSS2.1 are the generalization of the <<url>> type to the <<image>> type,
15+
several additions to the <<image>> type, a generic sizing algorithm for images and other replaced content in CSS,
16+
definitions for interpolating several <<image>> types,
17+
and several properties controlling the interaction of replaced elements and CSS's layout models.
1318
At Risk: 'image-orientation'
1419
At Risk: [[#interpolating-gradients]]
1520
Issue Tracking: Tracker http://www.w3.org/Style/CSS/Tracker/products/27
@@ -36,7 +41,7 @@ Introduction {#intro}
3641
and for <a section href="#the-object-fit">sizing</a>
3742
or <a section href="#the-object-position">positioning</a>
3843
replaced elements such as images within the box determined by the CSS layout algorithms.
39-
It also defines in a generic way CSS's <a section href="#sizing">sizing algorithm</a> for images and other replaced elements.
44+
It also defines in a generic way CSS's <a section href="#sizing">sizing algorithm</a> for images and other similar replaced elements.
4045

4146

4247
<!--
@@ -89,7 +94,7 @@ Image References: the ''url()'' notation {#url-notation}
8994
<pre>background-image: url(wavy.png);</pre>
9095
</div>
9196

92-
If the UA cannot download, parse, or otherwise successfully display the contents at the URL as an image,
97+
If the image is not <a href="https://html.spec.whatwg.org/multipage/webappapis.html#concept-imagebitmap-good">fully decodable</a>,
9398
it must be treated as an <a>invalid image</a>.
9499

95100

css-images/issues-cr-2012.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -389,14 +389,15 @@
389389
{
390390
"id": "26",
391391
"summary": "Coordinate system for gradients and image-set()?",
392-
"status": "new",
392+
"status": "out-of-scope",
393393
"from": "Florian Rivoal",
394394
"comment": [
395395
"https://lists.w3.org/Archives/Public/www-style/2015Apr/0193.html"
396396
],
397397
"response": [],
398-
"openness": "open",
399-
"tag": []
398+
"openness": "closed",
399+
"tag": [],
400+
"notes": "Should be defined in CSS UI."
400401
},
401402
{
402403
"id": "27",
@@ -430,7 +431,7 @@
430431
{
431432
"id": "29",
432433
"summary": "Allow ellipse with 1 size in radial-gradient()?",
433-
"status": "new",
434+
"status": "out-of-scope",
434435
"from": "Alan Stearns",
435436
"comment": [
436437
"https://lists.w3.org/Archives/Public/www-style/2015Dec/0091.html"
@@ -439,9 +440,10 @@
439440
"https://lists.w3.org/Archives/Public/www-style/2015Dec/0092.html",
440441
"https://lists.w3.org/Archives/Public/www-style/2015Dec/0130.html"
441442
],
442-
"openness": "open",
443+
"openness": "closed",
443444
"authorResponse": "https://lists.w3.org/Archives/Public/www-style/2015Dec/0129.html",
444-
"tag": []
445+
"tag": [],
446+
"notes": "This is a Shapes issue."
445447
},
446448
{
447449
"id": "30",
@@ -465,15 +467,15 @@
465467
{
466468
"id": "31",
467469
"summary": "Add new value for high-quality image-rendering",
468-
"status": "new",
470+
"status": "accepted",
469471
"from": "CSSWG",
470472
"comment": [
471473
"https://lists.w3.org/Archives/Public/www-style/2016Feb/0183.html",
472474
"https://lists.w3.org/Archives/Public/www-style/2016Feb/0312.html",
473475
"https://lists.w3.org/Archives/Public/www-style/2016Feb/0318.html"
474476
],
475477
"response": [],
476-
"openness": "open",
478+
"openness": "closed",
477479
"tag": [
478480
"image-rendering"
479481
]
@@ -514,13 +516,13 @@
514516
{
515517
"id": "34",
516518
"summary": "Clarify failed loading conditions per Fetch",
517-
"status": "new",
519+
"status": "accepted",
518520
"from": "Henrik Andersson",
519521
"comment": [
520522
"https://lists.w3.org/Archives/Public/www-style/2016Sep/0105.html"
521523
],
522524
"response": [],
523-
"openness": "open",
525+
"openness": "closed",
524526
"tag": []
525527
},
526528
{
@@ -595,13 +597,13 @@
595597
{
596598
"id": "40",
597599
"summary": "Elements with intrinsic size but no aspect ratio",
598-
"status": "new",
600+
"status": "out-of-scope",
599601
"from": "fantasai",
600602
"comment": [
601603
"https://github.com/w3c/csswg-drafts/issues/1044"
602604
],
603605
"response": [],
604-
"openness": "open",
606+
"openness": "closed",
605607
"tag": [
606608
"object sizing"
607609
]

css-rhythm/Overview.bs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,30 @@ Notes on Block-level Boxes {#inline-block}
230230
Adjusting Block-level Box Heights {#block-height}
231231
=================================
232232

233+
Much web content includes blocks with varying font sizes, line heights,
234+
margins, etcetera. Adjusting line box heights may not be enough to
235+
achieve a vertical rhythm in these circumstances,
236+
and can negatively affect the readability of Latin scripts by altering line heights.
237+
Constraining block height, rather than line height, to a multiple of a step size
238+
can achieve a vertical rhythm in these circumstances.
239+
240+
241+
<div class="figure">
242+
<img src="images/block-step-size-before.png"
243+
style="width: 500px">
244+
<figcaption>Heads and blockquotes have varying font sizes and line heights,
245+
resulting in uneven text across columns.</figcaption>
246+
</div>
247+
248+
249+
250+
<div class="figure">
251+
<img src="images/block-step-size-after.png"
252+
style="width: 500px">
253+
<figcaption>Space inserted before and after blocks (shown with colored borders)
254+
restores vertical rhythm.</figcaption>
255+
</div>
256+
233257
ISSUE: This proposal can be simplified down to just the 'block-step-size' property, represented solely through its shortened form as 'block-step'.
234258
This level will likely at most contain 'block-step-size' and 'block-step-insert', leaving 'block-step-align' and 'block-step-round' to be added if the future demands.
235259
The full design is described herein for current discussion and future reference.
956 KB
Loading
1.02 MB
Loading

cssom-view/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ The term <dfn>SVG layout box</dfn> refers to the same term in SVG.
331331

332332
The term <dfn>layout box</dfn> refers to either a <a>CSS layout box</a> or an <a>SVG layout box</a>.
333333

334-
The term <dfn>transforms</dfn> refers to SVG transforms and CSS transforms. [[!SVG]] [[!CSS-TRANSFORMS-1]]
334+
The term <dfn>transforms</dfn> refers to SVG transforms and CSS transforms. [[!SVG11]] [[!CSS-TRANSFORMS-1]]
335335

336336
When a method or an attribute is said to call another method or attribute, the user agent must invoke its internal API for that attribute or method so that
337337
e.g. the author can't change the behavior by overriding attributes or methods with custom properties or functions in ECMAScript.

issues.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ header {
7878
background: hsl(200, 10%, 93%);
7979
}
8080

81+
[property="issue"].filtered {
82+
display: none !important;
83+
}
84+
8185
[property="issue"] h1 {
8286
display: flex;
8387
padding: .5rem 1rem;
@@ -276,6 +280,7 @@ form {
276280
display: inline-block;
277281
padding: .2em .5em .3em;
278282
border-radius: .3em;
283+
margin: .2em;
279284
background: var(--dark-color, rgba(0,0,0,.4));
280285
background-image: linear-gradient(hsla(0,0%,100%,.2), hsla(0,0%,100%,.2));
281286
color: white;

issues.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<link rel="stylesheet" href="shared/style/mavo.css">
77
<link rel="stylesheet" href="issues.css">
88
<script src="shared/scripts/mavo.js"></script>
9+
<!-- <script src="../../mavo/dist/mavo.js"></script> -->
910
</head>
1011
<body>
1112

@@ -65,15 +66,17 @@ <h2>
6566
<legend>Filter by tag</legend>
6667

6768
<label property="tagFilter" mv-multiple mv-value="unique(issue.tag)">
68-
<input type="checkbox" property="show" checked>
69+
<input type="checkbox" property="show">
6970
<span property="tagFilter"></span>
7071
({count(issue.tag = tagFilter)})
7172
</label>
73+
<meta property="selectedTags" content="{filter(tagFilter, tagFilter.show).tagFilter}" />
7274
</fieldset>
7375
</div>
7476

75-
<article property="issue" mv-multiple class="status-{status} issue-{openness}" id="issue-{id}" hidden="{filtered}">
76-
<meta property="filtered" content="{(status and !get(statusFilter, status).show) or !get(openFilter, openness).show}" />
77+
<article property="issue" mv-multiple class="status-{status} issue-{openness} {if(filtered, 'filtered')}" id="issue-{id}">
78+
<meta property="filtered" content="{(status and !get(statusFilter, status).show) or !get(openFilter, openness).show or (count(selectedTags) and !intersects(tag, selectedTags))}" />
79+
7780
<h1>
7881
<a href="#issue-{id}" property="id" mv-attribute="null" mv-default="{$previous.id + 1}">1</a>
7982
<span property="summary">Summary of Issue</span>
@@ -116,8 +119,9 @@ <h1>
116119
<div property="notes" class="markdown"></div>
117120
</dd>
118121
</dl>
119-
120-
<span property="tag" mv-multiple></span>
122+
<div>
123+
<span property="tag" mv-multiple>Tag</span>
124+
</div>
121125
</article>
122126
</div>
123127

0 commit comments

Comments
 (0)