| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| <title>CSS Logical Properties and Values: getComputedStyle().borderInlineColor</title> |
| <link rel="help" href="https://drafts.csswg.org/css-logical/#propdef-border-inline-color"> |
| <meta name="assert" content="border-inline-color is computed color(s)."> |
| <script src="/resources/testharness.js"></script> |
| <script src="/resources/testharnessreport.js"></script> |
| <script src="/css/support/computed-testcommon.js"></script> |
| </head> |
| <body> |
| <div id="box"></div> |
| <div id="target"></div> |
| <style> |
| #target { |
| color: lime; |
| } |
| </style> |
| <script> |
| test_computed_value("border-inline-start-color", "currentcolor", 'rgb(0, 255, 0)'); |
| test_computed_value("border-inline-start-color", "rgb(2, 3, 4)"); |
| test_computed_value("border-inline-end-color", "rgb(34, 51, 68)"); |
| test_computed_value("border-inline-end-color", "transparent", "rgba(0, 0, 0, 0)"); |
| test_computed_value("border-inline-color", "rgb(34, 51, 68)"); |
| test_computed_value("border-inline-color", "transparent rgb(2, 3, 4)", "rgba(0, 0, 0, 0) rgb(2, 3, 4)"); |
| test_computed_value("border-inline-color", "rgb(2, 3, 4) rgb(2, 3, 4)", "rgb(2, 3, 4)"); |
| test_computed_value("border-inline-color", "currentcolor lime", 'rgb(0, 255, 0)'); |
| </script> |
| </body> |
| </html> |