OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <title>Comments inside calc() allowed</title> | |
5 <style> | |
6 div { height: 50px; background-color: green; font-size: 50px; } | |
7 #t1 { width: calc(50px + 1em) } | |
8 #t2 { width: calc(50px + /* Comment allowed */ 1em) } | |
9 </style> | |
10 </head> | |
11 <body> | |
12 <p>You should see a green square below</p> | |
13 <div id="t1"></div> | |
14 <div id="t2"></div> | |
15 </body> | |
16 </html> | |
OLD | NEW |