Bug 118723 - [CSS Regions] Convert percentage-margins-* tests to ref-tests
Summary: [CSS Regions] Convert percentage-margins-* tests to ref-tests
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andrei Bucur
URL:
Keywords:
Depends on: 118975
Blocks: 57312
  Show dependency treegraph
 
Reported: 2013-07-16 02:21 PDT by Andrei Bucur
Modified: 2013-07-23 10:35 PDT (History)
6 users (show)

See Also:


Attachments
Patch (692.80 KB, patch)
2013-07-22 04:52 PDT, Andrei Bucur
no flags Details | Formatted Diff | Diff
Patch (759.17 KB, patch)
2013-07-23 00:51 PDT, Andrei Bucur
no flags Details | Formatted Diff | Diff
Patch (760.52 KB, patch)
2013-07-23 08:58 PDT, Andrei Bucur
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Bucur 2013-07-16 02:21:31 PDT
fast/regions/percentage-margins-variable-width-regions.html
fast/regions/percentage-margins-rtl-variable-width-regions.html
fast/regions/percentage-margins-mixed-rtl-dominant-regions.html
fast/regions/percentage-margins-mixed-ltr-dominant-regions.html

Should be ref tests
Comment 1 Andrei Bucur 2013-07-22 04:52:28 PDT
Created attachment 207239 [details]
Patch
Comment 2 WebKit Commit Bot 2013-07-22 07:01:22 PDT
Comment on attachment 207239 [details]
Patch

Clearing flags on attachment: 207239

Committed r152968: <http://trac.webkit.org/changeset/152968>
Comment 3 WebKit Commit Bot 2013-07-22 07:01:24 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 WebKit Commit Bot 2013-07-22 10:58:30 PDT
Re-opened since this is blocked by bug 118975
Comment 5 Andrei Bucur 2013-07-23 00:51:47 PDT
Created attachment 207308 [details]
Patch
Comment 6 Mihnea Ovidenie 2013-07-23 04:12:02 PDT
(In reply to comment #5)
> Created an attachment (id=207308) [details]
> Patch

Looks good. I have 3 comments:
-> using Ahem font, makes the test less readable, maybe you should add a description to the tests about the expected behavior? Or a note in changelog about what these tests are intended to check? 
-> I prefer to use the monospace font instead of Ahem, usually font: 16px/1.25 monospace, but it is just a preference.
-> why are you using <span style="line-height: 100px;">XXXXXX</span> in *-expected.html files? Do you need them in all the boxes?
Comment 7 Andrei Bucur 2013-07-23 08:53:53 PDT
(In reply to comment #6)
> (In reply to comment #5)
> > Created an attachment (id=207308) [details] [details]
> > Patch
> 
> Looks good. I have 3 comments:
> -> using Ahem font, makes the test less readable, maybe you should add a description to the tests about the expected behavior? Or a note in changelog about what these tests are intended to check? 
Will do before landing the patch.
> -> I prefer to use the monospace font instead of Ahem, usually font: 16px/1.25 monospace, but it is just a preference.
I've noticed differences between platforms. It's important to really have the same text in each region as the ref test.
> -> why are you using <span style="line-height: 100px;">XXXXXX</span> in *-expected.html files? Do you need them in all the boxes?
To push the bottom border further down and then clip it with overflow: hidden. This way the ref test divs look like they are fragmented.
Comment 8 Andrei Bucur 2013-07-23 08:58:50 PDT
Created attachment 207331 [details]
Patch
Comment 9 WebKit Commit Bot 2013-07-23 10:35:34 PDT
Comment on attachment 207331 [details]
Patch

Clearing flags on attachment: 207331

Committed r153057: <http://trac.webkit.org/changeset/153057>
Comment 10 WebKit Commit Bot 2013-07-23 10:35:38 PDT
All reviewed patches have been landed.  Closing bug.