Skip to content

Issue19183 - #19448

Closed
olmanz wants to merge 3 commits into
servo:masterfrom
olmanz:issue19183
Closed

olmanz wants to merge 3 commits into
servo:masterfrom
olmanz:issue19183

Conversation

@olmanz

@olmanz olmanz commented Dec 1, 2017 •

Copy link
Copy Markdown
Contributor

  • There are tests for these changes OR
  • These changes do not require tests because _____

This change is Reviewable

@highfive

highfive commented Dec 1, 2017

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @bholley: components/style/values/computed/box.rs, components/style/values/specified/box.rs, components/style/values/specified/mod.rs, components/style/properties/gecko.mako.rs, components/style/values/computed/mod.rs and 2 more
  • @canaltinova: components/style/values/computed/box.rs, components/style/values/specified/box.rs, components/style/values/specified/mod.rs, components/style/properties/gecko.mako.rs, components/style/values/computed/mod.rs and 2 more
  • @emilio: components/layout/display_list_builder.rs, components/layout/fragment.rs, components/style/values/computed/box.rs, components/style/values/specified/box.rs, components/style/values/specified/mod.rs and 7 more
  • @fitzgen: components/script/dom/element.rs
  • @KiChjang: components/script/dom/element.rs
  • @asajeffrey: components/script/dom/element.rs

@highfive

highfive commented Dec 1, 2017

Copy link
Copy Markdown

warning Warning warning

  • These commits modify style, layout, and script code, but no tests are modified. Please consider adding a test!

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Dec 1, 2017
@emilio

emilio commented Dec 1, 2017

Copy link
Copy Markdown
Member

There's no way this passes ./mach build-geckolib, right?

@emilio

emilio commented Dec 2, 2017

Copy link
Copy Markdown
Member

To elaborate on my previous comment (sorry, didn't want to be mean, was just on a rush).

We compile the style system in two different modes, a mode for Servo and a mode for Firefox. One is built normally, with ./mach build -d, and the other is built as a static library with ./mach cargo-geckolib build.

The key here is that there is a bunch of custom functionality for the overflow longhands for Firefox (like the custom_consts, gecko_constant_prefix, etc. That was my "this is extra-tricky" comment from the issue.

So fixing this implies figuring out a good way of adding the functionality equivalent to those attributes, but without duplicating much code. As of right now, the code likely fails to build in Gecko mode (which is what I mentioned above).

I'm happy to help you fix this and discuss different ways to approach it, if you want, this is a tough nut to crack! :P

@olmanz

olmanz commented Dec 2, 2017 •

Copy link
Copy Markdown
Contributor Author

@emilio

To elaborate on my previous comment (sorry, didn't want to be mean, was just on a rush).

No problem, I understand that. I'm often on a rush myself. ;-)

We compile the style system in two different modes, a mode for Servo and a mode for Firefox. One is built normally, with ./mach build -d, and the other is built as a static library with ./mach cargo-geckolib build.

The key here is that there is a bunch of custom functionality for the overflow longhands for Firefox (like the custom_consts, gecko_constant_prefix, etc. That was my "this is extra-tricky" comment from the issue.

So fixing this implies figuring out a good way of adding the functionality equivalent to those attributes, but without duplicating much code. As of right now, the code likely fails to build in Gecko mode (which is what I mentioned above).

I'm happy to help you fix this and discuss different ways to approach it, if you want, this is a tough nut to crack! :P

As I'm still a Rust newbie, I do appreciate every help and would be glad about any suggestions of how to solve this problem. :-)

@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #19497) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added the S-needs-rebase There are merge conflict errors. label Dec 5, 2017
@jdm

jdm commented Jan 22, 2018

Copy link
Copy Markdown
Member

@olmanz Are you still working on this?

@olmanz

olmanz commented Jan 22, 2018

Copy link
Copy Markdown
Contributor Author

Hello @jdm,
sorry, but I couldn't do anything for the last couple of weeks because exams at my university are coming closer and closer and this is stressing me at the moment.
Exams will be over around mid-February, from that on I can surely continue to work on this issue. If this is too late for you, I don't have anything against someone else taking on this issue.

@jdm

jdm commented Jan 26, 2018

Copy link
Copy Markdown
Member

In that case, I'm going to close this PR. If you find time to continue working on it, feel free to reopen it!

@jdm jdm closed this Jan 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed. S-needs-rebase There are merge conflict errors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move overflow-y outside of Mako

6 participants