We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c1fe16 commit 17d0417Copy full SHA for 17d0417
1 file changed
css-color-4/Overview.bs
@@ -5138,11 +5138,11 @@ Hue interpolation</h3>
5138
Angles are adjusted so that |θ₂ - θ₁| ∈ {0, [180, 360)}. In pseudo-Javascript:
5139
<pre>
5140
if (0 < θ₂ - θ₁ < 180) {
5141
- θ₁ += 360;
5142
- }
5143
- else if (-180 < θ₂ - θ₁ < 0) {
5144
θ₂ += 360;
5145
}
+ else if (-180 < θ₂ - θ₁ <= 0) {
+ θ₁ += 360;
+ }
5146
</pre>
5147
5148
<h4 id="hue-increasing"><dfn export>increasing</dfn></h4>
0 commit comments