Bug 71931

Summary: CSS 2.1 failure: outline-color-* tests fail
Product: WebKit Reporter: Robert Hogan <robert>
Component: CSSAssignee: Robert Hogan <robert>
Status: RESOLVED FIXED    
Severity: Normal CC: jchaffraix, robert
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 72648    
Bug Blocks: 47141    
Attachments:
Description Flags
Patch
none
Patch
none
Patch jchaffraix: review+

Robert Hogan
Reported 2011-11-09 10:31:16 PST
They do not render an outline when the div has zero size
Attachments
Patch (736.96 KB, patch)
2011-11-09 11:03 PST, Robert Hogan
no flags
Patch (942.08 KB, patch)
2011-11-09 11:20 PST, Robert Hogan
no flags
Patch (942.15 KB, patch)
2011-11-18 12:03 PST, Robert Hogan
jchaffraix: review+
Robert Hogan
Comment 1 2011-11-09 11:03:50 PST
Robert Hogan
Comment 2 2011-11-09 11:20:58 PST
Julien Chaffraix
Comment 3 2011-11-14 16:52:43 PST
Comment on attachment 114322 [details] Patch Looks great. Too bad the EWS was borked the day you submitted the patch. 2 comments: * it looks like most of the tests would love being reftests using the near-to-landing patch on bug 60605. Do you think could be possible without having you rewrite all the tests? * the change is painting related so do we need the DRT dumps? If yes, they look like they should not be Chromium specific.
Robert Hogan
Comment 4 2011-11-15 11:37:24 PST
(In reply to comment #3) > (From update of attachment 114322 [details]) > Looks great. Too bad the EWS was borked the day you submitted the patch. > > 2 comments: > * it looks like most of the tests would love being reftests using the near-to-landing patch on bug 60605. Do you think could be possible without having you rewrite all the tests? They're from the CSS 2.1 test suite so although I agree they would be better as reftests the place to do that is in the public css test suite I think. > * the change is painting related so do we need the DRT dumps? If yes, they look like they should not be Chromium specific. Yes, unfortunately the text in the tests makes their results platform specific. If you look at CSS2.1/20110323 all the results sit in platform folders. On a positive note there *are* some ref tests in the CSS2.1 test suite so we will be able to adopt them as such once 60605 is landed.
Julien Chaffraix
Comment 5 2011-11-16 13:13:09 PST
(In reply to comment #4) > (In reply to comment #3) > > (From update of attachment 114322 [details] [details]) > > Looks great. Too bad the EWS was borked the day you submitted the patch. > > > > 2 comments: > > * it looks like most of the tests would love being reftests using the near-to-landing patch on bug 60605. Do you think could be possible without having you rewrite all the tests? > > They're from the CSS 2.1 test suite so although I agree they would be better as reftests the place to do that is in the public css test suite I think. I was thinking something along those line would happen. Could you make sure to post a follow-up on the public mailing list pointing this short-coming. For most browsers, this would be a good change as this would avoid the need of many different baselines. > > * the change is painting related so do we need the DRT dumps? If yes, they look like they should not be Chromium specific. > > Yes, unfortunately the text in the tests makes their results platform specific. If you look at CSS2.1/20110323 all the results sit in platform folders. Fair enough, I should have known that the explanations for each tests would get us...
Robert Hogan
Comment 6 2011-11-17 11:45:54 PST
Robert Hogan
Comment 7 2011-11-17 13:36:25 PST
Robert Hogan
Comment 8 2011-11-18 11:33:28 PST
Was rolled out by bug 72649 and 72648
Robert Hogan
Comment 9 2011-11-18 12:03:26 PST
Julien Chaffraix
Comment 10 2011-11-18 14:14:17 PST
Comment on attachment 115843 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=115843&action=review > Source/WebCore/rendering/RenderObject.cpp:1155 > + if (outer.isEmpty()) It took me some time to figure out why this was needed. Please add a comment about the need to bail out when offset (could you rename it to outlineOffset for coherency) is negative and bigger than outlineWidth (mentioning fast/borders/outline-offset-min-assert.html and/or bug 12042). Also this is a FIXME as this does not match FireFox anymore!
Robert Hogan
Comment 11 2011-12-10 12:31:12 PST
Note You need to log in before you can comment on or make changes to this bug.