Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 Simple test that the dragstart event contains the default data in the event. | 1 Simple test that the dragstart event contains the default data in the event. |
| 2 | 2 |
| 3 Select some text in this box and drag it. | 3 Select some text in this box and drag it. |
| 4 | 4 |
| 5 Drag the image. | 5 Drag the image. |
| 6 | 6 |
| 7 Drag the link. Link | 7 Drag the link. Link |
| 8 | 8 |
| 9 Test ID: selectionTest | 9 Test ID: selectionTest |
| 10 text/plain: Select some text in this box and drag it. | 10 text/plain: Select some text in this box and drag it. |
| 11 text/url: | 11 text/url: |
| 12 text/html: <span style="color: rgb(0, 0, 0); font-family: serif; font-size: medi um; font-style: normal; font-variant: normal; font-weight: normal; letter-spacin g: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0 px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -we bkit-text-stroke-width: 0px; display: inline !important; float: none;">Select so me text in this box and drag it.</span> | 12 text/html: <span style="color: rgb(0, 0, 0); font-family: serif; font-size: medi um; font-style: normal; font-variant: normal; font-weight: normal; letter-spacin g: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0 px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -we bkit-text-stroke-width: 0px; display: inline !important; float: none;">Select so me text in this box and drag it.</span> |
| 13 Test ID: imageTest | 13 Test ID: imageTest |
| 14 text/plain: | 14 text/plain: |
| 15 text/url: | 15 text/url: |
| 16 text/html: <img id="imageTest" src="data:image/png;base64, iVBORw0KGgoAAAANSUhEU gAAAJYAAAA8CAIAAAAL5NQ9AAAACXBIWXMAAAsTAAALEwEAmpwY AAAAB3RJTUUH2woaBQc4oLEFpAAA ABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeB DhcAAACMSURBVHja7dNBEYAgFEVRPhHMYgA zUIsmVnFvB/fsoQb+ObfBmzMvxneW1D1vzz2w FiEUQiFEKIRCKIQIhVAIhRChEAqhECIUQiEUQoRCKI RCiFAIhVAIEep3xTWTLzzu5oVCKIRC iFAIhVAIEQqhEAohQiEUQiFEKIRCKIQIhVAIhRChEAqhECLUZ i3VEwcBMGr1NgAAAABJRU5E rkJggg==" ondragstart="dragStartTest(event)"> | 16 text/html: <img id="imageTest" src="data:image/png;base64, iVBORw0KGgoAAAANSUhEU gAAAJYAAAA8CAIAAAAL5NQ9AAAACXBIWXMAAAsTAAALEwEAmpwY AAAAB3RJTUUH2woaBQc4oLEFpAAA ABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeB DhcAAACMSURBVHja7dNBEYAgFEVRPhHMYgA zUIsmVnFvB/fsoQb+ObfBmzMvxneW1D1vzz2w FiEUQiFEKIRCKIQIhVAIhRChEAqhECIUQiEUQoRCKI RCiFAIhVAIEep3xTWTLzzu5oVCKIRC iFAIhVAIEQqhEAohQiEUQiFEKIRCKIQIhVAIhRChEAqhECLUZ i3VEwcBMGr1NgAAAABJRU5E rkJggg==" ondragstart="dragStartTest(event)"> |
| 17 Test ID: linkTest | 17 Test ID: linkTest |
| 18 text/plain: http://www.example.com/ | 18 text/plain: http://www.example.com/ |
| 19 text/url: | 19 text/url: |
| 20 text/html: <a href="http://www.example.com/">Link</a> | 20 text/html: <a id="linkTest" href="http://www.example.com/" ondragstart="dragStar tTest(event)">Link</a> |
|
yosin_UTC9
2016/04/06 01:17:29
Optional: If you rewrite this test to use w3c test
dcheng
2016/04/06 01:20:33
Ehhh... unless there's a really straightforward an
yosin_UTC9
2016/04/06 01:32:08
Chest sheet is a good idea! It helps to write test
| |
| 21 | 21 |
| OLD | NEW |