WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
93790
Improve test htmloutputelement.html
https://bugs.webkit.org/show_bug.cgi?id=93790
Summary
Improve test htmloutputelement.html
Keishi Hattori
Reported
2012-08-12 21:00:14 PDT
Improve test htmloutputelement.html to test if element.type is readonly and if element.name is reflecting
Attachments
Patch
(2.79 KB, patch)
2012-08-12 21:19 PDT
,
Keishi Hattori
tkent
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Keishi Hattori
Comment 1
2012-08-12 21:19:14 PDT
Created
attachment 157916
[details]
Patch
Kent Tamura
Comment 2
2012-08-13 18:03:27 PDT
Comment on
attachment 157916
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=157916&action=review
We had better move the test to fast/forms/output/, and split it to - fast/forms/output/output-type.html - fast/forms/output/output-value.html - fast/forms/output/output-for.html
> LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement.html:31 > +// Check if name reflects attribute. > shouldBeEqualToString('output1.name', 'output1'); > +shouldBeEqualToString('output1.name = "bar"', 'bar'); > +shouldBeEqualToString('output1.name', 'bar'); > +shouldBeEqualToString('output1.getAttribute("name")', 'bar'); > +output1.setAttribute("name", "output1"); > +shouldBeEqualToString('output1.name', 'output1');
We should remove the test for name attribute because fast/dom/domstring-attribute-reflection.html covers it.
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