Skip to content

Commit 607e8b3

Browse files
committed
[css-logical-1][editorial] Added WPTs
1 parent 9997cd9 commit 607e8b3

File tree

1 file changed

+158
-4
lines changed

1 file changed

+158
-4
lines changed

css-logical-1/Overview.bs

Lines changed: 158 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Abstract: This module introduces logical properties and values that provide the
1414
Ignored Terms: div, dl, dfn
1515
Ignored Vars: block, inline
1616
Link Defaults: css2 (property) width/height/min-width/min-height/max-width/max-height
17+
WPT Path Prefix: css/css-logical/
18+
WPT Display: closed
1719
</pre>
1820

1921
<pre class="link-defaults">
@@ -152,6 +154,12 @@ Introduction</h2>
152154
the <a lt="used value">used</a> 'direction'
153155
depends on the <a>computed values</a> of 'writing-mode' and 'text-orientation'.
154156

157+
<wpt title="General tests for logical properties">
158+
getComputedStyle-listing.html
159+
inheritance.html
160+
logicalprops-quirklength.html
161+
</wpt>
162+
155163
<div class="issue">
156164
<strong>Things That Are Unstable</strong>
157165
Since implementation of parts of this module is effectively required
@@ -233,6 +241,10 @@ Logical Values for the 'caption-side' Property</h3>
233241
Computed value: specified keyword
234242
</pre>
235243

244+
<wpt>
245+
animations/caption-side-no-interpolation.html
246+
</wpt>
247+
236248
These two values are added only for implementations that support
237249
''caption-side/left'' and ''caption-side/right'' values for 'caption-side'.
238250
The ''caption-side/left'' and ''caption-side/right'' values themselves
@@ -253,6 +265,16 @@ Flow-Relative Values for the 'float' and 'clear' Properties</h3>
253265
Computed value: specified keyword
254266
</pre>
255267

268+
<wpt>
269+
animations/float-interpolation.html
270+
logical-values-float-clear-1.html
271+
logical-values-float-clear-2.html
272+
logical-values-float-clear-3.html
273+
logical-values-float-clear-4.html
274+
logical-values-float-clear-reftest.html
275+
logical-values-float-clear.html
276+
</wpt>
277+
256278
The mapping on these properties uses the <a>writing mode</a> of the element’s <a>containing block</a>.
257279

258280
Note: These properties are 1-dimensional in CSS2,
@@ -430,6 +452,14 @@ Flow-Relative Box Model Properties</h2>
430452
but since the physical longhands are set last,
431453
the child's margins will inherit from their physical counterparts in the parent.
432454

455+
<wpt>
456+
animation-001.html
457+
animation-002.html
458+
animation-004.html
459+
logicalprops-with-deferred-writing-mode.html
460+
logicalprops-with-variables.html
461+
</wpt>
462+
433463
<h3 id="dimension-properties">
434464
Logical Height and Logical Width:
435465
the 'block-size'/'inline-size',
@@ -448,6 +478,21 @@ and 'max-block-size'/'max-inline-size' properties</h3>
448478
Animation type: by computed value type
449479
</pre>
450480

481+
<wpt>
482+
cascading-001.html
483+
logical-box-size.html
484+
logicalprops-block-size-vlr.html
485+
logicalprops-block-size.html
486+
logicalprops-inline-size-vlr.html
487+
logicalprops-inline-size.html
488+
parsing/block-size-computed.html
489+
parsing/block-size-invalid.html
490+
parsing/block-size-valid.html
491+
parsing/inline-size-computed.html
492+
parsing/inline-size-invalid.html
493+
parsing/inline-size-valid.html
494+
</wpt>
495+
451496
These properties correspond to the
452497
'height' and 'width' properties.
453498
The mapping depends on the element's 'writing-mode'.
@@ -464,6 +509,15 @@ and 'max-block-size'/'max-inline-size' properties</h3>
464509
Animation type: by computed value type
465510
</pre>
466511

512+
<wpt>
513+
parsing/min-block-size-computed.html
514+
parsing/min-block-size-invalid.html
515+
parsing/min-block-size-valid.html
516+
parsing/min-inline-size-computed.html
517+
parsing/min-inline-size-invalid.html
518+
parsing/min-inline-size-valid.html
519+
</wpt>
520+
467521
These properties correspond to the
468522
'min-height' and 'min-width' properties.
469523
The mapping depends on the element's 'writing-mode'.
@@ -480,6 +534,15 @@ and 'max-block-size'/'max-inline-size' properties</h3>
480534
Animation type: by computed value type
481535
</pre>
482536

537+
<wpt>
538+
parsing/max-block-size-computed.html
539+
parsing/max-block-size-invalid.html
540+
parsing/max-block-size-valid.html
541+
parsing/max-inline-size-computed.html
542+
parsing/max-inline-size-invalid.html
543+
parsing/max-inline-size-valid.html
544+
</wpt>
545+
483546
These properties correspond to the
484547
'max-height' and 'max-width' properties.
485548
The mapping depends on the element's 'writing-mode'.
@@ -500,6 +563,14 @@ the 'margin-block-start', 'margin-block-end', 'margin-inline-start', 'margin-inl
500563
Animation type: by computed value type
501564
</pre>
502565

566+
<wpt>
567+
logical-box-margin.html
568+
parsing/margin-block-inline-computed.html
569+
parsing/margin-block-inline-invalid.html
570+
parsing/margin-block-inline-shorthand.html
571+
parsing/margin-block-inline-valid.html
572+
</wpt>
573+
503574
These properties correspond to the 'margin-top', 'margin-bottom', 'margin-left', and 'margin-right' properties.
504575
The mapping depends on the element's 'writing-mode', 'direction', and 'text-orientation'.
505576

@@ -508,6 +579,11 @@ the 'margin-block-start', 'margin-block-end', 'margin-inline-start', 'margin-inl
508579
Value: <<'margin-top'>>{1,2}
509580
</pre>
510581

582+
<wpt>
583+
animations/margin-block-interpolation.html
584+
animations/margin-inline-interpolation.html
585+
</wpt>
586+
511587
These two <a>shorthand properties</a> set the
512588
'margin-block-start' &amp; 'margin-block-end'
513589
and
@@ -538,6 +614,14 @@ the 'inset-block-start', 'inset-block-end', 'inset-inline-start', 'inset-inline-
538614
Animation type: by computed value type
539615
</pre>
540616

617+
<wpt>
618+
logical-box-inset.html
619+
parsing/inset-block-inline-computed.html
620+
parsing/inset-block-inline-invalid.html
621+
parsing/inset-block-inline-shorthand.html
622+
parsing/inset-block-inline-valid.html
623+
</wpt>
624+
541625
These properties correspond to the
542626
'top', 'bottom', 'left', and 'right' properties.
543627
The mapping depends on the element's 'writing-mode', 'direction', and 'text-orientation'.
@@ -561,6 +645,13 @@ the 'inset-block-start', 'inset-block-end', 'inset-inline-start', 'inset-inline-
561645
Value: <<'top'>>{1,4}
562646
</pre>
563647

648+
<wpt>
649+
parsing/inset-computed.html
650+
parsing/inset-invalid.html
651+
parsing/inset-shorthand.html
652+
parsing/inset-valid.html
653+
</wpt>
654+
564655
This <a>shorthand property</a> sets the
565656
'top', 'right', 'bottom', and 'left' properties.
566657
Values are assigned to its <a>sub-properties</a> as for 'margin'.
@@ -581,6 +672,14 @@ the 'padding-block-start', 'padding-block-end', 'padding-inline-start', 'padding
581672
Animation type: by computed value type
582673
</pre>
583674

675+
<wpt>
676+
logical-box-padding.html
677+
parsing/padding-block-inline-computed.html
678+
parsing/padding-block-inline-invalid.html
679+
parsing/padding-block-inline-shorthand.html
680+
parsing/padding-block-inline-valid.html
681+
</wpt>
682+
584683
These properties correspond to the
585684
'padding-top', 'padding-bottom', 'padding-left', and 'padding-right' properties.
586685
The mapping depends on the element's 'writing-mode', 'direction', and 'text-orientation'.
@@ -590,6 +689,11 @@ the 'padding-block-start', 'padding-block-end', 'padding-inline-start', 'padding
590689
Value: <<'padding-top'>>{1,2}
591690
</pre>
592691

692+
<wpt>
693+
animations/padding-block-interpolation.html
694+
animations/padding-inline-interpolation.html
695+
</wpt>
696+
593697
These two <a>shorthand properties</a> set the
594698
'padding-block-start' &amp; 'padding-block-end'
595699
and
@@ -618,6 +722,10 @@ the 'border-block-start-width', 'border-block-end-width', 'border-inline-start-w
618722
Animation type: by computed value type
619723
</pre>
620724

725+
<wpt>
726+
logical-box-border-width.html
727+
</wpt>
728+
621729
These properties correspond to the
622730
'border-top-width', 'border-bottom-width', 'border-left-width', and 'border-right-width' properties.
623731
The mapping depends on the element's 'writing-mode', 'direction', and 'text-orientation'.
@@ -627,6 +735,15 @@ the 'border-block-start-width', 'border-block-end-width', 'border-inline-start-w
627735
Value: <<'border-top-width'>>{1,2}
628736
</pre>
629737

