WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
111606
border-fit should happen at layout time rather than paint time
https://bugs.webkit.org/show_bug.cgi?id=111606
Summary
border-fit should happen at layout time rather than paint time
Dave Hyatt
Reported
2013-03-06 11:30:57 PST
border-fit-adjust should happen at layout time rather than paint time. When the border-fit-adjusted box is right-aligned but contains left-aligned text, the paint time hack chops off the right side of the box correctly but then doesn't shift the smaller box to the right. We basically need to genuinely shrink the box during layout so that cases like this work.
Attachments
Patch
(13.67 KB, patch)
2013-03-07 09:52 PST
,
Dave Hyatt
koivisto
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dave Hyatt
Comment 1
2013-03-07 09:52:27 PST
Created
attachment 192024
[details]
Patch
Antti Koivisto
Comment 2
2013-03-07 10:35:06 PST
Comment on
attachment 192024
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=192024&action=review
r=me
> Source/WebCore/rendering/RenderBlock.cpp:6885 > + layoutBlock(false);
Recursion :(
Dave Hyatt
Comment 3
2013-03-07 10:44:21 PST
Fixed in
r145100
.
Roger Fong
Comment 4
2013-03-07 14:18:46 PST
Hi, this broke +fast/borders/border-fit-2.html +fast/borders/border-fit.html +fast/repaint/border-fit-lines.html on mac and windows.
http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK1%20(Tests)/r145119%20(7678)/results.html
Dean Jackson
Comment 5
2013-03-07 16:29:18 PST
Test Expectations added to get our EWS going again. Reopening bug until the tests can be reenabled.
Dean Jackson
Comment 6
2013-03-07 16:29:39 PST
https://trac.webkit.org/r145151
Jon Lee
Comment 7
2013-03-13 21:36:56 PDT
r145139
fixed one of the tests. See
bug 111776
.
Jon Lee
Comment 8
2013-03-13 21:40:02 PDT
<
rdar://problem/13101714
>
Brent Fulgham
Comment 9
2015-10-12 12:03:56 PDT
I no longer see border-fit-lines.html failing on Windows.
Tim Nguyen (:ntim)
Comment 10
2021-12-24 13:25:09 PST
Bug 229564
removed -webkit-border-fit.
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