Closed Bug 1195884 Opened 10 years ago Closed 10 years ago

'will-change: will-change' should be rejected

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: BenWa, Unassigned)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

As mentioned on www-style, we should be rejecting 'will-change: will-change': http://www.w3.org/TR/css-will-change-1/#will-change
Bug 1195884 - Reject CSS 'will-change: will-change' for spec compliance. r=dbaron
Attachment #8649415 - Flags: review?(dholbert)
Comment on attachment 8649415 [details] MozReview Request: Bug 1195884 - Reject CSS 'will-change: will-change' for spec compliance. r=dholbert https://reviewboard.mozilla.org/r/16399/#review14721 ::: layout/style/test/property_database.js:6387 (Diff revision 1) > - invalid_values: [ "none", "all", "default", "auto, scroll-position", "scroll-position, auto", "transform scroll-position", ",", "trailing," ] > + invalid_values: [ "none", "all", "default", "auto, scroll-position", "scroll-position, auto", "transform scroll-position", ",", "trailing,", 'will-change', 'transform, will-change' ] Please use double-quotes around your new strings here, for consistency with the rest of this line.
Attachment #8649415 - Flags: review?(dholbert)
Also, the commit message needs s/dbaron/dholbert/. r=me with that & comment 2 fixed. (not familiar enough with reviewboard yet to know how to express "tweak this in the commit message", and "r=me with the following fixed")
Comment on attachment 8649415 [details] MozReview Request: Bug 1195884 - Reject CSS 'will-change: will-change' for spec compliance. r=dholbert Bug 1195884 - Reject CSS 'will-change: will-change' for spec compliance. r=dholbert
Attachment #8649415 - Attachment description: MozReview Request: Bug 1195884 - Reject CSS 'will-change: will-change' for spec compliance. r=dbaron → MozReview Request: Bug 1195884 - Reject CSS 'will-change: will-change' for spec compliance. r=dholbert
Comment on attachment 8649415 [details] MozReview Request: Bug 1195884 - Reject CSS 'will-change: will-change' for spec compliance. r=dholbert https://reviewboard.mozilla.org/r/16399/#review14727 Ship It!
Attachment #8649415 - Flags: review+
url: https://hg.mozilla.org/integration/mozilla-inbound/rev/27840230efdf59d23b3c2b4cb950857d0e9b0952 changeset: 27840230efdf59d23b3c2b4cb950857d0e9b0952 user: Benoit Girard <b56girard@gmail.com> date: Tue Aug 18 16:07:01 2015 -0400 description: Bug 1195884 - Reject CSS 'will-change: will-change' for spec compliance. r=dholbert
I added a note about that at https://developer.mozilla.org/en-US/docs/Web/CSS/will-change. It needs to be adjusted once this is shipped. Sebastian
Keywords: dev-doc-needed
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Thanks for the fix! I can confirm that you can't set 'will-change' as value anymore. I updated the footnote at https://developer.mozilla.org/en-US/docs/Web/CSS/will-change accordingly. Sebastian
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: