Commit aeef7f82 authored by timloh@chromium.org's avatar timloh@chromium.org

Remove remaining testing of getPropertyCSSValue

As getPropertyCSSValue, CSSPrimitiveValue, etc. are no longer
web-exposed, we should stop testing them so we can delete the interface.

BUG=428595

Review URL: https://codereview.chromium.org/715913003

git-svn-id: svn://svn.chromium.org/blink/trunk@185165 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 657b1fe1
...@@ -7,8 +7,6 @@ PASS: canGet('Attr') should be 'true' and is. ...@@ -7,8 +7,6 @@ PASS: canGet('Attr') should be 'true' and is.
PASS: canSet('Attr') should be 'true' and is. PASS: canSet('Attr') should be 'true' and is.
PASS: canGet('CDATASection') should be 'true' and is. PASS: canGet('CDATASection') should be 'true' and is.
PASS: canSet('CDATASection') should be 'true' and is. PASS: canSet('CDATASection') should be 'true' and is.
PASS: canGet('CSSPrimitiveValue') should be 'true' and is.
PASS: canSet('CSSPrimitiveValue') should be 'true' and is.
PASS: canGet('CSSRule') should be 'true' and is. PASS: canGet('CSSRule') should be 'true' and is.
PASS: canSet('CSSRule') should be 'true' and is. PASS: canSet('CSSRule') should be 'true' and is.
PASS: canGet('CSSStyleDeclaration') should be 'true' and is. PASS: canGet('CSSStyleDeclaration') should be 'true' and is.
......
...@@ -84,7 +84,6 @@ function canSetWithCallable(keyPath) ...@@ -84,7 +84,6 @@ function canSetWithCallable(keyPath)
var windowReadWriteProperties = [ var windowReadWriteProperties = [
"Attr", "Attr",
"CDATASection", "CDATASection",
"CSSPrimitiveValue",
"CSSRule", "CSSRule",
"CSSStyleDeclaration", "CSSStyleDeclaration",
"CharacterData", "CharacterData",
......
...@@ -44,8 +44,9 @@ ...@@ -44,8 +44,9 @@
function checkShadow() function checkShadow()
{ {
var container = document.getElementById('container'); var container = document.getElementById('container');
var shadow = window.getComputedStyle(container).getPropertyCSSValue('text-shadow'); var shadow = window.getComputedStyle(container).textShadow;
shadow = shadow.replace(/rgb([^)]*)/g, "color").split(",");
var result = document.getElementById('result'); var result = document.getElementById('result');
if (shadow.length == 5) if (shadow.length == 5)
result.innerHTML = 'PASS: saw 5 shadows during the transition'; result.innerHTML = 'PASS: saw 5 shadows during the transition';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment