Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow negative length for SMIL #17304

Merged
merged 3 commits into from Jun 14, 2017

Conversation

hiikezoe
Copy link
Contributor

@hiikezoe hiikezoe commented Jun 14, 2017

https://bugzilla.mozilla.org/show_bug.cgi?id=1369588

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes do not require tests because it's for stylo

This change is Reviewable

Hiroyuki Ikezoe added 3 commits June 14, 2017 09:51
…all numeric values.

Even if the type is NonNegative and the given value is a negative.
And it returns true if ParsingMode.allows_all_numeric_values is true regardless
of AllowedNumericType itself.
@highfive
Copy link

Heads up! This PR modifies the following files:

  • @bholley: components/style/values/specified/mod.rs, components/style/values/specified/length.rs, components/style/properties/properties.mako.rs, components/style/parser.rs, components/style/stylesheets/keyframes_rule.rs and 3 more
  • @KiChjang: components/script/dom/window.rs, components/script/dom/htmllinkelement.rs, components/script/dom/cssmediarule.rs, components/script/dom/cssstyledeclaration.rs, components/script/dom/htmlstyleelement.rs and 3 more
  • @fitzgen: components/script/dom/window.rs, components/script/dom/htmllinkelement.rs, components/script/dom/cssmediarule.rs, components/script/dom/cssstyledeclaration.rs, components/script/dom/htmlstyleelement.rs and 3 more
  • @emilio: ports/geckolib/glue.rs, components/style/values/specified/mod.rs, components/style/values/specified/length.rs, components/style/properties/properties.mako.rs, components/style/parser.rs and 4 more

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jun 14, 2017
@hiikezoe
Copy link
Contributor Author

@bors-servo r=emilio

@bors-servo
Copy link
Contributor

📌 Commit 6c59150 has been approved by emilio

@highfive highfive assigned emilio and unassigned asajeffrey Jun 14, 2017
@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 Jun 14, 2017
@bors-servo
Copy link
Contributor

⌛ Testing commit 6c59150 with merge d28324d...

bors-servo pushed a commit that referenced this pull request Jun 14, 2017
Allow negative length for SMIL

<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1369588
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because it's for stylo

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17304)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev
Approved by: emilio
Pushing d28324d to master...

@bors-servo bors-servo merged commit 6c59150 into servo:master Jun 14, 2017
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jun 14, 2017
@hiikezoe hiikezoe deleted the allow-negative-length-for-SMIL branch June 14, 2017 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants