Bug 138875 - Add layout test for throttling of DOM timer changing the style of visible and invisible elements
Summary: Add layout test for throttling of DOM timer changing the style of visible and...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on: 138292
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-19 10:21 PST by Chris Dumez
Modified: 2014-11-19 13:14 PST (History)
6 users (show)

See Also:


Attachments
Patch (3.58 KB, patch)
2014-11-19 10:25 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (17.31 KB, patch)
2014-11-19 12:28 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2014-11-19 10:21:38 PST
Add layout test for throttling of DOM timer changing the style of visible and invisible elements.
Comment 1 Chris Dumez 2014-11-19 10:25:30 PST
Created attachment 241868 [details]
Patch
Comment 2 Simon Fraser (smfr) 2014-11-19 12:10:41 PST
Comment on attachment 241868 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=241868&action=review

> LayoutTests/ChangeLog:12
> +        * fast/dom/repeating-timer-mixed-visible-invisible-elements-throttling-expected.txt: Added.
> +        * fast/dom/repeating-timer-mixed-visible-invisible-elements-throttling.html: Added.

I wouldn't use the term "invisible" for display:none, since there are lots of other ways of making an element not visible. I'd put "display-none" in the test name.
Comment 3 Chris Dumez 2014-11-19 12:18:56 PST
Comment on attachment 241868 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=241868&action=review

>> LayoutTests/ChangeLog:12
>> +        * fast/dom/repeating-timer-mixed-visible-invisible-elements-throttling.html: Added.
> 
> I wouldn't use the term "invisible" for display:none, since there are lots of other ways of making an element not visible. I'd put "display-none" in the test name.

You did not complain last time :) http://trac.webkit.org/changeset/176239

I will rename the existing tests as well then for clarity / consistency.
Comment 4 Chris Dumez 2014-11-19 12:28:50 PST
Created attachment 241877 [details]
Patch
Comment 5 WebKit Commit Bot 2014-11-19 13:14:51 PST
Comment on attachment 241877 [details]
Patch

Clearing flags on attachment: 241877

Committed r176333: <http://trac.webkit.org/changeset/176333>
Comment 6 WebKit Commit Bot 2014-11-19 13:14:56 PST
All reviewed patches have been landed.  Closing bug.