Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 body { | 5 body { |
| 6 zoom: 0.9; | 6 zoom: 0.9; |
| 7 } | 7 } |
| 8 #test { | 8 #test { |
| 9 width: intrinsic; | 9 width: fit-content; |
| 10 border: 1px solid red; | 10 border: 1px solid red; |
| 11 padding: 5px; | 11 padding: 5px; |
| 12 overflow: hidden; | 12 overflow: hidden; |
| 13 } | 13 } |
| 14 </style> | 14 </style> |
| 15 </head> | 15 </head> |
| 16 <body> | 16 <body> |
| 17 <div id="test"> | 17 <div id="test"> |
| 18 This box should not have a scrollbar. | 18 This box should not have a scrollbar. |
| 19 </div> | 19 </div> |
| 20 </body> | 20 </body> |
| 21 </body> | 21 </body> |
| OLD | NEW |