Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Issue 2583063002: Add common test configs for properties that take lengths (Closed)

Created:
4 years ago by meade_UTC10
Modified:
3 years, 9 months ago
Reviewers:
nainar, sashab
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add common test configs for properties that take lengths. This is a follow-up CL to https://codereview.chromium.org/2371673002, to make testing of length-accepting properties more complete. To do this, I added "Length" as a typedom_types for each property in CSSProperties.in While I was at it, I also added the valid keywords for those properties. BUG=545318 Review-Url: https://codereview.chromium.org/2583063002 Cr-Commit-Position: refs/heads/master@{#455687} Committed: https://chromium.googlesource.com/chromium/src/+/4d77a388ceb8b2742c2ee4f0d2c8cc09a0aab4c6

Patch Set 1 #

Patch Set 2 : Separate out length and length-percent configs, add more keywords to CSSProperties.in #

Patch Set 3 : consistent spacing #

Patch Set 4 : Remove "fill" from supported values for width and height as it does not seem to actually be support… #

Patch Set 5 : Remove old width-height test #

Total comments: 6

Patch Set 6 : Remove fileoverview #

Patch Set 7 : Rebase #

Patch Set 8 : Remove extra file #

Patch Set 9 : Add comment for not-yet-supported properties on width/height #

Patch Set 10 : Hide Object.assign #

Patch Set 11 : Fix typo #

Patch Set 12 : Remove extra whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -210 lines) Patch
M third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/border-bottom-style.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -5 lines 0 comments Download
A + third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/border-bottom-width.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/border-left-style.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -3 lines 0 comments Download
A + third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/border-left-width.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/border-right-style.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -5 lines 0 comments Download
A + third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/border-right-width.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/border-top-style.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -3 lines 0 comments Download
A + third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/border-top-width.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/bottom.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -58 lines 0 comments Download
M third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/config-templates.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +86 lines, -2 lines 0 comments Download
A third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/height.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +17 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/left.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/property-suite.js View 1 2 3 4 5 6 2 chunks +5 lines, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/right.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -5 lines 0 comments Download
A + third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/top.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -5 lines 0 comments Download
A third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/width.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +17 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/typedcssom/inlinestyle/width-height.html View 1 2 3 4 1 chunk +0 lines, -96 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.json5 View 1 2 3 4 5 6 5 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (20 generated)
meade_UTC10
This is a follow-up CL to https://codereview.chromium.org/2371673002, where I add tests for the rest of ...
3 years, 11 months ago (2017-01-05 06:47:46 UTC) #5
sashab
Not sure if I like the idea of a 'common configs' file, that sounds like ...
3 years, 11 months ago (2017-01-05 22:09:31 UTC) #6
meade_UTC10
On 2017/01/05 22:09:31, sashab wrote: > Not sure if I like the idea of a ...
3 years, 11 months ago (2017-01-16 04:26:15 UTC) #7
meade_UTC10
https://codereview.chromium.org/2583063002/diff/80001/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/common-configs.js File third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/common-configs.js (right): https://codereview.chromium.org/2583063002/diff/80001/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/common-configs.js#newcode2 third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/common-configs.js:2: * @fileoverview Generates config objects that are common between ...
3 years, 11 months ago (2017-01-16 04:30:47 UTC) #10
sashab
Looks much better, thanks :) Just one small thing - what is Object.assign? Does that ...
3 years, 11 months ago (2017-01-16 04:48:03 UTC) #11
meade_UTC10
On 2017/01/16 04:48:03, sashab wrote: > Looks much better, thanks :) > > Just one ...
3 years, 9 months ago (2017-03-08 04:03:25 UTC) #14
meade_UTC10
FYI for Naina
3 years, 9 months ago (2017-03-08 04:12:48 UTC) #16
nainar
lgtm
3 years, 9 months ago (2017-03-08 07:49:40 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2583063002/220001
3 years, 9 months ago (2017-03-09 05:32:55 UTC) #27
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 07:21:15 UTC) #30
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/4d77a388ceb8b2742c2ee4f0d2c8...

Powered by Google App Engine
This is Rietveld 408576698