WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
48593
HTML5 Conformance Test failure: approved/xhtml5/html_style_in_comment.xhtml
https://bugs.webkit.org/show_bug.cgi?id=48593
Summary
HTML5 Conformance Test failure: approved/xhtml5/html_style_in_comment.xhtml
David Kilzer (:ddkilzer)
Reported
2010-10-28 16:48:34 PDT
The approved/xhtml5/html_style_in_comment.xhtml test fails with WebKit nightly build
r70732
run in Safari 5.0.x.
Attachments
Patch
(6.02 KB, patch)
2011-01-07 14:31 PST
,
Tony Gentilcore
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Tony Gentilcore
Comment 1
2011-01-06 14:18:11 PST
Yeah, we don't match IE9 and FF4. I'll take a look.
Tony Gentilcore
Comment 2
2011-01-06 16:40:49 PST
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/
Adam Barth
Comment 3
2011-01-06 16:46:48 PST
Yeah, we've historically imported these test suites when the license allowed for it.
Tony Gentilcore
Comment 4
2011-01-06 16:55:55 PST
(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. :-(
Adam Barth
Comment 5
2011-01-06 17:40:03 PST
Can we have a harness that looks inside and reads the computed style?
Tony Gentilcore
Comment 6
2011-01-07 14:31:41 PST
Created
attachment 78271
[details]
Patch
Tony Gentilcore
Comment 7
2011-01-07 14:35:00 PST
(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.
Eric Seidel (no email)
Comment 8
2011-01-07 14:51:48 PST
Comment on
attachment 78271
[details]
Patch Wow. Crazy.
WebKit Commit Bot
Comment 9
2011-01-08 17:31:25 PST
Comment on
attachment 78271
[details]
Patch Clearing flags on attachment: 78271 Committed
r75338
: <
http://trac.webkit.org/changeset/75338
>
WebKit Commit Bot
Comment 10
2011-01-08 17:31:33 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug