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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/in-html/inside-inline-block.html

Issue 1604993003: Set intrinsic size for inline SVG earlier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Avoid isEmpty(). Set individual width/height values. Add test for this. Created 4 years, 11 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/LayoutTests/svg/in-html/inside-inline-block-expected.html » ('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>SVG inside inline block</title>
3 <style>
4 body { margin: 0 }
5 span { display: inline-block }
6 div {
7 width: 100px;
8 background: green;
9 position: absolute;
10 top: 0;
11 left: 0
12 }
13 .cover1 {
14 top: 0;
15 left: 0;
16 height: 150px
17 }
18 .cover2 {
19 top: 50px;
20 left: 100px;
21 height: 100px
22 }
23 svg {
24 width: 100%;
25 height: 100%
26 }
27 </style>
28 <span>
29 <svg width="100">
30 <rect width="100%" height="100%" fill="red"/>
31 </svg>
32 </span><span>
33 <svg width="100" height="100" style="width: 100%; height: 100%;">
34 <rect width="100%" height="100%" fill="red"/>
35 </svg>
36 </span>
37 <div class="cover1"></div>
38 <div class="cover2"></div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/in-html/inside-inline-block-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698