Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!doctype html> | |
| 2 <style> | |
| 3 .min { height: -webkit-min-content; } | |
|
Julien - ping for review
2015/05/26 16:06:37
min-content would also work (and it's not prefixed
dsinclair
2015/05/27 15:20:06
The test does not crash if I use min-content.
| |
| 4 </style> | |
| 5 | |
| 6 <p>Test passes if it does not CRASH in debug.</p> | |
| 7 | |
| 8 <script> | |
| 9 if (window.testRunner) | |
| 10 testRunner.dumpAsText(); | |
| 11 | |
| 12 tr = document.createElementNS("http://www.w3.org/1999/xhtml", "tr"); | |
|
Julien - ping for review
2015/05/26 16:06:37
No need for NameSpace here, createElement should w
dsinclair
2015/05/27 15:20:06
Done.
| |
| 13 tr.setAttribute("class", "min"); | |
|
Julien - ping for review
2015/05/26 16:06:37
tr.style.height = "-webkit-min-content"; (eliminat
dsinclair
2015/05/27 15:20:06
Done.
| |
| 14 | |
| 15 document.documentElement.appendChild(tr); | |
|
Julien - ping for review
2015/05/26 16:06:37
I really think we should just have the element alr
dsinclair
2015/05/27 15:20:06
Done.
| |
| 16 </script> | |
| OLD | NEW |