WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
27042
Incomplete painting of newly created floats
https://bugs.webkit.org/show_bug.cgi?id=27042
Summary
Incomplete painting of newly created floats
mitz
Reported
2009-07-07 14:14:10 PDT
<
rdar://problem/7010981
> Floats of a newly created block can fail to paint correctly if the block’s initial position is not (0, 0) in the parent’s coordinate system. A newly created float that ends up at (0, 0) in its parent’s coordinate system can fail to paint correctly. While these are distinct issues, I discovered one while working on the other so I have a single patch for both, with two separate test cases. Patch forthcoming.
Attachments
Patch, including repaint tests
(39.27 KB, patch)
2009-07-07 14:21 PDT
,
mitz
simon.fraser
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2009-07-07 14:21:12 PDT
Created
attachment 32393
[details]
Patch, including repaint tests
Simon Fraser (smfr)
Comment 2
2009-07-07 14:32:05 PDT
Comment on
attachment 32393
[details]
Patch, including repaint tests
> + for (size_t i = 0; i < floatCount; ++i) { > + if (!floats[i].everHadLayout) { > + RenderBox* f = floats[i].object; > + if (!f->x() && !f->y() && f->checkForRepaintDuringLayout())
I have a preference for comparing with 0 for coordinates, but r=me
mitz
Comment 3
2009-07-07 14:36:50 PDT
Fixed in <
http://trac.webkit.org/changeset/45608
>.
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