Skip to content

Commit

Permalink
rebase tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Dec 8, 2023
1 parent 6c288cc commit 80580a6
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 52 deletions.
8 changes: 4 additions & 4 deletions tests/github/w3c/csswg-drafts/css-backgrounds-3/Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -2946,8 +2946,8 @@ <h3 class="heading settled" data-level="6.1" id="box-shadow"><span class="secno"
from an <dfn class="dfn-paneled" data-dfn-type="dfn" data-local-lt="outer shadow" data-noexport id="outer-box-shadow">outer box-shadow</dfn> (one that shadows the box onto the canvas, as if it were lifted above the canvas)
to an <dfn class="dfn-paneled" data-dfn-type="dfn" data-local-lt="inner shadow" data-noexport id="inner-box-shadow">inner box-shadow</dfn> (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it).
</dl>
<div class="example" id="example-ad19943a">
<a class="self-link" href="#example-ad19943a"></a>
<div class="example" id="example-ad571670">
<a class="self-link" href="#example-ad571670"></a>
<p>The example below demonstrates the effects of spread and blur on the shadow: </p>
<pre>width: <b>100px</b>; height: <b>100px</b>;
border: <b>12px solid blue</b>; background-color: <b>orange</b>;
Expand Down Expand Up @@ -2976,8 +2976,8 @@ <h4 class="heading settled" data-level="6.1.1" id="shadow-shape"><span class="se
<p>If a <a data-link-type="dfn" href="#spread-distance" id="ref-for-spread-distance">spread distance</a> is defined, the shadow perimeter defined above
is expanded outward (for <a data-link-type="dfn" href="#outer-box-shadow" id="ref-for-outer-box-shadow①">outer box-shadows</a>) or contracted inward (for <a data-link-type="dfn" href="#inner-box-shadow" id="ref-for-inner-box-shadow①">inner box-shadows</a>)
by outsetting (insetting, for inner shadows) the shadow’s straight edges by the <span id="ref-for-spread-distance①">spread distance</span> (and flooring the resulting width/height at zero). </p>
<div class="example" id="example-85153c37">
<a class="self-link" href="#example-85153c37"></a>
<div class="example" id="example-6ed2333a">
<a class="self-link" href="#example-6ed2333a"></a>
<p>Below are some examples of an orange box with a blue border being
given a drop shadow.</p>
<table class="data" id="box-shadow-samples">
Expand Down
4 changes: 2 additions & 2 deletions tests/github/w3c/csswg-drafts/css-backgrounds-4/Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -1823,8 +1823,8 @@ <h3 class="heading settled" data-level="5.2" id="border-clip"><span class="secno
</div>
</div>
</div>
<div class="example" id="example-d41d8cd9">
<a class="self-link" href="#example-d41d8cd9"></a>
<div class="example" id="example-98a129b5">
<a class="self-link" href="#example-98a129b5"></a>
<pre>border-top: thin solid black;
border-bottom: thin solid black;
border-clip-top: 10px;
Expand Down
4 changes: 2 additions & 2 deletions tests/github/w3c/csswg-drafts/css-scrollbars-1/Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -1137,8 +1137,8 @@ <h2 class="heading settled" data-level="2" id="scrollbar-color"><span class="sec
implementations may alter which scrollbar colors apply to which scrollbar parts.</p>
<p class="note" role="note"><span class="marker">Note:</span> IE uses named System Colors as defaults for each of the scrollbar color properties.
See related <a href="https://github.com/w3c/csswg-drafts/issues/1956">Issue 1956</a>.</p>
<div class="example" id="example-472ea456">
<a class="self-link" href="#example-472ea456"></a>
<div class="example" id="example-8bd6d072">
<a class="self-link" href="#example-8bd6d072"></a>
<p>The following example
(derived from <a href="https://www.w3.org/Style/Examples/007/scrollbars.en.html">https://www.w3.org/Style/Examples/007/scrollbars.en.html</a>)
resets scrollbar colors in IE.</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
LINE 172:42: Character reference '&B' didn't end in ;.
LINE 2386: The var 'top-level flag' (in global scope) is only used once.
If this is not a typo, please add an ignore='' attribute to the <var>.
LINE 2746: Multiple elements have the same ID 'example-fd05d7f6'.
Deduping, but this ID may not be stable across revisions.
LINE 2770: Multiple elements have the same ID 'example-fd05d7f6'.
Deduping, but this ID may not be stable across revisions.
LINE 3368: Multiple elements have the same ID 'at-rule'.
Deduping, but this ID may not be stable across revisions.
LINE 60: Multiple possible 'dfn' local refs for 'at-rules'.
Expand Down
24 changes: 12 additions & 12 deletions tests/github/w3c/csswg-drafts/css-syntax-3/Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -4223,8 +4223,8 @@ <h2 class="heading settled" data-level="6" id="anb-microsyntax"><span class="sec
and selecting the <var>B</var>th element of each group.</p>
<p>The <var>An+B</var> notation also accepts the <span class="css">even</span> and <span class="css">odd</span> keywords,
which have the same meaning as <span class="css">2n</span> and <span class="css">2n+1</span>, respectively.</p>
<div class="example" id="example-fd05d7f6">
<a class="self-link" href="#example-fd05d7f6"></a>
<div class="example" id="example-0b8828eb">
<a class="self-link" href="#example-0b8828eb"></a>
<p>Examples: </p>
<pre>2n+0 /* represents all of the even elements in the list */
even /* same */
Expand All @@ -4234,8 +4234,8 @@ <h2 class="heading settled" data-level="6" id="anb-microsyntax"><span class="sec
but only the positive results of <var>An+B</var>,
for <var>n</var> ≥ 0,
are used.</p>
<div class="example" id="example-81eeab95">
<a class="self-link" href="#example-81eeab95"></a>
<div class="example" id="example-34cd21ee">
<a class="self-link" href="#example-34cd21ee"></a>
<p>Example: </p>
<pre>-1n+6 /* represents the first 6 elements of the list */
-4n+10 /* represents the 2nd, 6th, and 10th elements of the list */
Expand All @@ -4252,16 +4252,16 @@ <h3 class="heading settled" data-level="6.1" id="anb-syntax"><span class="secno"
the <a class="css" data-link-type="maybe" href="https://drafts.csswg.org/selectors-4/#selectordef-adjacent" id="ref-for-selectordef-adjacent">+</a> sign before <var>B</var> (when allowed)
may also be omitted.
In this case the syntax simplifies to just <var>B</var>.</p>
<div class="example" id="example-fd05d7f6①">
<a class="self-link" href="#example-fd05d7f6①"></a>
<div class="example" id="example-335ba750">
<a class="self-link" href="#example-335ba750"></a>
<p>Examples: </p>
<pre>0n+5 /* represents the 5th element in the list */
5 /* same */</pre>
</div>
<p>When <var>A</var> is 1 or -1,
the <code>1</code> may be omitted from the rule.</p>
<div class="example" id="example-4cdba510">
<a class="self-link" href="#example-4cdba510"></a>
<div class="example" id="example-5d33d659">
<a class="self-link" href="#example-5d33d659"></a>
<p>Examples: </p>
<p>The following notations are therefore equivalent: </p>
<pre>1n+0 /* represents all elements in the list */
Expand All @@ -4272,8 +4272,8 @@ <h3 class="heading settled" data-level="6.1" id="anb-syntax"><span class="secno"
In such a case,
the <var>+B</var> (or <var>-B</var>) part may be omitted
unless the <var>A</var> part is already omitted.</p>
<div class="example" id="example-fd05d7f6②">
<a class="self-link" href="#example-fd05d7f6②"></a>
<div class="example" id="example-c62dcd18">
<a class="self-link" href="#example-c62dcd18"></a>
<p>Examples: </p>
<pre>2n+0 /* represents every even element in the list */
2n /* same */</pre>
Expand All @@ -4287,8 +4287,8 @@ <h3 class="heading settled" data-level="6.1" id="anb-syntax"><span class="secno"
<pre>3n + -6</pre>
</div>
<p>Whitespace is permitted on either side of the <a class="css" data-link-type="maybe" href="https://drafts.csswg.org/selectors-4/#selectordef-adjacent" id="ref-for-selectordef-adjacent②">+</a> or <span class="css">-</span> that separates the <var>An</var> and <var>B</var> parts when both are present.</p>
<div class="example" id="example-6348b10d">
<a class="self-link" href="#example-6348b10d"></a>
<div class="example" id="example-e61d78e8">
<a class="self-link" href="#example-e61d78e8"></a>
<p>Valid Examples with white space: </p>
<pre>3n + 1
+3n - 2
Expand Down
12 changes: 6 additions & 6 deletions tests/github/w3c/csswg-drafts/css-writing-modes-3/Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -1638,8 +1638,8 @@ <h3 class="heading settled" data-level="2.3" id="bidi-example"><span class="secn
style sheets should be designed so that bidi rules are separate from
other style rules, and such rules should not be overridden by other
style sheets so that the document language’s bidi behavior is preserved.</p>
<div class="example" id="example-2ad27e64">
<a class="self-link" href="#example-2ad27e64"></a>
<div class="example" id="example-16648d44">
<a class="self-link" href="#example-16648d44"></a>
<p>In this example, lowercase letters stand for inherently left-to-right
characters and uppercase letters represent inherently right-to-left
characters. The text stream is shown below in logical backing store order.</p>
Expand Down Expand Up @@ -1932,8 +1932,8 @@ <h3 class="heading settled" data-level="3.2" id="block-flow"><span class="secno"
<p><img alt="Diagram of left-to-right vertical layout: blocks 1, 2,
and 3 are arranged side by side from left to right" height="191" src="images/vertical-lr.png" width="300"></p>
</div>
<div class="example" id="example-676bab0e">
<a class="self-link" href="#example-676bab0e"></a>
<div class="example" id="example-04885d8e">
<a class="self-link" href="#example-04885d8e"></a>
<p>In the following example, some form controls are rendered inside
a block with <a class="css" data-link-type="maybe" href="#valdef-writing-mode-vertical-rl" id="ref-for-valdef-writing-mode-vertical-rl">vertical-rl</a> writing mode. The form controls are
rendered to match the writing mode. </p>
Expand Down Expand Up @@ -3048,8 +3048,8 @@ <h3 class="heading settled" data-level="9.1" id="text-combine-upright"><span cla
all consecutive <a data-link-type="dfn" href="https://drafts.csswg.org/css-text-4/#typographic-character-unit" id="ref-for-typographic-character-unit①⓪">typographic character units</a> within the box or text run
such that they take up the space of a single <span id="ref-for-typographic-character-unit①①">typographic character unit</span> within the vertical line box.
</dl>
<div class="example" id="example-5e39a8de">
<a class="self-link" href="#example-5e39a8de"></a>
<div class="example" id="example-8f7f7a77">
<a class="self-link" href="#example-8f7f7a77"></a>
<p>In East Asian documents, the <span class="css">text-combine-upright</span> effect is often
used to display Latin-based strings such as components of a date or
letters of an initialism, always in a horizontal writing mode
Expand Down
16 changes: 8 additions & 8 deletions tests/github/w3c/csswg-drafts/css-writing-modes-4/Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -1655,8 +1655,8 @@ <h3 class="heading settled" data-level="2.3" id="bidi-example"><span class="secn
style sheets should be designed so that bidi rules are separate from
other style rules, and such rules should not be overridden by other
style sheets so that the document language’s bidi behavior is preserved.</p>
<div class="example" id="example-2ad27e64">
<a class="self-link" href="#example-2ad27e64"></a>
<div class="example" id="example-16648d44">
<a class="self-link" href="#example-16648d44"></a>
<p>In this example, lowercase letters stand for inherently left-to-right
characters and uppercase letters represent inherently right-to-left
characters. The text stream is shown below in logical backing store order.</p>
Expand Down Expand Up @@ -1997,8 +1997,8 @@ <h3 class="heading settled" data-level="3.2" id="block-flow"><span class="secno"
<p><img alt="Diagram of left-to-right vertical layout: blocks 1, 2,
and 3 are arranged side by side from left to right" height="191" src="images/vertical-lr.png" width="300"></p>
</div>
<div class="example" id="example-676bab0e">
<a class="self-link" href="#example-676bab0e"></a>
<div class="example" id="example-04885d8e">
<a class="self-link" href="#example-04885d8e"></a>
<p>In the following example, some form controls are rendered inside
a block with <a class="css" data-link-type="maybe" href="#valdef-writing-mode-vertical-rl" id="ref-for-valdef-writing-mode-vertical-rl">vertical-rl</a> writing mode. The form controls are
rendered to match the writing mode. </p>
Expand Down Expand Up @@ -3218,8 +3218,8 @@ <h3 class="heading settled" data-level="9.1" id="text-combine-upright"><span cla
If the integer is omitted, it computes to 2.
Integers outside the range 2-4 are invalid.
</dl>
<div class="example" id="example-5e39a8de">
<a class="self-link" href="#example-5e39a8de"></a>
<div class="example" id="example-57d55bfa">
<a class="self-link" href="#example-57d55bfa"></a>
<p>In East Asian documents, the <span class="css">text-combine-upright</span> effect is often
used to display Latin-based strings such as components of a date or
letters of an initialism, always in a horizontal writing mode
Expand Down Expand Up @@ -3351,8 +3351,8 @@ <h5 class="heading settled" data-level="9.1.3.1" id="text-combine-fullwidth"><sp
when the combined text consists of more than one <a data-link-type="dfn" href="https://drafts.csswg.org/css-text-4/#typographic-character-unit" id="ref-for-typographic-character-unit②②">typographic character unit</a>,
then any full-width <span id="ref-for-typographic-character-unit②③">typographic character units</span> should first be converted to their non-full-width equivalents
by reversing the algorithm defined for <a class="css" data-link-type="propdesc" href="https://drafts.csswg.org/css-text-4/#propdef-text-transform" id="ref-for-propdef-text-transform">text-transform: full-width</a> in <a data-link-type="biblio" href="#biblio-css-text-3" title="CSS Text Module Level 3">[CSS-TEXT-3]</a> before applying other compression techniques. </p>
<div class="example" id="example-408da4df">
<a class="self-link" href="#example-408da4df"></a>
<div class="example" id="example-b52a6513">
<a class="self-link" href="#example-b52a6513"></a>
<p>For example, an author might apply both <a class="property css" data-link-type="property" href="https://drafts.csswg.org/css-text-4/#propdef-text-transform" id="ref-for-propdef-text-transform①">text-transform</a> and <a class="property css" data-link-type="property" href="#propdef-text-combine-upright" id="ref-for-propdef-text-combine-upright⑨">text-combine-upright</a> to a date set in vertical text. </p>
<pre>date { text-combine-upright: digits 2; text-transform: full-width; }</pre>
<p>Suppose this style rule is applied to a date such as. </p>
Expand Down
4 changes: 2 additions & 2 deletions tests/github/w3c/csswg-drafts/selectors-4/Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -3234,8 +3234,8 @@ <h3 class="heading settled" data-level="13.2" id="the-empty-pseudo"><span class=
whose data has a non-zero length must be considered as affecting emptiness;
comments, processing instructions, and other nodes
must not affect whether an element is considered empty or not.</p>
<div class="example" id="example-73ae885a">
<a class="self-link" href="#example-73ae885a"></a> Examples: <span class="css">p:empty</span> is a valid representation of the <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/grouping-content.html#the-p-element" id="ref-for-the-p-element③">p</a></code> elements
<div class="example" id="example-3846287b">
<a class="self-link" href="#example-3846287b"></a> Examples: <span class="css">p:empty</span> is a valid representation of the <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/grouping-content.html#the-p-element" id="ref-for-the-p-element③">p</a></code> elements
in the following HTML fragment:
<pre class="html">&lt;p>&lt;/p>
&lt;p>
Expand Down
12 changes: 6 additions & 6 deletions tests/github/w3c/fxtf-drafts/compositing-1/Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -1098,8 +1098,8 @@ <h4 class="heading settled" data-level="3.4.1" id="mix-blend-mode"><span class="
<p class="caption"> Blending of a transparent image on a lime backdrop. </p>
</div>
</div>
<div class="example" id="example-a74deb07">
<a class="self-link" href="#example-a74deb07"></a>
<div class="example" id="example-cc75cc4f">
<a class="self-link" href="#example-cc75cc4f"></a>
<p>Given the following svg code:</p>
<pre>&lt;svg>
&lt;circle cx="40" cy="40" r="40" fill="red"/>
Expand All @@ -1116,8 +1116,8 @@ <h4 class="heading settled" data-level="3.4.1" id="mix-blend-mode"><span class="
<p class="caption"> Example of 3 circles blending with a screen blend mode </p>
</div>
</div>
<div class="example" id="example-95b8cdae">
<a class="self-link" href="#example-95b8cdae"></a>
<div class="example" id="example-0c443386">
<a class="self-link" href="#example-0c443386"></a>
<p>In the following style sheet and document fragment:</p>
<pre>body { background-color: lime; }
div { background-color: red; width: 200px; opacity: .95}
Expand Down Expand Up @@ -1241,8 +1241,8 @@ <h4 class="heading settled" data-level="3.4.3" id="background-blend-mode"><span
<p>The <a class="property css" data-link-type="property" href="#propdef-background-blend-mode" id="ref-for-propdef-background-blend-mode③">background-blend-mode</a> list must be applied in the same order as <a class="property css" data-link-type="property" href="https://drafts.csswg.org/css-backgrounds-3/#propdef-background-image" id="ref-for-propdef-background-image">background-image</a> <a data-link-type="biblio" href="#biblio-css3bg" title="CSS Backgrounds and Borders Module Level 3">[CSS3BG]</a>. This means that the first element in the list will apply to the layer that is on top. If a property doesn’t have enough comma-separated values to match the number of layers, the UA must calculate its used value by repeating the list of values until there are enough.</p>
<p></p>
<p>If the <a class="property css" data-link-type="property" href="https://drafts.csswg.org/css-backgrounds-3/#propdef-background" id="ref-for-propdef-background">background</a> <a data-link-type="biblio" href="#biblio-css3bg" title="CSS Backgrounds and Borders Module Level 3">[CSS3BG]</a> shorthand is used, the <a class="property css" data-link-type="property" href="#propdef-background-blend-mode" id="ref-for-propdef-background-blend-mode④">background-blend-mode</a> property for that element must be reset to its initial value.</p>
<div class="example" id="example-55a19e6a">
<a class="self-link" href="#example-55a19e6a"></a>
<div class="example" id="example-392c0544">
<a class="self-link" href="#example-392c0544"></a>
<p>Given the following sample markup:</p>
<pre>&lt;body>
&lt;div>&lt;/div>
Expand Down
Loading

0 comments on commit 80580a6

Please sign in to comment.