<?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>193628</bug_id>
          
          <creation_ts>2019-01-20 13:26:45 -0800</creation_ts>
          <short_desc>[GTK] Several layout tests broken by switch to complex text</short_desc>
          <delta_ts>2025-11-29 00:21:04 -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>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=192750</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=193738</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=193279</see_also>
          <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="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>csaavedra</cc>
    
    <cc>magomez</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mmaxfield</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1496369</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-20 13:26:45 -0800</bug_when>
    <thetext>r238730 &quot;Unreviewed GTK+ gardening. Stop running tests without complex text enforced&quot; broke these layout tests:

fast/css/content-counter-010.htm
https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r240208%20(9437)/fast/css/content-counter-010-diffs.html

This one looks OK. There is a vertical whitespace change, but it can probably just be rebaselined.

fast/text/kerning-with-TextLayout.html
https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r240208%20(9437)/fast/text/kerning-with-TextLayout-diffs.html

Obviously broken, there is now a linebreak between the . and W where there wasn&apos;t before.

fast/text/word-space-nbsp.html
https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r240208%20(9437)/fast/text/word-space-nbsp-diffs.html

Same problem: there is a new linebreak where there shouldn&apos;t be.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1496417</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-20 15:13:39 -0800</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #0)
&gt; r238730 &quot;Unreviewed GTK+ gardening. Stop running tests without complex text
&gt; enforced&quot; broke these layout tests:
&gt; 
&gt; fast/css/content-counter-010.htm
&gt; https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/
&gt; r240208%20(9437)/fast/css/content-counter-010-diffs.html
&gt; 
&gt; This one looks OK. There is a vertical whitespace change, but it can
&gt; probably just be rebaselined.

Also: fast/text/narrow-non-breaking-space.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1496418</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-20 15:15:08 -0800</bug_when>
    <thetext>I decided not to rebaseline the ones with the vertical whitespace difference because we don&apos;t have platform-specific expectations yet, i.e. other ports don&apos;t have this new whitespace difference.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1496421</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-20 15:22:56 -0800</bug_when>
    <thetext>More:

imported/blink/fast/text/wide-preformatted.html

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r240208%20(9437)/imported/blink/fast/text/wide-preformatted-diffs.html

&quot;PASS if you can see this&quot; text has disappeared.

imported/blink/fast/text/word-spacing-nbsp.html

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r240208%20(9437)/imported/blink/fast/text/word-spacing-nbsp-diffs.html

&quot;Should not wrap&quot; text is now wrapping, looks just like fast/text/word-space-nbsp.html. These tests might be redundant, but the Blink version is easier to understand.

imported/mozilla/svg/tspan-rotate-07.svg

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r240208%20(9437)/imported/mozilla/svg/tspan-rotate-07-diffs.html

Extra horizontal whitespace where there wasn&apos;t any before.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1496462</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-20 18:11:39 -0800</bug_when>
    <thetext>Even more:

imported/w3c/web-platform-tests/css/css-display/run-in/quotes-applies-to-011.xht

Extra horizontal whitespace.


imported/w3c/web-platform-tests/innerText/getter.html

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/innerText/getter-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/innerText/getter-actual.txt
@@ -7,7 +7,7 @@
 PASS Internal whitespace compressed (&quot;&lt;div&gt;abc  def&quot;) 
 PASS \n converted to space (&quot;&lt;div&gt;abc\ndef&quot;) 
 PASS \r converted to space (&quot;&lt;div&gt;abc\rdef&quot;) 
-PASS \t converted to space (&quot;&lt;div&gt;abc\tdef&quot;) 
+FAIL \t converted to space (&quot;&lt;div&gt;abc\tdef&quot;) assert_equals: expected &quot;abc def&quot; but got &quot;abc\tdef&quot;
 FAIL Trailing whitespace before hard line break removed (&quot;&lt;div&gt;abc &lt;br&gt;def&quot;) assert_equals: expected &quot;abc\ndef&quot; but got &quot;abc \ndef&quot;
 PASS Leading whitespace preserved (&quot;&lt;pre&gt; abc&quot;) 
 PASS Trailing whitespace preserved (&quot;&lt;pre&gt;abc &quot;) 
