WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
79756
[GTK] css3/flexbox/inline-flexbox.html fails
https://bugs.webkit.org/show_bug.cgi?id=79756
Summary
[GTK] css3/flexbox/inline-flexbox.html fails
Philippe Normand
Reported
2012-02-27 23:56:05 PST
Since it's been added, it seems.
http://build.webkit.org/results/GTK%20Linux%2064-bit%20Release/r109083%20(18907)/css3/flexbox/inline-flexbox-diffs.html
I'll skip it for now.
Attachments
Add attachment
proposed patch, testcase, etc.
Ojan Vafai
Comment 1
2012-02-28 10:47:48 PST
Looks like it's only failing on the GTK bots. Looking at the toggling expected/actual image result at
http://build.webkit.org/results/GTK%20Linux%2032-bit%20Release/r109021%20(21857)/results.html
it appears to be a text kerning bug in the GTK port.
Martin Robinson
Comment 2
2012-02-28 11:59:43 PST
Leaving my comments here as well as #webkit, just in case ojan is away. Assuming that the "actual image" output is the flexbox example, it seems that flexbox is somehow triggering the complex text rendering path. I say this because the kerning errors that Ojan describes are actually ligatures. When complex text is active an 'f' character and an 'l' character combine into one ligature. It makes sense that text rendered via the complex text path and the simple text path look different. I'm surprised it passes on other platforms. Unless of course, this bug only occurs on GTK+. An easy fix for this is to force the reference HTML to use complex text rendering, but perhaps it's a bug that flexbox text is rendered via the complex text path.
Martin Robinson
Comment 3
2012-02-28 15:33:02 PST
This change seems to fix this test and several others and to produce much more consistent results. I'm afraid we should probably revert this change and rebaseline one more time. --- a/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp +++ b/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp @@ -161,11 +161,11 @@ static void initializeGtkFontSettings(const char* testURL) ASSERT(screen); const cairo_font_options_t* screenOptions = gdk_screen_get_font_options(screen); ASSERT(screenOptions); - cairo_font_options_t* options = cairo_font_options_copy(screenOptions); - // Turn off text metrics hinting, which quantizes metrics to pixels in device space. - cairo_font_options_set_hint_metrics(options, CAIRO_HINT_METRICS_OFF); - gdk_screen_set_font_options(screen, options); - cairo_font_options_destroy(options); + //cairo_font_options_t* options = cairo_font_options_copy(screenOptions); + //// Turn off text metrics hinting, which quantizes metrics to pixels in device space. + //cairo_font_options_set_hint_metrics(options, CAIRO_HINT_METRICS_OFF); + //gdk_screen_set_font_options(screen, options); + //cairo_font_options_destroy(options); }
Martin Robinson
Comment 4
2012-02-28 15:36:18 PST
Ccing Nikolas Zimmmermann who might be able to provide more context here.
Deleted User
Comment 5
2025-02-13 05:49:34 PST
<inline-flexbox.html> doesn't exist anymore:
https://wpt.fyi/results/css?label=master&product=chrome%5Bexperimental%5D&product=edge%5Bexperimental%5D&product=firefox%5Bexperimental%5D&product=safari%5Bexperimental%5D&product=webkitgtk&aligned&q=inline-flexbox
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