Bug 109772

Summary: Move computedStyleIncludingVisitedInfo from TestRunner to Internals
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: New BugsAssignee: Benjamin Poulain <benjamin>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, gyuyoung.kim, kling, mifenton, ojan, philn, rakuco, rego+ews, rwlbuis, tonikitoo, webkit-ews, webkit.review.bot, xan.lopez, yong.li.webkit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

Description Benjamin Poulain 2013-02-13 16:59:53 PST
Move computedStyleIncludingVisitedInfo from TestRunner to Internals
Comment 1 Benjamin Poulain 2013-02-13 17:06:31 PST
Created attachment 188228 [details]
Patch
Comment 2 Early Warning System Bot 2013-02-13 17:26:31 PST
Comment on attachment 188228 [details]
Patch

Attachment 188228 [details] did not pass qt-ews (qt):
Output: http://queues.webkit.org/results/16536373
Comment 3 Early Warning System Bot 2013-02-13 17:27:19 PST
Comment on attachment 188228 [details]
Patch

Attachment 188228 [details] did not pass qt-wk2-ews (qt):
Output: http://queues.webkit.org/results/16570097
Comment 4 Benjamin Poulain 2013-02-13 17:56:03 PST
Created attachment 188239 [details]
Patch
Comment 5 WebKit Review Bot 2013-02-13 19:48:52 PST
Comment on attachment 188239 [details]
Patch

Attachment 188239 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/16543463

New failing tests:
fast/loader/stateobjects/state-url-sets-links-visited.html
Comment 6 Benjamin Poulain 2013-02-13 20:14:00 PST
Created attachment 188254 [details]
Patch
Comment 7 WebKit Review Bot 2013-02-13 21:01:16 PST
Comment on attachment 188254 [details]
Patch

Attachment 188254 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/16570177

New failing tests:
fast/loader/stateobjects/state-url-sets-links-visited.html
Comment 8 Benjamin Poulain 2013-02-14 13:16:39 PST
Comment on attachment 188254 [details]
Patch

Need to investigate the chromium mystery.
Comment 9 Benjamin Poulain 2013-02-14 20:37:29 PST
*** Bug 37297 has been marked as a duplicate of this bug. ***
Comment 10 Benjamin Poulain 2013-02-27 20:14:18 PST
Created attachment 190637 [details]
Patch
Comment 11 Andreas Kling 2013-02-27 22:19:22 PST
Comment on attachment 190637 [details]
Patch

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

r=me. This is great.

> Source/WebCore/testing/Internals.idl:37
> +    CSSStyleDeclaration computedStyleIncludingVisitedInfo(in Node node) raises(DOMException);

The TestRunner version took an Element argument, not a Node.
I don't think that's really a problem though, computed styles can be created from nodes, so it makes sense to support this in Internals.
Comment 12 Benjamin Poulain 2013-02-27 22:40:24 PST
> The TestRunner version took an Element argument, not a Node.
> I don't think that's really a problem though, computed styles can be created from nodes, so it makes sense to support this in Internals.

Yup, as you say, it is intentional :)

Thank you for the review. I should CC you more often instead of waiting 2 weeks for someone randomly r+ing.
Comment 13 Benjamin Poulain 2013-03-01 22:06:29 PST
Created attachment 191096 [details]
Patch
Comment 14 Benjamin Poulain 2013-03-02 16:10:51 PST
Committed r144547: <http://trac.webkit.org/changeset/144547>