@@ -31,9 +31,9 @@
 PASS Leading whitespace removed (&quot;&lt;div style=&apos;white-space:pre-line&apos;&gt; abc&quot;) 
 PASS Trailing whitespace removed (&quot;&lt;div style=&apos;white-space:pre-line&apos;&gt;abc &quot;) 
 PASS Internal whitespace collapsed (&quot;&lt;div style=&apos;white-space:pre-line&apos;&gt;abc  def&quot;) 
-FAIL \n preserved (&quot;&lt;div style=&apos;white-space:pre-line&apos;&gt;abc\ndef&quot;) assert_equals: expected &quot;abc\ndef&quot; but got &quot;abcdef&quot;
-FAIL \r converted to newline (&quot;&lt;div style=&apos;white-space:pre-line&apos;&gt;abc\rdef&quot;) assert_equals: expected &quot;abc\ndef&quot; but got &quot;abcdef&quot;
-PASS \t converted to space (&quot;&lt;div style=&apos;white-space:pre-line&apos;&gt;abc\tdef&quot;) 
+FAIL \n preserved (&quot;&lt;div style=&apos;white-space:pre-line&apos;&gt;abc\ndef&quot;) assert_equals: expected &quot;abc\ndef&quot; but got &quot;abc def&quot;
+FAIL \r converted to newline (&quot;&lt;div style=&apos;white-space:pre-line&apos;&gt;abc\rdef&quot;) assert_equals: expected &quot;abc\ndef&quot; but got &quot;abc def&quot;
+FAIL \t converted to space (&quot;&lt;div style=&apos;white-space:pre-line&apos;&gt;abc\tdef&quot;) assert_equals: expected &quot;abc def&quot; but got &quot;abc\tdef&quot;
 PASS Whitespace collapses across element boundaries (&quot;&lt;div&gt;&lt;span&gt;abc &lt;/span&gt; def&quot;) 
 PASS Whitespace collapses across element boundaries (&quot;&lt;div&gt;&lt;span&gt;abc &lt;/span&gt;&lt;span&gt;&lt;/span&gt; def&quot;) 
 FAIL Whitespace collapses across element boundaries (&quot;&lt;div&gt;&lt;span&gt;abc &lt;/span&gt;&lt;span style=&apos;white-space:pre&apos;&gt;&lt;/span&gt; def&quot;) assert_equals: expected &quot;abc def&quot; but got &quot;abc  def&quot;
@@ -135,7 +135,7 @@
 FAIL Invisible &lt;p&gt; doesn&apos;t induce extra line breaks (&quot;&lt;div style=&apos;visibility:hidden&apos;&gt;&lt;p&gt;&lt;span style=&apos;visibility:visible&apos;&gt;abc&lt;/span&gt;&lt;/p&gt;\n&lt;div style=&apos;visibility:visible&apos;&gt;def&lt;/div&gt;&quot;) assert_equals: expected &quot;abc\ndef&quot; but got &quot;abc\n\ndef\n&quot;
 FAIL No blank lines around &lt;div&gt; with margin (&quot;&lt;div&gt;abc&lt;div style=&apos;margin:2em&apos;&gt;def&quot;) assert_equals: expected &quot;abc\ndef&quot; but got &quot;abc\ndef\n&quot;
 PASS No newlines at display:inline-block boundary (&quot;&lt;div&gt;123&lt;span style=&apos;display:inline-block&apos;&gt;abc&lt;/span&gt;def&quot;) 
-FAIL Leading/trailing space removal at display:inline-block boundary (&quot;&lt;div&gt;123&lt;span style=&apos;display:inline-block&apos;&gt; abc &lt;/span&gt;def&quot;) assert_equals: expected &quot;123abcdef&quot; but got &quot;123abc def&quot;
+FAIL Leading/trailing space removal at display:inline-block boundary (&quot;&lt;div&gt;123&lt;span style=&apos;display:inline-block&apos;&gt; abc &lt;/span&gt;def&quot;) assert_equals: expected &quot;123abcdef&quot; but got &quot;123 abc def&quot;
 FAIL Blank lines around &lt;p&gt; even without margin (&quot;&lt;div&gt;123&lt;p style=&apos;margin:0px&apos;&gt;abc&lt;/p&gt;def&quot;) assert_equals: expected &quot;123\n\nabc\n\ndef&quot; but got &quot;123\nabc\ndef&quot;
 FAIL No blank lines around &lt;h1&gt; (&quot;&lt;div&gt;123&lt;h1&gt;abc&lt;/h1&gt;def&quot;) assert_equals: expected &quot;123\nabc\ndef&quot; but got &quot;123\nabc\n\ndef&quot;
 FAIL No blank lines around &lt;h2&gt; (&quot;&lt;div&gt;123&lt;h2&gt;abc&lt;/h2&gt;def&quot;) assert_equals: expected &quot;123\nabc\ndef&quot; but got &quot;123\nabc\n\ndef&quot;

