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

Unified Diff: LayoutTests/fast/block/float/override-property-float.html

Issue 1048803002: Remove support of nonstandard 'CSSValueCenter' property value for floated element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 5 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/fast/block/float/override-property-float-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/block/float/override-property-float.html
diff --git a/LayoutTests/fast/block/float/override-property-float.html b/LayoutTests/fast/block/float/override-property-float.html
new file mode 100644
index 0000000000000000000000000000000000000000..4eb061918cb1795378fdfeda63d566236682dfe4
--- /dev/null
+++ b/LayoutTests/fast/block/float/override-property-float.html
@@ -0,0 +1,23 @@
+<!doctype html>
+<html>
+<head>
+<script src="../../../resources/js-test.js"></script>
+<style>
+ #test {
+ width:100px;
+ height:100px;
+ background:green;
+ float:right;
+ float:center;
+ }
+</style>
+</head>
+<body>
+ <div id="test">TEXT</div>
+</body>
+<script>
+description('If this test passes, the red box should be on the right side of page.');
davve 2015/03/31 07:32:20 s/red/green/
Abhijeet Kandalkar Slow 2015/03/31 08:23:16 Done.
+var element = document.getElementById('test');
+shouldBeEqualToString('window.getComputedStyle(element, null).getPropertyValue("float")', 'right');
+</script>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/block/float/override-property-float-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698