WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 95882
Inline repainting can be off-by-one with sub-pixel enabled
https://bugs.webkit.org/show_bug.cgi?id=95882
Summary
Inline repainting can be off-by-one with sub-pixel enabled
Levi Weintraub
Reported
2012-09-05 12:02:09 PDT
Created
attachment 162299
[details]
Reproduces the problem. This issue repros easily when repainting selections in a table with sub-pixel offsets, but can likely occur elsewhere. The issue arrises due to repainting being triggered outside of normal paint or layout flow, and thus missing the context from the containing block chain, which leads to differing pixel-snapping. Eventually, I think this should be fixed by preserving the context during layout in something like a FractionalBoxExtent.
Attachments
Reproduces the problem.
(717 bytes, text/html)
2012-09-05 12:02 PDT
,
Levi Weintraub
no flags
Details
Patch
(32.86 KB, patch)
2012-09-05 14:02 PDT
,
Levi Weintraub
eric
: review+
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Levi Weintraub
Comment 1
2012-09-05 14:02:04 PDT
Created
attachment 162327
[details]
Patch
WebKit Review Bot
Comment 2
2012-09-05 23:35:12 PDT
Comment on
attachment 162327
[details]
Patch
Attachment 162327
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/13764581
New failing tests: fast/repaint/repaint-across-writing-mode-boundary.html
Eric Seidel (no email)
Comment 3
2012-09-10 14:43:59 PDT
Comment on
attachment 162327
[details]
Patch LGTM
Simon Fraser (smfr)
Comment 4
2012-09-10 16:34:56 PDT
I wonder if this will fix
bug 94128
.
Levi Weintraub
Comment 5
2012-09-12 12:16:32 PDT
Committed
r128346
: <
http://trac.webkit.org/changeset/128346
>
Adam Klein
Comment 6
2012-09-12 12:56:21 PDT
(In reply to
comment #2
)
> (From update of
attachment 162327
[details]
) >
Attachment 162327
[details]
did not pass chromium-ews (chromium-xvfb): > Output:
http://queues.webkit.org/results/13764581
> > New failing tests: > fast/repaint/repaint-across-writing-mode-boundary.html
Just as it did on cr-ews, this is failing on the chromium bots:
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Frepaint%2Frepaint-across-writing-mode-boundary.html
Levi, can you take a look?
Levi Weintraub
Comment 7
2012-09-12 13:09:22 PDT
Thanks for the heads up. Fixing now.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug