<?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>228160</bug_id>
          
          <creation_ts>2021-07-21 12:43:59 -0700</creation_ts>
          <short_desc>REGRESSION(r279987): [GTK][WPE] It caused 2 new test failures</short_desc>
          <delta_ts>2021-08-06 19:25:59 -0700</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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=208204</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=214455</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="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Alice Mikhaylenko">alicem</assigned_to>
          <cc>alicem</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>changseok</cc>
    
    <cc>esprehn+autocc</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>glenn</cc>
    
    <cc>kondapallykalyan</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>pdr</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1778505</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-07-21 12:43:59 -0700</bug_when>
    <thetext>Commit r279987 caused 7 new unexpected failures on GTK and WPE ports:

Regressions: Unexpected image-only failures (7)
  fast/selectors/input-with-selection-pseudo-element.html [ ImageOnlyFailure ]
  imported/blink/fast/table/whitespace-between-elements-with-table-cell-display-3.html [ ImageOnlyFailure ]
  imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-change-checkbox.html [ ImageOnlyFailure ]
  imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-alpha.html [ ImageOnlyFailure ]
  imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque.html [ ImageOnlyFailure ]
  imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-visited-link-initial.html [ ImageOnlyFailure ]
  imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/propagate-text-decoration.html [ ImageOnlyFailure ]

Looking at the diffs seems that there is some difference on the rounding of the corners of some boxes in some cases and also differences on the color of the text or background in other cases

Check here the results:
 - https://people.igalia.com/clopez/wkbug/208204/layout-test-results/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1778522</commentid>
    <comment_count>1</comment_count>
    <who name="Alice Mikhaylenko">alicem</who>
    <bug_when>2021-07-21 13:15:41 -0700</bug_when>
    <thetext>`imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/*` ones - I see we have a Pass override for glib and otherwise it&apos;s expected to fail. Which is... interesting, but I suppose we should match Safari here.

The rounding ones - I need to check again if there&apos;s a way to only do the rounding with non-`none` appearance. Makes sense, that seems like an actual regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1778524</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-07-21 13:18:50 -0700</bug_when>
    <thetext>An update:

The 5 WPT tests for css-color-adjust (imported WPT tests) tests fail also on the Mac port, and they started to fail on GTK/WPE after enabling this CSS property, so it seems there is a pre-exist bug somewhere on the common code for this (not related with r279987 )

The other 2 failures seem new failures that are not reported on the Mac port:

  - fast/selectors/input-with-selection-pseudo-element.html [ ImageOnlyFailure ]
  - imported/blink/fast/table/whitespace-between-elements-with-table-cell-display-3.html [ ImageOnlyFailure ]

Which are the ones related with some difference on the rounding of the corners of the boxes,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1778525</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-07-21 13:19:35 -0700</bug_when>
    <thetext>(In reply to Carlos Alberto Lopez Perez from comment #2)
&gt; An update:
&gt; 
&gt; The 5 WPT tests for css-color-adjust (imported WPT tests) tests fail also on
&gt; the Mac port, and they started to fail on GTK/WPE after enabling this CSS
&gt; property, so it seems there is a pre-exist bug somewhere on the common code
&gt; for this (not related with r279987 )
&gt; 

See bug 214455</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1778526</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-07-21 13:21:15 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/html/rendering/widgets/button-layout/propagate-text-decoration.html is also reported on the Mac port (no bug assigned), so I assume this was also a pre-existent failure not related with r279987</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1778535</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-07-21 13:35:38 -0700</bug_when>
    <thetext>Updated test expectations on r280159</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1778546</commentid>
    <comment_count>6</comment_count>
    <who name="Alice Mikhaylenko">alicem</who>
    <bug_when>2021-07-21 13:49:08 -0700</bug_when>
    <thetext>Mm, I think fixing the rounding would still make sense. Thanks for updating the tests!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1778683</commentid>
    <comment_count>7</comment_count>
    <who name="Alice Mikhaylenko">alicem</who>
    <bug_when>2021-07-22 03:38:38 -0700</bug_when>
    <thetext>Found the reason for the rounding. https://bugs.webkit.org/show_bug.cgi?id=173572 calls adjustTextFieldStyle() even if the element is styled:

```
+        case TextFieldPart:
+            adjustTextFieldStyle(styleResolver, style, element);
+            FALLTHROUGH;
```

I wonder if that&apos;s still relevant or if it was only relevant before for RenderThemeGtk? Because then we could remove that for an easy fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1782591</commentid>
    <comment_count>8</comment_count>
      <attachid>435095</attachid>
    <who name="Alice Mikhaylenko">alicem</who>
    <bug_when>2021-08-06 15:17:57 -0700</bug_when>
    <thetext>Created attachment 435095
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1782594</commentid>
    <comment_count>9</comment_count>
      <attachid>435095</attachid>
    <who name="Alice Mikhaylenko">alicem</who>
    <bug_when>2021-08-06 15:45:20 -0700</bug_when>
    <thetext>Comment on attachment 435095
Patch

Let&apos;s see if setting cq+ myself works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1782600</commentid>
    <comment_count>10</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-08-06 16:15:01 -0700</bug_when>
    <thetext>Committed r280742 (240328@main): &lt;https://commits.webkit.org/240328@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 435095.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>435095</attachid>
            <date>2021-08-06 15:17:57 -0700</date>
            <delta_ts>2021-08-06 19:25:59 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-228160-20210807031836.patch</filename>
            <type>text/plain</type>
            <size>1769</size>
            <attacher name="Alice Mikhaylenko">alicem</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjgwNTIyCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGF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ICAgICAgIEZBTExUSFJPVUdIOwogICAgICAgICBkZWZhdWx0OgogICAgICAgICAg
ICAgc3R5bGUuc2V0QXBwZWFyYW5jZShOb0NvbnRyb2xQYXJ0KTsKICAgICAgICAgICAgIGJyZWFr
Owo=
</data>
<flag name="commit-queue"
          id="457811"
          type_id="3"
          status="-"
          setter="ews-feeder"
    />
          </attachment>
      

    </bug>

</bugzilla>