<?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>127331</bug_id>
          
          <creation_ts>2014-01-20 19:40:45 -0800</creation_ts>
          <short_desc>Turn text-decoration-skip: ink on for all underlines</short_desc>
          <delta_ts>2014-02-12 21:46:27 -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>New Bugs</component>
          <version>528+ (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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Myles C. Maxfield">mmaxfield</reporter>
          <assigned_to name="Myles C. Maxfield">mmaxfield</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>dino</cc>
    
    <cc>esprehn+autocc</cc>
    
    <cc>glenn</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>jonlee</cc>
    
    <cc>koivisto</cc>
    
    <cc>kondapallykalyan</cc>
    
    <cc>macpherson</cc>
    
    <cc>menard</cc>
    
    <cc>mjs</cc>
    
    <cc>sam</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>yuki.sekiguchi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>970140</commentid>
    <comment_count>0</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2014-01-20 19:40:45 -0800</bug_when>
    <thetext>Turn text-decoration-skip: ink on for all underlines</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>970141</commentid>
    <comment_count>1</comment_count>
      <attachid>221713</attachid>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2014-01-20 19:42:58 -0800</bug_when>
    <thetext>Created attachment 221713
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>970143</commentid>
    <comment_count>2</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2014-01-20 19:45:41 -0800</bug_when>
    <thetext>&lt;rdar://problem/15820629&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>970916</commentid>
    <comment_count>3</comment_count>
      <attachid>221713</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2014-01-22 15:42:30 -0800</bug_when>
    <thetext>Comment on attachment 221713
Patch

This seems fine, but are there any test implications? Do we need new results, or will existing results change because of this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>970939</commentid>
    <comment_count>4</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2014-01-22 17:08:53 -0800</bug_when>
    <thetext>Nope!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>970952</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2014-01-22 17:35:20 -0800</bug_when>
    <thetext>Antti, is this OK? Do we need to add this to the list of CSS properties that come first and get special treatment?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>971353</commentid>
    <comment_count>6</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2014-01-23 15:03:28 -0800</bug_when>
    <thetext>I don&apos;t understand this patch. Why is this property set as UA style for &lt;body&gt;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>971355</commentid>
    <comment_count>7</comment_count>
      <attachid>221713</attachid>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2014-01-23 15:05:12 -0800</bug_when>
    <thetext>Comment on attachment 221713
Patch

Setting r- until I understand.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>971373</commentid>
    <comment_count>8</comment_count>
      <attachid>222036</attachid>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2014-01-23 15:54:15 -0800</bug_when>
    <thetext>Created attachment 222036
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>971376</commentid>
    <comment_count>9</comment_count>
      <attachid>222036</attachid>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2014-01-23 15:58:33 -0800</bug_when>
    <thetext>Comment on attachment 222036
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>971384</commentid>
    <comment_count>10</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2014-01-23 16:19:16 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/162660</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>977667</commentid>
    <comment_count>11</comment_count>
    <who name="Yuki Sekiguchi">yuki.sekiguchi</who>
    <bug_when>2014-02-06 17:57:44 -0800</bug_when>
    <thetext>IIUC, the initial value of text-decoration-skip property is &quot;objects&quot;. Why did this commit change to ink?
http://dev.w3.org/csswg/css-text-decor-3/#text-decoration-skip-property

If there is no problem to change the initial value to &quot;objects&quot;, I can create a patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>977928</commentid>
    <comment_count>12</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2014-02-07 11:19:28 -0800</bug_when>
    <thetext>text-decoration-skip: objects isn&apos;t implemented (yet).

Regarding the difference between html.css and RenderStyle.h, this is what antti has to say:
3:25:19 PM myles: antti: that&apos;s fine with me. just curious, why is one way better than the other?
3:38:16 PM antti: myles: at minimum it looks ugly to have non-body properties defined there
3:39:26 PM antti: myles: i believe it will make style code less efficient since we every element will have non-default inherited style
3:39:41 PM antti: and i think it will break in some css edge cases
3:41:03 PM antti: myles: they can also change based on platform/settings etc
3:43:29 PM antti: myles: at least text-decoration-skip:initial will be different
3:44:32 PM antti: myles: &apos;initial&apos; is a css value that resolves to the default for the property</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>978681</commentid>
    <comment_count>13</comment_count>
    <who name="Yuki Sekiguchi">yuki.sekiguchi</who>
    <bug_when>2014-02-09 18:05:25 -0800</bug_when>
    <thetext>(In reply to comment #12)
&gt; text-decoration-skip: objects isn&apos;t implemented (yet).

Theoretically, the newer CSS spec is backward compatible, so initial value should be same as old behavior. Therefore, &quot;objects&quot; should be same as original behavior. We no need to implement rendering code.

&gt; Regarding the difference between html.css and RenderStyle.h, this is what antti has to say:
&gt; 3:25:19 PM myles: antti: that&apos;s fine with me. just curious, why is one way better than the other?
&gt; 3:38:16 PM antti: myles: at minimum it looks ugly to have non-body properties defined there
&gt; 3:39:26 PM antti: myles: i believe it will make style code less efficient since we every element will have non-default inherited style
&gt; 3:39:41 PM antti: and i think it will break in some css edge cases
&gt; 3:41:03 PM antti: myles: they can also change based on platform/settings etc
&gt; 3:43:29 PM antti: myles: at least text-decoration-skip:initial will be different
&gt; 3:44:32 PM antti: myles: &apos;initial&apos; is a css value that resolves to the default for the property

There is no spec which defines html.css, so adding &quot;ink&quot; to html.css doesn&apos;t illegal. For &quot;initial&quot; and RenderStyle.h, CSS spec defines it, so initialTextDecorationSkip() should return &quot;objects&quot;.

IMO, adding &quot;ink&quot; to html.css changes the default behavior, so it may break the web. I drew underline to a Japanese character &quot;国&quot; in vertical writing mode, and it looked odd for my Japanese eyes. I think we should not add &quot;ink&quot; to html.css.

WDYT?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>978729</commentid>
    <comment_count>14</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2014-02-09 21:54:34 -0800</bug_when>
    <thetext>(In reply to comment #13)

&gt; IMO, adding &quot;ink&quot; to html.css changes the default behavior, so it may break the web. I drew underline to a Japanese character &quot;国&quot; in vertical writing mode, and it looked odd for my Japanese eyes. I think we should not add &quot;ink&quot; to html.css.
&gt; 
&gt; WDYT?

I agree with Yuki. If the default is &quot;objects&quot; but we don&apos;t support it yet, we should leave it as it was for now. And yes, the way to define the default CSS value is in RenderStyle::initialTextDecorationSkip().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>978730</commentid>
    <comment_count>15</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2014-02-09 21:57:13 -0800</bug_when>
    <thetext>I&apos;d also be interested to see what happened in vertical Japanese text for skip:ink. Is this a bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>978742</commentid>
    <comment_count>16</comment_count>
    <who name="Yuki Sekiguchi">yuki.sekiguchi</who>
    <bug_when>2014-02-09 22:56:13 -0800</bug_when>
    <thetext>(In reply to comment #14)
&gt; I agree with Yuki. If the default is &quot;objects&quot; but we don&apos;t support it yet, we should leave it as it was for now. And yes, the way to define the default CSS value is in RenderStyle::initialTextDecorationSkip().

I didn&apos;t realize that CSS parser didn&apos;t support &quot;objects&quot;. If there is no objection, I&apos;ll add &quot;objects&quot; to the parser and change the initial value.

(In reply to comment #15)
&gt; I&apos;d also be interested to see what happened in vertical Japanese text for skip:ink. Is this a bug?

I checked some Japanese texts. Most of them are no problem, but I found some bugs. I filed the Bug 128518
If the bug is fixed, I think most Japanese don&apos;t like these underlines.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>980164</commentid>
    <comment_count>17</comment_count>
    <who name="Yuki Sekiguchi">yuki.sekiguchi</who>
    <bug_when>2014-02-12 21:46:27 -0800</bug_when>
    <thetext>(In reply to comment #16)
&gt; (In reply to comment #14)
&gt; &gt; I agree with Yuki. If the default is &quot;objects&quot; but we don&apos;t support it yet, we should leave it as it was for now. And yes, the way to define the default CSS value is in RenderStyle::initialTextDecorationSkip().
&gt; 
&gt; I didn&apos;t realize that CSS parser didn&apos;t support &quot;objects&quot;. If there is no objection, I&apos;ll add &quot;objects&quot; to the parser and change the initial value.

Filed Bug 128723 and uploaded the patch.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>221713</attachid>
            <date>2014-01-20 19:42:58 -0800</date>
            <delta_ts>2014-01-23 15:54:12 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-127331-20140120194257.patch</filename>
            <type>text/plain</type>
            <size>1228</size>
            <attacher name="Myles C. Maxfield">mmaxfield</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTYyMzg1CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggYTBlYWFkZTFlODk5NjMw
NjI4NTEzYWY0ZDExYmU4YmNjZmM4M2M1Zi4uOWFjOTcxMGY1OTk2ZGY4Zjc4ZmNmMzQ3OTRhYTNh
NzZmODVhMjgxOSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE3IEBACisyMDE0LTAxLTIwICBNeWxl
cyBDLiBNYXhmaWVsZCAgPG1tYXhmaWVsZEBhcHBsZS5jb20+CisKKyAgICAgICAgVHVybiB0ZXh0
LWRlY29yYXRpb24tc2tpcDogaW5rIG9uIGZvciBhbGwgdW5kZXJsaW5lcworICAgICAgICBodHRw
czovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTI3MzMxCisKKyAgICAgICAgUmV2
aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgTm8gbmV3IHRlc3RzIGFyZSBuZWNl
c3NhcnkgYmVjYXVzZSB0ZXN0cyBhbHJlYWR5IGV4aXN0CisKKyAgICAgICAgKiBjc3MvaHRtbC5j
c3M6CisgICAgICAgIChib2R5KToKKyAgICAgICAgKHUsIGlucyk6CisgICAgICAgIChhOi13ZWJr
aXQtYW55LWxpbms6YWN0aXZlKToKKwogMjAxNC0wMS0yMCAgR3l1eW91bmcgS2ltICA8Z3l1eW91
bmcua2ltQHNhbXN1bmcuY29tPgogCiAgICAgICAgIERvIHJlZmFjdG9yIGluIGNvbGxlY3RHcmFk
aWVudEF0dHJpYnV0ZXMoKSBhbmQgcmVuZGVyU3R5bGVGb3JMZW5ndGhSZXNvbHZlKCkKZGlmZiAt
LWdpdCBhL1NvdXJjZS9XZWJDb3JlL2Nzcy9odG1sLmNzcyBiL1NvdXJjZS9XZWJDb3JlL2Nzcy9o
dG1sLmNzcwppbmRleCBmMmNiODFiZGFlYjNjOWM5MWRlNTljMTgxNzNiZTcyNzc3OGM2YzgxLi4w
MWNlNmEzNjllYTQzZDc0MzUzOGRmYjdhOWJmYTVmYWJjM2U1Yzk5IDEwMDY0NAotLS0gYS9Tb3Vy
Y2UvV2ViQ29yZS9jc3MvaHRtbC5jc3MKKysrIGIvU291cmNlL1dlYkNvcmUvY3NzL2h0bWwuY3Nz
CkBAIC01Niw3ICs1Niw4IEBAIHNjcmlwdCB7CiAKIGJvZHkgewogICAgIGRpc3BsYXk6IGJsb2Nr
OwotICAgIG1hcmdpbjogOHB4CisgICAgbWFyZ2luOiA4cHg7CisgICAgLXdlYmtpdC10ZXh0LWRl
Y29yYXRpb24tc2tpcDogaW5rOwogfQogCiAjaWYgZGVmaW5lZChFTkFCTEVfSUZSQU1FX1NFQU1M
RVNTKSAmJiBFTkFCTEVfSUZSQU1FX1NFQU1MRVNTCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>222036</attachid>
            <date>2014-01-23 15:54:15 -0800</date>
            <delta_ts>2014-01-23 15:58:33 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-127331-20140123155414.patch</filename>
            <type>text/plain</type>
            <size>1641</size>
            <attacher name="Myles C. Maxfield">mmaxfield</attacher>
            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dGlhbFpvb20oKSB7IHJldHVybiAxLjBmOyB9CiAgICAgc3Rh
dGljIGludCBpbml0aWFsT3V0bGluZU9mZnNldCgpIHsgcmV0dXJuIDA7IH0K
</data>
<flag name="review"
          id="246016"
          type_id="1"
          status="+"
          setter="koivisto"
    />
          </attachment>
      

    </bug>

</bugzilla>