WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 24012
Convert inline-ignored-on-legend to text-only test
https://bugs.webkit.org/show_bug.cgi?id=24012
Summary
Convert inline-ignored-on-legend to text-only test
Dimitri Glazkov (Google)
Reported
2009-02-18 15:53:47 PST
There's no reason for this test to be not text-only. So I am converting it to text-only. Plus some explanation.
Attachments
Convert inline-ignored-on-legend to text-only test, v1.
(3.98 KB, patch)
2009-02-18 15:57 PST
,
Dimitri Glazkov (Google)
eric
: review+
Details
Formatted Diff
Diff
Clarify objective of the test and clean up, v1
(2.34 KB, patch)
2009-02-19 09:50 PST
,
Dimitri Glazkov (Google)
hyatt
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dimitri Glazkov (Google)
Comment 1
2009-02-18 15:57:38 PST
Created
attachment 27768
[details]
Convert inline-ignored-on-legend to text-only test, v1. LayoutTests/ChangeLog | 13 +++++++++++++ .../forms/inline-ignored-on-legend-expected.txt | 3 +++ .../fast/forms/inline-ignored-on-legend.html | 11 ++++++++++- .../inline-ignored-on-legend-expected.checksum | 1 - .../forms/inline-ignored-on-legend-expected.png | Bin 13718 -> 0 bytes .../forms/inline-ignored-on-legend-expected.txt | 16 ---------------- 6 files changed, 26 insertions(+), 18 deletions(-)
Eric Seidel (no email)
Comment 2
2009-02-18 16:03:35 PST
Comment on
attachment 27768
[details]
Convert inline-ignored-on-legend to text-only test, v1. Looks fine. MIght as well add a newline at the end of hte file while you're there.
Dimitri Glazkov (Google)
Comment 3
2009-02-18 16:16:05 PST
Landed as
http://trac.webkit.org/changeset/41069
.
Dave Hyatt
Comment 4
2009-02-18 16:35:42 PST
Please back this change out. A text only test is not helpful here, since you need to see the pixel rendering to know how the legend ended up getting treated.
Dimitri Glazkov (Google)
Comment 5
2009-02-18 20:00:41 PST
Ok, I am going to try to spin again. Basically, we don't really need the pixel rendering -- all we need is making sure that legend is a block element. That's fairly easy to accomplish: <div>First Line</div>Second Line vs. <span>First Line</span>Second Line These will render differently even in text-only. Even in our existing test case, there's an extra line break in the expected result. I can "accentuate" it in the test to make it clear to the observer as to what the successful output is.
Dimitri Glazkov (Google)
Comment 6
2009-02-19 09:50:37 PST
Created
attachment 27793
[details]
Clarify objective of the test and clean up, v1 LayoutTests/ChangeLog | 10 ++++++++++ .../forms/inline-ignored-on-legend-expected.txt | 5 +++-- .../fast/forms/inline-ignored-on-legend.html | 18 +++++++----------- 3 files changed, 20 insertions(+), 13 deletions(-)
Dimitri Glazkov (Google)
Comment 7
2009-02-19 09:51:49 PST
Comment on
attachment 27793
[details]
Clarify objective of the test and clean up, v1 Here's a simplified, clarified test case, which works in text-only mode.
Dave Hyatt
Comment 8
2009-02-19 11:15:39 PST
Comment on
attachment 27793
[details]
Clarify objective of the test and clean up, v1 Yeah better.
Dimitri Glazkov (Google)
Comment 9
2009-02-19 11:22:44 PST
Fix/clean up landed as
http://trac.webkit.org/changeset/41079
.
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