Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / block / containing-block-change-percentage-padding-width-recalc.html
1 <!DOCTYPE html>
2 <style>
3 #dynamic-container {
4     width: 500px;
5     transform: translateX(0);
6 }
7 #percentage-padding {
8     position: absolute;
9     padding: 10%;
10 }
11 </style>
12 <div id='dynamic-container'>
13     <div id='percentage-padding'>
14         There should be no line break.
15     </div>
16 </div>
17 <script>
18     document.body.offsetTop;
19     document.getElementById('dynamic-container').style.transform = "none";
20 </script>