This one must be bug #192750.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1496473</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-20 19:04:10 -0800</bug_when>
    <thetext>Also legacy-animation-engine/compositing/geometry/partial-layout-update.html, which is wild, since it seems so unrelated. But the test history doesn&apos;t lie: last good run was r238729, first bad r238733.

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/legacy-animation-engine/compositing/geometry/partial-layout-update-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/legacy-animation-engine/compositing/geometry/partial-layout-update-actual.txt
@@ -8,3 +8,9 @@
           text run at (0,0) width 360: &quot;The green box should always obscure the red box below.&quot;
 layer at (8,42) size 402x202 clip at (9,43) size 400x200
   RenderBlock (relative positioned) {DIV} at (0,34) size 402x202 [border: (1px solid #000000)]
+layer at (9,43) size 200x200
+  RenderBlock (positioned) zI: 3 {DIV} at (1,1) size 200x200 [bgcolor=#BBBBBB]
+layer at (9,43) size 100x100
+  RenderBlock (positioned) {DIV} at (0,0) size 100x100 [bgcolor=#FF0000]
+layer at (9,43) size 100x100
+  RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1496484</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-20 19:32:08 -0800</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #4)
&gt; Even more:
&gt; 
&gt; imported/w3c/web-platform-tests/css/css-display/run-in/quotes-applies-to-011.
&gt; xht
&gt; 
&gt; Extra horizontal whitespace.

Note this one ONLY passes on GTK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1496485</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-20 19:32:35 -0800</bug_when>
    <thetext>(Or rather: only passed on GTK prior to complex text.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1496533</commentid>
    <comment_count>8</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2019-01-20 23:35:10 -0800</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #0)
&gt; r238730 &quot;Unreviewed GTK+ gardening. Stop running tests without complex text
&gt; enforced&quot; broke these layout tests:
&gt; 
&gt; fast/css/content-counter-010.htm
&gt; https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/
&gt; r240208%20(9437)/fast/css/content-counter-010-diffs.html
&gt; 
&gt; This one looks OK. There is a vertical whitespace change, but it can
&gt; probably just be rebaselined.

How can we rebaseline a ref test?

&gt; fast/text/kerning-with-TextLayout.html
&gt; https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/
&gt; r240208%20(9437)/fast/text/kerning-with-TextLayout-diffs.html
&gt; 
&gt; Obviously broken, there is now a linebreak between the . and W where there
&gt; wasn&apos;t before.

This test depends on the font, I don&apos;t know why, just using font-family in style made it pass for me, I don&apos;t remember which one I used.

&gt; fast/text/word-space-nbsp.html
&gt; https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/
&gt; r240208%20(9437)/fast/text/word-space-nbsp-diffs.html
&gt; 
&gt; Same problem: there is a new linebreak where there shouldn&apos;t be.

Not the same problem, this is bug #193279</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1503675</commentid>
    <comment_count>9</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-02-07 01:44:47 -0800</bug_when>
    <thetext>fast/images/image-map-outline-in-positioned-container.html is passing since r240221</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1503676</commentid>
    <comment_count>10</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-02-07 01:45:42 -0800</bug_when>
    <thetext>(In reply to Miguel Gomez from comment #9)
&gt; fast/images/image-map-outline-in-positioned-container.html is passing since
&gt; r240221

Arg, sorry, wrong bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1503678</commentid>
    <comment_count>11</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-02-07 01:52:40 -0800</bug_when>
    <thetext>imported/blink/fast/text/word-spacing-nbsp.html is passing since r240846</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2161888</commentid>
    <comment_count>12</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2025-11-29 00:21:04 -0800</bug_when>
    <thetext>-webkit.org/b/193628 imported/mozilla/svg/tspan-rotate-07.svg [ ImageOnlyFailure ]

now passing consistently and I can&apos;t find other references to this bug, so closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>