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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-clip.html

Issue 1506883004: Fixes incorrect values seen in clip property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <script src="../../../resources/testharness.js"></script>
2 <script src="../../../resources/testharnessreport.js"></script>
3 <div id="target1" style="clip: rect(auto, auto, auto, auto);"></div>
4 <div id="target2" style="clip: rect(auto, auto, auto, 5);"></div>
5 <div id="target3" style="clip: rect(5, 2, auto, 5);"></div>
6 <script>
7 test(function() {
8 // Tests https://code.google.com/p/chromium/issues/detail?id=412921
9 assert_equals(getComputedStyle(target1).clip, 'rect(auto auto auto auto)');
10 assert_equals(getComputedStyle(target2).clip, 'rect(auto auto auto 5px)');
11 assert_equals(getComputedStyle(target3).clip, 'rect(5px 2px auto 5px)');
12 });
13 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698