<?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>238126</bug_id>
          
          <creation_ts>2022-03-20 08:41:05 -0700</creation_ts>
          <short_desc>[css-cascade] No need to defer applying text-decoration properties</short_desc>
          <delta_ts>2022-03-21 12:39:30 -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>CSS</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>237175</dependson>
          <blocked>238125</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Oriol Brufau">obrufau</reporter>
          <assigned_to name="Oriol Brufau">obrufau</assigned_to>
          <cc>darin</cc>
    
    <cc>koivisto</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1853065</commentid>
    <comment_count>0</comment_count>
    <who name="Oriol Brufau">obrufau</who>
    <bug_when>2022-03-20 08:41:05 -0700</bug_when>
    <thetext>In Source/WebCore/style/PropertyCascade.cpp, shouldApplyPropertyInParseOrder() returns true for

 - CSSPropertyWebkitTextDecoration
 - CSSPropertyTextDecorationLine
 - CSSPropertyTextDecorationStyle
 - CSSPropertyTextDecorationColor
 - CSSPropertyTextDecorationSkip
 - CSSPropertyTextDecorationSkipInk
 - CSSPropertyTextUnderlinePosition
 - CSSPropertyTextUnderlineOffset
 - CSSPropertyTextDecorationThickness
 - CSSPropertyTextDecoration

This was previously necessary for text-decoration-line and text-decoration, since they were implemented as longhands that shared a computed value.
But that&apos;s no longer the case, text-decoration became a shorthand in bug 237175.
AFAIK -webkit-text-decoration has always been a shorthand since it was implemented in bug 92000, so having it in the list it&apos;s pointless, only longhands matter.
text-decoration-skip became a shorthand in bug 230244, so it&apos;s also pointless.
And the other longhands seem unnecessary too, since they don&apos;t share a computed style with other properties.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1853066</commentid>
    <comment_count>1</comment_count>
      <attachid>455196</attachid>
    <who name="Oriol Brufau">obrufau</who>
    <bug_when>2022-03-20 08:54:10 -0700</bug_when>
    <thetext>Created attachment 455196
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1853079</commentid>
    <comment_count>2</comment_count>
    <who name="Oriol Brufau">obrufau</who>
    <bug_when>2022-03-20 10:40:48 -0700</bug_when>
    <thetext>PTAL, trivial patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1853224</commentid>
    <comment_count>3</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2022-03-21 09:29:56 -0700</bug_when>
    <thetext>Retrying to see if the iOS-wk2 failure goes away.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1853251</commentid>
    <comment_count>4</comment_count>
      <attachid>455196</attachid>
    <who name="Oriol Brufau">obrufau</who>
    <bug_when>2022-03-21 10:53:29 -0700</bug_when>
    <thetext>Comment on attachment 455196
Patch

I already retried iOS-wk2 a few times, but fast/text/text-shadow-ink-overflow-missing.html keeps failing all the time, and not just with my patch: https://ews-build.webkit.org/#/builders/iOS-15-Simulator-WK2-Tests-EWS
So it&apos;s unrelated, cq+</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1853256</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-03-21 11:01:18 -0700</bug_when>
    <thetext>Committed r291568 (248669@main): &lt;https://commits.webkit.org/248669@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 455196.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1853258</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-03-21 11:02:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/90578051&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1853259</commentid>
    <comment_count>7</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2022-03-21 11:02:58 -0700</bug_when>
    <thetext>That&apos;s not how EWS is supposed to work. If it fails both with and without the patch it&apos;s not supposed to be red. Look at an example like this one:

https://ews-build.webkit.org/#/builders/68/builds/11070

Note that it says the test *passes* without the patch it was evaluating. I wonder why EWS comes to that conclusion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1853293</commentid>
    <comment_count>8</comment_count>
    <who name="Oriol Brufau">obrufau</who>
    <bug_when>2022-03-21 12:30:20 -0700</bug_when>
    <thetext>(In reply to Darin Adler from comment #7)
&gt; That&apos;s not how EWS is supposed to work. If it fails both with and without
&gt; the patch it&apos;s not supposed to be red. Look at an example like this one:
&gt; 
&gt; https://ews-build.webkit.org/#/builders/68/builds/11070
&gt; 
&gt; Note that it says the test *passes* without the patch it was evaluating. I
&gt; wonder why EWS comes to that conclusion.

I think it may be because when running the tests without the patch, it only runs the tests that previously failed, not all of them. Maybe this uses less resources on the machine or something, and affects the result? So it&apos;s not a matter of whether the patch is applied or not, but the number tests running at the same time. These just happen to be correlated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1853295</commentid>
    <comment_count>9</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2022-03-21 12:39:30 -0700</bug_when>
    <thetext>Seems like we need to change EWS to run the tests that failed *with* the patch too then, otherwise the A/B is invalid.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>455196</attachid>
            <date>2022-03-20 08:54:10 -0700</date>
            <delta_ts>2022-03-21 11:01:20 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-238126-20220320165409.patch</filename>
            <type>text/plain</type>
            <size>2869</size>
            <attacher name="Oriol Brufau">obrufau</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjkxNTQwCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggODA1ZWYxYzliZmM0MDA3
ZWVhMzA2ZDc2ZjhlZGEzZTQ0YjI2ODkzOC4uMTdhMTdhMmRiZDUyYmM1ZmRjY2U2NmJhMzM0ZTRm
ODYyNmUxMTg1MiAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDQwIEBACisyMDIyLTAzLTIwICBPcmlv
bCBCcnVmYXUgIDxvYnJ1ZmF1QGlnYWxpYS5jb20+CisKKyAgICAgICAgW2Nzcy1jYXNjYWRlXSBE
b24ndCBkZWZlciBhcHBseWluZyB0ZXh0IGRlY29yYXRpb24gcHJvcGVydGllcworICAgICAgICBo
dHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjM4MTI2CisKKyAgICAgICAg
UmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgc2hvdWxkQXBwbHlQcm9wZXJ0
eUluUGFyc2VPcmRlcigpIHdhcyByZXR1cm5pbmcgdHJ1ZSBmb3IgdGhlc2U6CisgICAgICAgICAt
IHdlYmtpdC10ZXh0LWRlY29yYXRpb24KKyAgICAgICAgIC0gdGV4dC1kZWNvcmF0aW9uLWxpbmUK
KyAgICAgICAgIC0gdGV4dC1kZWNvcmF0aW9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