Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(615)

Unified Diff: LayoutTests/fast/inspector-support/style.html

Issue 14619018: As discussed in blink-dev mailing list remove getPropertyShorthand and isImplicit from the Web expo… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/inspector-support/style.html
diff --git a/LayoutTests/fast/inspector-support/style.html b/LayoutTests/fast/inspector-support/style.html
index d29ef06ab680f0839e11e12b7c9dfcf34dfa0099..37256a91d9a284c47a5eeec602f4eafcf8e7e1ff 100644
--- a/LayoutTests/fast/inspector-support/style.html
+++ b/LayoutTests/fast/inspector-support/style.html
@@ -15,13 +15,8 @@ Note that background is buggy right now!
var ruleList = document.defaultView.getMatchedCSSRules(document.getElementById('foo'), '');
var decl = ruleList[0].style;
for (var i = 0; i < decl.length; i++) {
- var shorthand = decl.getPropertyShorthand(decl[i]);
- document.write(decl[i] + ": " + decl.getPropertyValue(decl[i]));
- if (shorthand) {
- document.write(" (original property was " + shorthand
- + (decl.isPropertyImplicit(decl[i]) ? " and property was implicitly set.)" : ")"));
- }
- document.write( "<br>");
+ document.write(decl[i] + ": " + decl.getPropertyValue(decl[i]));
+ document.write( "<br>");
}
</script>
</body>
« no previous file with comments | « LayoutTests/fast/css/overflow-property-expected.txt ('k') | LayoutTests/fast/inspector-support/style-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698