[Webkit-unassigned] [Bug 59369] Convert LayoutTests/fast/events/mouseout-dead-node.html from pixel test to text-based test
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 27 12:42:19 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=59369
Ryosuke Niwa <rniwa at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #91235|review? |review-
Flag| |
--- Comment #13 from Ryosuke Niwa <rniwa at webkit.org> 2011-04-27 12:42:19 PST ---
(From update of attachment 91235)
View in context: https://bugs.webkit.org/attachment.cgi?id=91235&action=review
> LayoutTests/fast/events/mouseout-dead-node.html:1
> +<link rel="stylesheet" href="../js/resources/js-test-style.css">
No DOCTYPE / head?
> LayoutTests/fast/events/mouseout-dead-node.html:4
> <body onload='test()'>
I don't think there's any need to wait until page load.
> LayoutTests/fast/events/mouseout-dead-node.html:15
> + <div id=d0 style='border:2px solid red'>
> + <div onmouseout='testFailed("mouseout")' onmouseover='document.getElementById("d0").innerHTML ="you should see PASS below"'>
> + <div onmouseout='testFailed("mouseout")'>
> + <span id=target1 onmouseout='testPassed("mouseout")' >
> + mouse over me
> + </span>
> + </div>
I don't think we need to indent each element like this.
> LayoutTests/fast/events/mouseout-dead-node.html:32
> function test() {
You don't need this function. You can just run the script as it's parsed.
> LayoutTests/fast/events/mouseout-dead-node.html:54
> +description("Test that if node dies under mouse it receives mouseout event but that the event does not propagate.");
Please move this above the test code so that people reading the test code can understand the intent of this test before reading the code.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list