Bug 74428 - Create reftest for outline-sides-in-region
Summary: Create reftest for outline-sides-in-region
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-13 11:36 PST by Ethan Malasky
Modified: 2011-12-14 21:27 PST (History)
3 users (show)

See Also:


Attachments
add reftest, adjust test case, remove old expected files (7.43 KB, patch)
2011-12-13 13:01 PST, Ethan Malasky
no flags Details | Formatted Diff | Diff
reftest, removals, plus test enablement for chromium (8.42 KB, patch)
2011-12-13 13:59 PST, Ethan Malasky
darin: review+
Details | Formatted Diff | Diff
one more, incorporating cleanup suggestions (8.19 KB, patch)
2011-12-14 14:18 PST, Ethan Malasky
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ethan Malasky 2011-12-13 11:36:03 PST
This test should be satisfied with a reftest instead of a bitmap test.
Comment 1 Ethan Malasky 2011-12-13 13:01:53 PST
Created attachment 119073 [details]
add reftest, adjust test case, remove old expected files
Comment 2 Ethan Malasky 2011-12-13 13:59:45 PST
Created attachment 119080 [details]
reftest, removals, plus test enablement for chromium
Comment 3 Darin Adler 2011-12-14 11:00:43 PST
Comment on attachment 119080 [details]
reftest, removals, plus test enablement for chromium

View in context: https://bugs.webkit.org/attachment.cgi?id=119080&action=review

> LayoutTests/fast/regions/outline-sides-in-region-expected.html:15
> +	<div id="region">
> +		<div id="source">

I suggest omitting the ids.

> LayoutTests/fast/regions/outline-sides-in-region.html:10
> +	/* There appears to be a bug in margin-top collapsing for the first region.
> +	 That issue will be filed separately. For now, forcing margin-top:0 allows us
> +	to create an accurate reftest for outline drawing. */

Strange indentation here. Also, we normally use // comments rather than /* comments.
Comment 4 Ethan Malasky 2011-12-14 14:00:46 PST
Thanks, Darin. Applying your suggestions. Will post a cleaner patch.
Comment 5 Ethan Malasky 2011-12-14 14:18:00 PST
Created attachment 119295 [details]
one more, incorporating cleanup suggestions

Removed ids, and also the whole CSS block comment, since astearns has since verified that the margin-top non-collapsing in the region is intended behavior.
Comment 6 WebKit Review Bot 2011-12-14 14:57:35 PST
Comment on attachment 119295 [details]
one more, incorporating cleanup suggestions

Clearing flags on attachment: 119295

Committed r102830: <http://trac.webkit.org/changeset/102830>
Comment 7 WebKit Review Bot 2011-12-14 14:57:40 PST
All reviewed patches have been landed.  Closing bug.