<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>79756</bug_id>
          
          <creation_ts>2012-02-27 23:56:05 -0800</creation_ts>
          <short_desc>[GTK] css3/flexbox/inline-flexbox.html fails</short_desc>
          <delta_ts>2025-02-13 05:49:34 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>deleted_user</cc>
    
    <cc>mrobinson</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>566437</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2012-02-27 23:56:05 -0800</bug_when>
    <thetext>Since it&apos;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&apos;ll skip it for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>566859</commentid>
    <comment_count>1</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-02-28 10:47:48 -0800</bug_when>
    <thetext>Looks like it&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>566946</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2012-02-28 11:59:43 -0800</bug_when>
    <thetext>Leaving my comments here as well as #webkit, just in case ojan is away. Assuming that the &quot;actual image&quot; 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 &apos;f&apos; character and an &apos;l&apos; character combine into one ligature.

It makes sense that text rendered via the complex text path and the simple text path look different. I&apos;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&apos;s a bug that flexbox text is rendered via the complex text path.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>567167</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2012-02-28 15:33:02 -0800</bug_when>
    <thetext>This change seems to fix this test and several others and to produce much more consistent results. I&apos;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);
 }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>567173</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2012-02-28 15:36:18 -0800</bug_when>
    <thetext>Ccing Nikolas Zimmmermann who might be able to provide more context here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094444</commentid>
    <comment_count>5</comment_count>
    <who name="Deleted User">deleted_user</who>
    <bug_when>2025-02-13 05:49:34 -0800</bug_when>
    <thetext>&lt;inline-flexbox.html&gt; doesn&apos;t exist anymore: https://wpt.fyi/results/css?label=master&amp;product=chrome%5Bexperimental%5D&amp;product=edge%5Bexperimental%5D&amp;product=firefox%5Bexperimental%5D&amp;product=safari%5Bexperimental%5D&amp;product=webkitgtk&amp;aligned&amp;q=inline-flexbox</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>