Bug 155957 - Pixel turds when bordered div is resized on SMF forum software
Summary: Pixel turds when bordered div is resized on SMF forum software
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-03-28 14:39 PDT by zalan
Modified: 2016-03-28 18:06 PDT (History)
6 users (show)

See Also:


Attachments
Patch (9.54 KB, patch)
2016-03-28 15:05 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (9.58 KB, patch)
2016-03-28 15:20 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (10.37 KB, patch)
2016-03-28 16:24 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2016-03-28 14:39:07 PDT
When logged into http://www.modelenginemaker.com and posting a reply, resizing the textfield causes visual glitches as the enclosing <div> border is not repainted properly.
Comment 1 zalan 2016-03-28 14:39:31 PDT
rdar://problem/25010646
Comment 2 zalan 2016-03-28 15:05:25 PDT
Created attachment 275058 [details]
Patch
Comment 3 Simon Fraser (smfr) 2016-03-28 15:11:17 PDT
Comment on attachment 275058 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=275058&action=review

> LayoutTests/fast/repaint/hidpi-box-with-subpixel-height-inflates.html:34
> +	        internals.startTrackingRepaints();
> +        document.getElementById("foobar").style.height = "200px";
> + 		document.body.offsetWidth;

Tabs?

> LayoutTests/fast/repaint/hidpi-box-with-subpixel-height-inflates.html:37
> +            shouldBe("window.internals.repaintRectsAsText().indexOf('0 49 22 0.50')", "-1");

I think you should just dump the rects.
Comment 4 zalan 2016-03-28 15:20:03 PDT
Created attachment 275059 [details]
Patch
Comment 5 zalan 2016-03-28 16:24:17 PDT
Created attachment 275063 [details]
Patch
Comment 6 WebKit Commit Bot 2016-03-28 18:06:55 PDT
Comment on attachment 275063 [details]
Patch

Clearing flags on attachment: 275063

Committed r198771: <http://trac.webkit.org/changeset/198771>
Comment 7 WebKit Commit Bot 2016-03-28 18:06:58 PDT
All reviewed patches have been landed.  Closing bug.