Add tan() function for CSSTrigonometrcFunctions

According to the CSS Values and Units Module Level 4 [1],
the trigonometric function should be parsed and evaluated.

This CL adds tan() function and testcases for tan().

Feature status: [2]
Intent to prototype: [3]

[1] https://www.w3.org/TR/css-values-4/#trig-funcs
[2] https://chromestatus.com/feature/5165381072191488
[3] https://groups.google.com/a/chromium.org/g/blink-dev/c/-c9p-Sq_gWg

Bug: 1190444
Change-Id: I33cbd046e7c78191a373ce17f3209eab317c461b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3799087
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Seokho Song <seokho@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1031380}
diff --git a/css/css-values/sin-cos-tan-serialize.html b/css/css-values/sin-cos-tan-serialize.html
index 278940b..e5d57c1 100644
--- a/css/css-values/sin-cos-tan-serialize.html
+++ b/css/css-values/sin-cos-tan-serialize.html
@@ -34,7 +34,10 @@
     "cos(1.047197551rad)"                              :"calc(0.5)",
     "cos(0.16666666666turn)"                           :"calc(0.5)",
     "tan(45deg)"                                       :"calc(1)",
-    "tan(45deg)"                                       :"calc(1)",
+    "tan(50grad)"                                      :"calc(1)",
+    "tan(0.78539816)"                                  :"calc(1)",
+    "tan(0.78539816rad)"                               :"calc(1)",
+    "tan(0.125turn)"                                   :"calc(1)",
     "calc(sin(30deg) + cos(60deg) + tan(45deg)"        :"calc(2)",
     "calc(sin(infinity))"                              :"calc(NaN)",
     "calc(cos(infinity))"                              :"calc(NaN)",