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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/css/getComputedStyle-svg-text-width-height.html

Issue 2798903005: Return computed style for width/height for non-root SVG (Closed)
Patch Set: Reduce behavior change Created 3 years, 8 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 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 <!DOCTYPE html>
2 <title>Width/height properties in getComputedStyle of svg text</title>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <svg width="100" height="100">
6 <text id="text1">Text1</text>
7 <text id="text2" style="width: 20px; height: 30%">Text2</text>
8 </svg>
9 <script>
10 test(function() {
11 assert_equals(getComputedStyle(text1).width, 'auto');
12 assert_equals(getComputedStyle(text1).height, 'auto');
13 assert_equals(getComputedStyle(text2).width, 'auto');
14 assert_equals(getComputedStyle(text2).height, 'auto');
15 });
16 </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