Skip to content

style: Move animation-iteration-count outside of mako. - #19004

Closed
emilio wants to merge 3 commits into
servo:masterfrom
emilio:die-mako-die
Closed

emilio wants to merge 3 commits into
servo:masterfrom
emilio:die-mako-die

Conversation

@emilio

@emilio emilio commented Oct 24, 2017 •

Copy link
Copy Markdown
Member

Incidentally this fixes a bug where <number> wasn't being properly handled (we didn't parse calc()).


This change is Reviewable

@emilio

emilio commented Oct 24, 2017

Copy link
Copy Markdown
Member Author

r? @jdm

@highfive highfive assigned metajack and jdm and unassigned metajack Oct 24, 2017
@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @bholley: components/style/values/specified/box.rs, components/style/properties/gecko.mako.rs, components/style/values/computed/box.rs, components/style/values/generics/box.rs, components/style/values/specified/mod.rs and 3 more
  • @canaltinova: components/style/values/specified/box.rs, components/style/properties/gecko.mako.rs, components/style/values/computed/box.rs, components/style/values/generics/box.rs, components/style/values/specified/mod.rs and 3 more

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 24, 2017
@jdm

jdm commented Oct 24, 2017

Copy link
Copy Markdown
Member

@bors-servo: r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit c83de48 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. S-awaiting-review There is new code that needs to be reviewed. and removed S-awaiting-review There is new code that needs to be reviewed. S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Oct 24, 2017
@emilio

emilio commented Oct 24, 2017

Copy link
Copy Markdown
Member Author

@bors-servo r=jdm

  • Fixed spec link, which was wrong.

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit ff4e792 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Oct 24, 2017
@jdm

jdm commented Oct 24, 2017

Copy link
Copy Markdown
Member

@bors-servo: r-

error[E0599]: no function or associated item named `parse` found for type `style::values::generics::box_::AnimationIterationCount<f32>` in the current scope

--> /home/travis/build/servo/servo/tests/unit/style/parsing/animation.rs:29:36

|

29 | assert_roundtrip_with_context!(AnimationIterationCount::parse, "0", "0");

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0599]: no function or associated item named `parse` found for type `style::values::generics::box_::AnimationIterationCount<f32>` in the current scope

--> /home/travis/build/servo/servo/tests/unit/style/parsing/animation.rs:29:36

|

29 | assert_roundtrip_with_context!(AnimationIterationCount::parse, "0", "0");

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0599]: no function or associated item named `parse` found for type `style::values::generics::box_::AnimationIterationCount<f32>` in the current scope

--> /home/travis/build/servo/servo/tests/unit/style/parsing/animation.rs:30:36

|

30 | assert_roundtrip_with_context!(AnimationIterationCount::parse, "0.1", "0.1");

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0599]: no function or associated item named `parse` found for type `style::values::generics::box_::AnimationIterationCount<f32>` in the current scope

--> /home/travis/build/servo/servo/tests/unit/style/parsing/animation.rs:30:36

|

30 | assert_roundtrip_with_context!(AnimationIterationCount::parse, "0.1", "0.1");

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0599]: no function or associated item named `parse` found for type `style::values::generics::box_::AnimationIterationCount<f32>` in the current scope

--> /home/travis/build/servo/servo/tests/unit/style/parsing/animation.rs:31:36

|

31 | assert_roundtrip_with_context!(AnimationIterationCount::parse, "infinite", "infinite");

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0599]: no function or associated item named `parse` found for type `style::values::generics::box_::AnimationIterationCount<f32>` in the current scope

--> /home/travis/build/servo/servo/tests/unit/style/parsing/animation.rs:31:36

|

31 | assert_roundtrip_with_context!(AnimationIterationCount::parse, "infinite", "infinite");

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0599]: no function or associated item named `parse` found for type `style::values::generics::box_::AnimationIterationCount<f32>` in the current scope

--> /home/travis/build/servo/servo/tests/unit/style/parsing/animation.rs:34:19

|

34 | assert!(parse(AnimationIterationCount::parse, "-1").is_err());

| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@jdm jdm added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Oct 24, 2017
@emilio

emilio commented Oct 24, 2017

Copy link
Copy Markdown
Member Author

Superseded by #19005

@emilio emilio closed this Oct 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-needs-code-changes Changes have not yet been made that were requested by a reviewer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants