WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
9183
Finish renaming of RenderCanvas to RenderView
https://bugs.webkit.org/show_bug.cgi?id=9183
Summary
Finish renaming of RenderCanvas to RenderView
David Kilzer (:ddkilzer)
Reported
2006-05-31 04:42:39 PDT
Nearly 3000 tests broke when RenderCanvas was renamed to RenderView in
r14638
. This fix to WebCore/rendering/RenderView.h had to be checked in to make those tests pass again (
r14642
): - virtual const char *renderName() const { return "RenderView"; } + // FIXME: Update this eventually and check in new layout tests. + virtual const char *renderName() const { return "RenderCanvas"; } The layout tests should be easily updated by a simple find+perl command before committing: find LayoutTests -name \*-expected.txt -exec perl -p -i -e 's/\bRenderCanvas\b/RenderView/' {} \;
Attachments
Patch v1
(4.47 KB, patch)
2006-06-01 07:28 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
Formatted Diff
Diff
Patch v2
(8.60 KB, patch)
2006-06-01 21:40 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
Formatted Diff
Diff
Patch v3 (the charm!)
(10.33 KB, patch)
2006-06-01 22:02 PDT
,
David Kilzer (:ddkilzer)
mjs
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2006-06-01 07:28:47 PDT
Created
attachment 8641
[details]
Patch v1 You are reviewing Patch v1 plus running the "find" command noted in
Comment #0
. The only changes of interest in the LayoutTests are two HTML files that had "RenderCanvas" in their contents: LayoutTests/editing/selection/7152-1.html LayoutTests/editing/selection/7152-2.html As of this patch (
r14663
) there were 3023 *-expected.txt files changed. I ran run-webkit-tests and all the results were identical to build.webkit.org (the same tests were failing in the same way, while the rest passed).
David Kilzer (:ddkilzer)
Comment 2
2006-06-01 21:40:10 PDT
Created
attachment 8658
[details]
Patch v2 Changes since Patch v1: - Removed newline change for LayoutTests/editing/selection/7152-[12].html - Added only significant change to test results: LayoutTests/editing/selection/7152-[12]-expected.txt (which changed because the text inside them changed)
David Kilzer (:ddkilzer)
Comment 3
2006-06-01 22:02:25 PDT
Created
attachment 8659
[details]
Patch v3 (the charm!) Changes since Patch v2: - Fixed comments in LayoutTests changelog to be clearer. - Included image updates for editing/selection/7152-[12].html tests.
Maciej Stachowiak
Comment 4
2006-06-02 00:29:04 PDT
Comment on
attachment 8659
[details]
Patch v3 (the charm!) r=me Whoever applies this make sure to also run the find command to do the search and replace!
David Kilzer (:ddkilzer)
Comment 5
2006-06-02 03:04:04 PDT
Committed as
r14684
.
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