OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style type="text/css"> | 4 <style type="text/css"> |
5 .parent | 5 .parent |
6 { | 6 { |
7 width:300px; | 7 width:300px; |
8 border:1px solid green; | 8 border:1px solid green; |
9 } | 9 } |
10 | 10 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 width is greater than the max-width value.<br>However when min-width property is
set and its value is greated than \ | 90 width is greater than the max-width value.<br>However when min-width property is
set and its value is greated than \ |
91 the max-width value, the width of the container must be equal to the min-width v
alue.'); | 91 the max-width value, the width of the container must be equal to the min-width v
alue.'); |
92 debug('Note:The width of the css tables inclusive of its border width.<br>'); | 92 debug('Note:The width of the css tables inclusive of its border width.<br>'); |
93 maxGreatThanMinWidthAutoLayout = document.getElementById("maxGreatThanMinWidthAu
toLayout"); | 93 maxGreatThanMinWidthAutoLayout = document.getElementById("maxGreatThanMinWidthAu
toLayout"); |
94 shouldBe("maxGreatThanMinWidthAutoLayout.getBoundingClientRect().width","202"); | 94 shouldBe("maxGreatThanMinWidthAutoLayout.getBoundingClientRect().width","202"); |
95 minGreatThanMaxWidthAutoLayout = document.getElementById("minGreatThanMaxWidthAu
toLayout"); | 95 minGreatThanMaxWidthAutoLayout = document.getElementById("minGreatThanMaxWidthAu
toLayout"); |
96 shouldBe("minGreatThanMaxWidthAutoLayout.getBoundingClientRect().width","202"); | 96 shouldBe("minGreatThanMaxWidthAutoLayout.getBoundingClientRect().width","202"); |
97 onlyMaxWidthAutoLayout = document.getElementById("onlyMaxWidthAutoLayout"); | 97 onlyMaxWidthAutoLayout = document.getElementById("onlyMaxWidthAutoLayout"); |
98 shouldBe("onlyMaxWidthAutoLayout.getBoundingClientRect().width","202"); | 98 shouldBe("onlyMaxWidthAutoLayout.getBoundingClientRect().width","202"); |
99 maxWidthZeroAutoLayout = document.getElementById("maxWidthZeroAutoLayout"); | 99 maxWidthZeroAutoLayout = document.getElementById("maxWidthZeroAutoLayout"); |
100 shouldBe("maxWidthZeroAutoLayout.getBoundingClientRect().width","0"); | 100 shouldBe("maxWidthZeroAutoLayout.getBoundingClientRect().width","113"); |
101 maxGreatThanMinWidthFixedLayout = document.getElementById("maxGreatThanMinWidthF
ixedLayout"); | 101 maxGreatThanMinWidthFixedLayout = document.getElementById("maxGreatThanMinWidthF
ixedLayout"); |
102 shouldBe("maxGreatThanMinWidthFixedLayout.getBoundingClientRect().width","202"); | 102 shouldBe("maxGreatThanMinWidthFixedLayout.getBoundingClientRect().width","202"); |
103 minGreatThanMaxWidthFixedLayout = document.getElementById("minGreatThanMaxWidthF
ixedLayout"); | 103 minGreatThanMaxWidthFixedLayout = document.getElementById("minGreatThanMaxWidthF
ixedLayout"); |
104 shouldBe("minGreatThanMaxWidthFixedLayout.getBoundingClientRect().width","202"); | 104 shouldBe("minGreatThanMaxWidthFixedLayout.getBoundingClientRect().width","202"); |
105 onlyMaxWidthFixedLayout = document.getElementById("onlyMaxWidthFixedLayout"); | 105 onlyMaxWidthFixedLayout = document.getElementById("onlyMaxWidthFixedLayout"); |
106 shouldBe("onlyMaxWidthFixedLayout.getBoundingClientRect().width","202"); | 106 shouldBe("onlyMaxWidthFixedLayout.getBoundingClientRect().width","202"); |
107 maxWidthZeroFixedLayout = document.getElementById("maxWidthZeroFixedLayout"); | 107 maxWidthZeroFixedLayout = document.getElementById("maxWidthZeroFixedLayout"); |
108 shouldBe("maxWidthZeroFixedLayout.getBoundingClientRect().width","0"); | 108 shouldBe("maxWidthZeroFixedLayout.getBoundingClientRect().width","2"); |
109 | 109 |
110 document.body.removeChild(document.getElementById('container')); | 110 document.body.removeChild(document.getElementById('container')); |
111 </script> | 111 </script> |
112 <script src="../js/resources/js-test-post.js"></script> | 112 <script src="../js/resources/js-test-post.js"></script> |
113 <body> | 113 <body> |
114 </html> | 114 </html> |
OLD | NEW |