738+
<wpt>
739+
parsing/border-block-width-computed.html
740+
parsing/border-block-width-invalid.html
741+
parsing/border-block-width-valid.html
742+
parsing/border-inline-width-computed.html
743+
parsing/border-inline-width-invalid.html
744+
parsing/border-inline-width-valid.html
745+
</wpt>
746+
630747
These two <a>shorthand properties</a> set the
631748
'border-block-start-width' &amp; 'border-block-end-width'
632749
and
@@ -653,6 +770,16 @@ the 'border-block-start-style', 'border-block-end-style', 'border-inline-start-s
653770
Animation type: discrete
654771
</pre>
655772

773+
<wpt>
774+
logical-box-border-style.html
775+
parsing/border-block-style-computed.html
776+
parsing/border-block-style-invalid.html
777+
parsing/border-block-style-valid.html
778+
parsing/border-inline-style-computed.html
779+
parsing/border-inline-style-invalid.html
780+
parsing/border-inline-style-valid.html
781+
</wpt>
782+
656783
These properties correspond to the
657784
'border-top-style', 'border-bottom-style', 'border-left-style', and 'border-right-style' properties.
658785
The mapping depends on the element's 'writing-mode', 'direction', and 'text-orientation'.
@@ -687,6 +814,16 @@ the 'border-block-start-color', 'border-block-end-color', 'border-inline-start-c
687814
Animation type: by computed value type
688815
</pre>
689816

817+
<wpt>
818+
logical-box-border-color.html
819+
parsing/border-block-color-computed.html
820+
parsing/border-block-color-invalid.html
821+
parsing/border-block-color-valid.html
822+
parsing/border-inline-color-computed.html
823+
parsing/border-inline-color-invalid.html
824+
parsing/border-inline-color-valid.html
825+
</wpt>
826+
690827
These properties correspond to the
691828
'border-top-color', 'border-bottom-color', 'border-left-color', and 'border-right-color' properties.
692829
The mapping depends on the element's 'writing-mode', 'direction', and 'text-orientation'.
@@ -714,6 +851,11 @@ the 'border-block-start', 'border-block-end', 'border-inline-start', 'border-inl
714851
Value: <<'border-top-width'>> || <<'border-top-style'>> || <<color>>
715852
</pre>
716853

854+
<wpt>
855+
logical-box-border-shorthands.html
856+
parsing/border-block-valid.html
857+
</wpt>
858+
717859
These properties correspond to the
718860
'border-top', 'border-bottom', 'border-left', and 'border-right' properties.
719861
The mapping depends on the element's 'writing-mode', 'direction', and 'text-orientation'.
@@ -723,6 +865,10 @@ the 'border-block-start', 'border-block-end', 'border-inline-start', 'border-inl
723865
Value: <<'border-block-start'>>
724866
</pre>
725867

868+
<wpt>
869+
parsing/border-inline-valid.html
870+
</wpt>
871+
726872
These two <a>shorthand properties</a> set the
727873
'border-block-start' &amp; 'border-block-end'
728874
or
@@ -749,6 +895,10 @@ the 'border-start-start-radius', 'border-start-end-radius', 'border-end-start-ra
749895
Animation type: by computed value type
750896
</pre>
751897

898+
<wpt>
899+
logical-box-border-radius.html
900+
</wpt>
901+
752902
These properties correspond to the
753903
'border-top-left-radius', 'border-bottom-left-radius', 'border-top-right-radius', and 'border-bottom-right-radius' properties.
754904
The mapping depends on the element's 'writing-mode', 'direction', and 'text-orientation',
@@ -848,6 +998,7 @@ Changes</h2>
848998
<li>Made margin and padding properties refer to '*-top' properties for consistency.
849999
<li>Defined the term [=inset properties=].
8501000
<li>Miscellaneous minor clarifications.
1001+
<li>Added Web Platform Tests coverage.
8511002
</ul>
8521003

8531004
Changes between the earlier Editors Drafts and the <a href="https://www.w3.org/TR/2017/WD-css-logical-1-20170518/">18 May 2017 First Public Working Draft</a> include:
@@ -861,11 +1012,14 @@ Changes</h2>
8611012
<li>Miscellaneous prose cleanup.
8621013
</ul>
8631014

864-
<h2 class=no-num id=privacy>Privacy Considerations</h2>
1015+
<h2 class=no-num id=privacy>Privacy Considerations</h2>
8651016

8661017
No new privacy considerations have been reported on this specification.
867-
868-
<h2 class=no-num id=security>Security Considerations</h2>
1018+
1019+
<h2 class=no-num id=security>Security Considerations</h2>
8691020

8701021
No new security considerations have been reported on this specification.
871-
1022+
1023+
<wpt title="Features from other specs">
1024+
logical-values-resize.html
1025+
</wpt>

0 commit comments

Comments
 (0)