RESOLVED INVALID 91993
[Qt] editing/inserting/multiple-lines-selected.html fails
https://bugs.webkit.org/show_bug.cgi?id=91993
Summary [Qt] editing/inserting/multiple-lines-selected.html fails
Caio Marcelo de Oliveira Filho
Reported 2012-07-23 07:02:58 PDT
The test editing/inserting/multiple-lines-selected.html is failing in both DRT and WTR. It is expected that both "oo" and "b" are removed when the new paragraph is added, but "b" remains in the text. The test works correctly when run in QtTestBrowser and MiniBrowser.
Attachments
Remove wrong expected results and skip the test. (12.69 KB, patch)
2012-07-23 07:10 PDT, Caio Marcelo de Oliveira Filho
hausmann: review+
Caio Marcelo de Oliveira Filho
Comment 1 2012-07-23 07:10:33 PDT
Created attachment 153791 [details] Remove wrong expected results and skip the test.
Simon Hausmann
Comment 2 2012-07-23 07:13:19 PDT
Comment on attachment 153791 [details] Remove wrong expected results and skip the test. rs=me
Caio Marcelo de Oliveira Filho
Comment 3 2012-07-23 07:17:15 PDT
Lauro Moura Maranhao Neto
Comment 4 2012-09-03 11:36:05 PDT
WTR/DRT/testfonts are using the system default hinting strategy (at least not setting it explicitly). When forcing full hinting in FontPlatformData, the same f/bar result is acheived with MiniBrowser, and even with a plain QTextEdit. Such results seems to be expected as the width of 'f' gets smaller when using full hinting. In the long run the correct option IMHO would be setting the hinting explicitly to get consistent results. But setting it to None would require another big rebaseline. Just in LayoutTests/editing/ this change made 500 tests fail out of 1200. PS: GTK disables system default hinting to ensure the results are consistent.
Caio Marcelo de Oliveira Filho
Comment 5 2012-09-03 11:44:23 PDT
(In reply to comment #4) > In the long run the correct option IMHO would be setting the hinting explicitly to get consistent results. But setting it to None would require another big rebaseline. Just in LayoutTests/editing/ this change made 500 tests fail out of 1200. Question: what hint setting would match our existing test expectations? I think we should enforce it in our testing infrastructure.
Lauro Moura Maranhao Neto
Comment 6 2012-09-03 12:19:09 PDT
(In reply to comment #5) > (In reply to comment #4) > > In the long run the correct option IMHO would be setting the hinting explicitly to get consistent results. But setting it to None would require another big rebaseline. Just in LayoutTests/editing/ this change made 500 tests fail out of 1200. > > Question: what hint setting would match our existing test expectations? I think we should enforce it in our testing infrastructure. Current test expectations seem to have been generated with full hinting (Ubuntu 11.10 default here), which yields similar results to light hinting. But QFontConfigDatabase::fontEngine() sets the hinting to full if no predefined hint is set in font config font match.
Jocelyn Turcotte
Comment 7 2014-02-03 03:21:48 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.
Note You need to log in before you can comment on or make changes to this bug.