Summary: | HTML5 Conformance Test failure: approved/xhtml5/html_style_in_comment.xhtml | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||
Component: | DOM | Assignee: | Tony Gentilcore <tonyg> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | abarth, ap, commit-queue, eric, mike, tonyg | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
URL: | http://test.w3.org/html/tests/approved/xhtml5/html_style_in_comment.xhtml | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 48575 | ||||||
Attachments: |
|
Description
David Kilzer (:ddkilzer)
2010-10-28 16:48:34 PDT
Yeah, we don't match IE9 and FF4. I'll take a look. Does it makes sense to import these tests directly (similar to what we did with html5lib)? I'm thinking about adding only this test into a new directory with this patch: LayoutTests/w3html/xhtml5/html_style_in_comment.xhtml The idea being that LayoutTests/w3html/ would house the same structure as http://test.w3.org/html/tests/approved/ Yeah, we've historically imported these test suites when the license allowed for it. (In reply to comment #3) > Yeah, we've historically imported these test suites when the license allowed for it. OTOH, this particular test kind of sucks because rather than displaying PASS or FAIL, it simply changes the color of some text. That forces it to be a pixel test instead of using dumpAsText(). I'm wondering if it wouldn't be better to just rewrite so they don't have to be pixel tests. :-( Can we have a harness that looks inside and reads the computed style? Created attachment 78271 [details]
Patch
(In reply to comment #5) > Can we have a harness that looks inside and reads the computed style? After looking over the other tests in the suite, I decided to just go for an ad hoc test in this patch. Most of the tests don't seem to lend themselves well to our style of automated testing and it will be a slightly more involved task to come up with a scheme for running them. Comment on attachment 78271 [details]
Patch
Wow. Crazy.
Comment on attachment 78271 [details] Patch Clearing flags on attachment: 78271 Committed r75338: <http://trac.webkit.org/changeset/75338> All reviewed patches have been landed. Closing bug. |