RESOLVED WORKSFORME 46632
The last word in each line, encased in a tag with either a background or border value, is cropped.
https://bugs.webkit.org/show_bug.cgi?id=46632
Summary The last word in each line, encased in a tag with either a background or bord...
Claus Es
Reported 2010-09-27 10:44:53 PDT
Created attachment 68930 [details] border.html + style.css test case for CSS background The last word in each line, encased in a tag with either a background or border value, is sometimes cropped in all Safari versions. Firefox renderes the attached case in an expected manner. Safari 5.0.2, Webkit 5.0.2 (6533.18.5, r68204), Webkit on the iPad iOS 3.1.2, and Webkit on the iPhone 3G iOS 3.1.2 are showing this unexpected rendering.
Attachments
border.html + style.css test case for CSS background (1.10 KB, application/zip)
2010-09-27 10:44 PDT, Claus Es
no flags
Proposed Patch (1.78 KB, patch)
2010-11-16 13:58 PST, aravind.akella
darin: review-
darin: commit-queue-
Patch (47.93 KB, patch)
2010-11-18 12:07 PST, aravind.akella
no flags
Patch (47.90 KB, patch)
2010-12-16 10:06 PST, aravind.akella
no flags
Patch (128.47 KB, patch)
2011-01-04 14:38 PST, aravind.akella
bdakin: review-
bdakin: commit-queue-
aravind.akella
Comment 1 2010-11-16 13:58:12 PST
Created attachment 74041 [details] Proposed Patch
Darin Adler
Comment 2 2010-11-16 15:04:53 PST
Comment on attachment 74041 [details] Proposed Patch The WebKit project requires test cases to be landed along with bug fixes. This code change looks good, but we need either a test case or an explanation of why we can’t test it.
aravind.akella
Comment 3 2010-11-18 12:07:02 PST
Created attachment 74275 [details] Patch Added a pixel layout test ... LayoutTests/fast/borders/border-rightEdge-bug46632.html. The rightEdge of First2 element displays correctly with this fix. Modified the patch. Passing the endObject as an argument to the method determineSpacingForFlowBoxes directly without testing for end.pos.
aravind.akella
Comment 4 2010-12-16 10:06:27 PST
Darin Adler
Comment 5 2010-12-29 16:36:21 PST
Comment on attachment 76779 [details] Patch Test case looks good. I'm not 100% certain the logic here is right because it’s slightly outside my area of expertise, but I’ll say r=me.
WebKit Commit Bot
Comment 6 2010-12-29 17:40:31 PST
Comment on attachment 76779 [details] Patch Rejecting attachment 76779 [details] from commit-queue. Failed to run "['./Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=cr-jail-3', 'build-and-test', '--no-clean', '--no-update', '--test', '--non-interactive']" exit_code: 2 Last 500 characters of output: ............................................................................................................................................................................................................................................................................ css2.1/t090501-c414-flt-ln-02-d.html -> failed Exiting early after 1 failures. 1529 tests run. 57.04s total testing time 1528 test cases (99%) succeeded 1 test case (<1%) had incorrect layout 3 test cases (<1%) had stderr output Full output: http://queues.webkit.org/results/7235284
aravind.akella
Comment 7 2011-01-04 14:38:09 PST
Created attachment 77933 [details] Patch Created a new base line for test case css2.1/t090501-c414-flt-ln-02-d.html. The borders for the small boxes A.B,D are not displayed in full. The right edges are cropped. With this fix they would be displayed fully. Updated the png and checksum files for mac platform.
Eric Seidel (no email)
Comment 8 2011-01-31 16:05:47 PST
Comment on attachment 76779 [details] Patch Cleared Darin Adler's review+ from obsolete attachment 76779 [details] so that this bug does not appear in http://webkit.org/pending-commit.
Beth Dakin
Comment 9 2011-04-26 15:37:46 PDT
Comment on attachment 77933 [details] Patch This patch doesn't apply cleanly anymore. But also, I think the bug has been fixed! The test case looks right in TOT, and the call to constructLine() seems to have a similar fix in place.
Beth Dakin
Comment 10 2011-04-26 15:39:07 PDT
Resolving for now since I believe this is now fixed. Please re-open if it's not.
Note You need to log in before you can comment on or make changes to this bug.