<?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>143697</bug_id>
          
          <creation_ts>2015-04-13 22:31:02 -0700</creation_ts>
          <short_desc>fast/sub-pixel/input-caret-on-subpixel-bound.html is flaky</short_desc>
          <delta_ts>2015-04-14 10:35:09 -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>Tools / Tests</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Alexey Proskuryakov">ap</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1085059</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-04-13 22:31:02 -0700</bug_when>
    <thetext>fast/sub-pixel/input-caret-on-subpixel-bound.html is flaky on debug WK2 bots. It&apos;s a reftest for editing, and caret is not drawn in actual result sometimes.

There is a race between a caret blinking timer, and a timer in the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1085061</commentid>
    <comment_count>1</comment_count>
      <attachid>250694</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-04-13 22:34:17 -0700</bug_when>
    <thetext>Created attachment 250694
proposed fix

I have a vague memory of us doing something special to always have the caret draw when dumping pixel results, but I cannot find any sign of that in the code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1085063</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-04-13 22:44:35 -0700</bug_when>
    <thetext>There is a function in FrameSelection named setCaretBlinks which we could potentially call from Internals, but it&apos;s completely unused now, and may or may not work.

Looks like it was accidentally added when upstreaming iOS code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1085159</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-04-14 09:48:24 -0700</bug_when>
    <thetext>We should probably delete setCaretBlinks and supporting code, and if we want to disable blinking during tests, we should do that by supporting and tweaking NSTextInsertionPointBlinkPeriod/NSTextInsertionPointBlinkPeriodOn/NSTextInsertionPointBlinkPeriodOff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1085185</commentid>
    <comment_count>4</comment_count>
      <attachid>250694</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-04-14 10:35:05 -0700</bug_when>
    <thetext>Comment on attachment 250694
proposed fix

Clearing flags on attachment: 250694

Committed r182801: &lt;http://trac.webkit.org/changeset/182801&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1085186</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-04-14 10:35:09 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>250694</attachid>
            <date>2015-04-13 22:34:17 -0700</date>
            <delta_ts>2015-04-14 10:35:05 -0700</delta_ts>
            <desc>proposed fix</desc>
            <filename>Caret.txt</filename>
            <type>text/plain</type>
            <size>1446</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDE4Mjc4MSkKKysrIExheW91dFRlc3RzL0NoYW5nZUxvZwkod29y
a2luZyBjb3B5KQpAQCAtMSwzICsxLDEzIEBACisyMDE1LTA0LTEzICBBbGV4ZXkgUHJvc2t1cnlh
a292ICA8YXBAYXBwbGUuY29tPgorCisgICAgICAgIGZhc3Qvc3ViLXBpeGVsL2lucHV0LWNhcmV0
LW9uLXN1YnBpeGVsLWJvdW5kLmh0bWwgaXMgZmxha3kKKyAgICAgICAgaHR0cHM6Ly9idWdzLndl
YmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE0MzY5NworCisgICAgICAgIFJldmlld2VkIGJ5IE5P
Qk9EWSAoT09QUyEpLgorCisgICAgICAgICogZmFzdC9zdWItcGl4ZWwvaW5wdXQtY2FyZXQtb24t
c3VicGl4ZWwtYm91bmQuaHRtbDogRG9uJ3Qgd2FpdCBmb3IgYSB0aW1lciB0byBmaXJlCisgICAg
ICAgIGFmdGVyIHJlbW92aW5nIHRoZSBsYXN0IGNoYXJhY3Rlci4KKwogMjAxNS0wNC0xMyAgTWFu
dWVsIFJlZ28gQ2FzYXNub3ZhcyAgPHJlZ29AaWdhbGlhLmNvbT4KIAogICAgICAgICBbQ1NTIEdy
aWQgTGF5b3V0XSBDb2x1bW5zIHNldCBpbiBwZXJjZW50YWdlcyBjb2xsYXBzZSB0byBhdXRvIHdp
ZHRoCkluZGV4OiBMYXlvdXRUZXN0cy9mYXN0L3N1Yi1waXhlbC9pbnB1dC1jYXJldC1vbi1zdWJw
aXhlbC1ib3VuZC5odG1sCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIExheW91dFRlc3RzL2Zhc3Qvc3ViLXBpeGVs
L2lucHV0LWNhcmV0LW9uLXN1YnBpeGVsLWJvdW5kLmh0bWwJKHJldmlzaW9uIDE4Mjc3MykKKysr
IExheW91dFRlc3RzL2Zhc3Qvc3ViLXBpeGVsL2lucHV0LWNhcmV0LW9uLXN1YnBpeGVsLWJvdW5k
Lmh0bWwJKHdvcmtpbmcgY29weSkKQEAgLTM1LDEwICszNSwxMCBAQAogICAgICAgICAgICAgZWwu
Zm9jdXMoKTsKICAgICAgICAgICAgIHZhciBzdGVwID0gZnVuY3Rpb24oKSB7CiAgICAgICAgICAg
ICAgICAgdmFyIHZhbHVlID0gZWwudmFsdWU7Ci0gICAgICAgICAgICAgICAgaWYgKHZhbHVlKSB7
CisgICAgICAgICAgICAgICAgaWYgKGVsLnZhbHVlKQogICAgICAgICAgICAgICAgICAgICBlbC52
YWx1ZSA9IHZhbHVlLnN1YnN0cigwLCB2YWx1ZS5sZW5ndGggLSAxKTsKKyAgICAgICAgICAgICAg
ICBpZiAoZWwudmFsdWUpCiAgICAgICAgICAgICAgICAgICAgIHdpbmRvdy5zZXRUaW1lb3V0KHN0
ZXAsIDEwKTsKLSAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgZWxzZSBpZiAod2lu
ZG93LnRlc3RSdW5uZXIpCiAgICAgICAgICAgICAgICAgICAgIHRlc3RSdW5uZXIubm90aWZ5RG9u
ZSgpOwogICAgICAgICAgICAgfTsK
</data>

          </attachment>
      

    </bug>

</bugzilla>