| Index: third_party/WebKit/LayoutTests/css3/logical-props/resources/style-check.js
|
| diff --git a/third_party/WebKit/LayoutTests/css3/logical-props/resources/style-check.js b/third_party/WebKit/LayoutTests/css3/logical-props/resources/style-check.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cd129fd51b8001af0a368d2d113176ebcbddf394
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/css3/logical-props/resources/style-check.js
|
| @@ -0,0 +1,9 @@
|
| +"use strict";
|
| +function compareWidthHeight(id1, id2) {
|
| + var element1 = document.getElementById(id1);
|
| + var style1 = getComputedStyle(element1);
|
| + var element2 = document.getElementById(id2);
|
| + var style2 = getComputedStyle(element2);
|
| + return (style1.width == style2.width) &&
|
| + (style1.height == style2.height)
|
| +}
|
|
|