Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / vertical-align-baseline-replaced.html
blobe7f249278a54b5990aed719114d6fa64bb9a8c34
1 <!DOCTYPE html>
2 <style>
3 #table { display: table; }
4 #table > div { display: table-row; }
5 #table > div > div { display: table-cell; }
6 </style>
8 <div id="table">
9 <div>
10 <div><img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAwJyBoZWlnaHQ9JzEwMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cmVjdCBmaWxsPSdncmVlbicgd2lkdGg9JzEwMCcgaGVpZ2h0PScxMDAnPjwvcmVjdD48L3N2Zz4="></div>
11 <div><img id="imagetoset"></img></div>
12 </div>
13 </div>
15 <script>
16 document.documentElement.offsetWidth;
17 document.querySelector('#imagetoset').src = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAwJyBoZWlnaHQ9JzEwMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cmVjdCBmaWxsPSdncmVlbicgd2lkdGg9JzEwMCcgaGVpZ2h0PScxMDAnPjwvcmVjdD48L3N2Zz4=';
18 </script>